Skip to content
Snippets Groups Projects
  1. Jan 07, 2019
  2. Dec 21, 2018
  3. Dec 04, 2018
    • Lionel GUEZ's avatar
      For clarity, in procedure set_max_speed, do not modify speed_outerm · a6ab40be
      Lionel GUEZ authored
      after its initial computation and show more directly the consequence
      of a NaN value. The drawback is the repetition of one line of code. As
      for performance, one less test is performed in the case of a NaN
      value.
      
      In script stat.py, add stats for cases when speed is missing.
      a6ab40be
  4. Nov 12, 2018
    • Lionel GUEZ's avatar
      Split tests.json into short_tests.json and long_tests.json. With ifort · 4ecabd4d
      Lionel GUEZ authored
      and debugging options, short tests each take less than 10 s, while
      long tests each take about one mn.
      
      Bug fix in plot_snapshot.py. Slicing a multiple-dimension array with a
      scalar logical does not produce an array with the same shape.
      
      Removed computations of number of points per contour from program
      test_get_snapshot. Created instead a post-processing script, stat.py,
      computing these numbers of points and other stats.
      4ecabd4d
  5. Nov 06, 2018
  6. Oct 29, 2018
  7. Oct 22, 2018
  8. Oct 15, 2018
  9. Oct 10, 2018
  10. Oct 08, 2018
    • Lionel GUEZ's avatar
      Promote internal procedure get_var of procedure get_snapshot to module · bb70e28e
      Lionel GUEZ authored
      procedure so it can be used by program test_set_all_outerm.
      
      Move dummy argument corner of set_all_outerm to last position.
      
      Bug fix in procedure get_snapshot: urc(2) must always be lower than
      nlat, even if periodic is true. Fix the same bug in procedure
      set_all_outerm: llc(2) >= 1 and urc(2) <= nlat even if periodic is true.
      
      Bug fix in procedure set_all_outerm: the lower bound of dummy argument
      ssh is not always 1.
      
      Make script examine_ssh_values.py work for a periodic domain.
      
      Make program test_set_all_outerm work for a periodic
      domain. max_radius is now chosen at run-time (we must change it for
      a very coarse grid). Add a corresponding test.
      
      In written shapefiles, replace field "area" by field "r_eq_area",
      that is radius of disk of equal area. This is a smaller number so it
      needs fewer characters, especially for a global coarse grid.
      bb70e28e
  11. Oct 01, 2018
  12. Sep 28, 2018
  13. Sep 25, 2018
    • Lionel GUEZ's avatar
      The component extr_map of type snapshot is now defined with duplicated · 2bef32e4
      Lionel GUEZ authored
      values at longitude boundaries, in case of periodicity.
      
      Add argument "periodic" to procedures get_snapshot and
      set_all_outerm. Duplicate values at longitude boundaries in ssh, u, v
      if periodic. set_all_outerm can now call local_extrema with periodic
      true. In procedure set_all_outerm, we shift the longitudes of outside
      points if necessary.
      
      In program test_get_snapshot, define periodic from step and nlon.
      2bef32e4
  14. Sep 21, 2018
  15. Sep 13, 2018
  16. Sep 04, 2018
  17. Sep 03, 2018
    • Lionel GUEZ's avatar
      Write area in dbf files in km2 rather than m2. This allows easier · c2245c51
      Lionel GUEZ authored
      reading and spares some disk space: we can reduce the size of the
      field from 20 to 14 characters. We do not loose precision with this
      reduction because the order of magnitude of the area is 1e3 km2 or
      more so the decimal part of the field was 0. Accordingly, change the
      are for a null contour from - 1 to - 1e6 m2.
      
      Bug fix in program test_set_max_speed. No need for width 20 for field "speed".
      c2245c51
  18. Aug 31, 2018
  19. Aug 06, 2018
  20. Aug 03, 2018
    • Lionel GUEZ's avatar
      Performance improvement: start looking for outermost contour at · acc96ac1
      Lionel GUEZ authored
      amplitude min_amp if the difference between innermost level from
      local_extrema and ssh extremum is smaller. This is not only a
      performance improvement but also an improvement of results: the
      algorithm sometimes finds a contour at just min_amp when before it did
      not find any: the bisection algorithm converged just below
      min_amp. Also, as a result, if an outermost contour is found, it is
      now necessarily of sufficient amplitude.
      acc96ac1
  21. Aug 01, 2018
  22. Jul 30, 2018
  23. Jul 27, 2018
  24. Jul 23, 2018
  25. Jul 19, 2018
  26. Jul 17, 2018
  27. Jul 13, 2018
    • Lionel GUEZ's avatar
      Move the computation of nearby_extr out of procedure set_max_speed to · 1d80ce50
      Lionel GUEZ authored
      procedure get_snapshot. The idea is that, in this branch, nearby_extr
      will eventually include extrema depending not only on them having
      sufficient amplitude but also on their cyclonicity. Both pieces of
      information cannot be simply encoded in extr_map. The downside is that
      we compute needlessly nearby_extr if e%radius4 == 1 in set_max_speed.
      1d80ce50
Loading