Skip to content
Snippets Groups Projects
  1. Jul 05, 2024
    • Lionel GUEZ's avatar
      Do not orient nor compute the area · 31147260
      Lionel GUEZ authored and GUEZ Lionel's avatar GUEZ Lionel committed
      Do not orient nor compute the area of `cont_list(n_cont)`. When the
      area is too small, then we have one more copy than before, of
      `cont_list(n_cont)` to `out_cont`, but, on the other hand, we have one
      less call to `ccw_orient` than before. So this change should not
      impact performance. Note that the orientation and area of
      `cont_list(n_cont)` were not used after `get_1_outerm`.
      
      Preparing to keep `cont_list` in projection coordinates.
      31147260
    • Lionel GUEZ's avatar
      Polish · b7ef4289
      Lionel GUEZ authored and GUEZ Lionel's avatar GUEZ Lionel committed
      b7ef4289
    • Lionel GUEZ's avatar
      Compute good contour in projection coordinates · 4399e353
      Lionel GUEZ authored and GUEZ Lionel's avatar GUEZ Lionel committed
      Procedure `good_contour` now takes input in projection coordinates and
      returns a contour in projection coordinates. The dummy argument step
      of `good_contour` is thus removed.
      4399e353
  2. Jun 12, 2024
  3. Jun 23, 2023
  4. May 22, 2023
  5. May 17, 2023
  6. May 16, 2023
  7. May 11, 2023
  8. Apr 18, 2023
  9. Mar 27, 2023
  10. Feb 20, 2023
  11. Jan 25, 2023
  12. Dec 06, 2022
  13. Jul 25, 2022
  14. Jan 04, 2022
  15. Feb 26, 2021
    • Lionel GUEZ's avatar
      Split arborescence into `Inst_eddies` and Overlap · 56150231
      Lionel GUEZ authored
      Also split the tests, Fortran source files, Python files and JSon
      files. Keep at the top level the files used in both `Inst_eddies` and
      Overlap.
      
      Motivations for the split:
      
      - The top directory contained many files.
      
      - It may be useful to compile only one of the two sub-projects. For
      example, only `Inst_eddies` on Ciclad, where MPI 3 is not available.
      56150231
  16. Aug 08, 2019
    • Lionel GUEZ's avatar
      Add script `eddy_dump.py`. · cc42c8a9
      Lionel GUEZ authored
      Take into account new policy in `filter.py`: the names of the three
      shapefiles are always the same and form a unit in a snaphot directory.
      
      Rename `compil_prod_dir`to `build_dir` in JSON test files. Add a test
      of `successive_overlap` with global grid, normal resolution.
      cc42c8a9
    • Lionel GUEZ's avatar
      Add script `eddy_dump.py`. · c7cd342d
      Lionel GUEZ authored
      Take into account new policy in `filter.py`: the names of the three
      shapefiles are always the same and form a unit in a snaphot directory.
      
      Rename `compil_prod_dir`to `build_dir` in JSON test files. Add a test
      of `successive_overlap` with global grid, normal resolution.
      c7cd342d
  17. Apr 03, 2019
  18. Feb 04, 2019
    • Lionel GUEZ's avatar
      Rename spherical_polyline_area to spher_polyline_area and · 4ad2bfc8
      Lionel GUEZ authored
      spherical_polygon_area to spher_polygon_area.
      
      In procedure max_speed_contour_ssh, instead of aborting when the speed
      is not defined, continue with missing_ssh. Found such a case in
      November 29th, 2015 data. Added corresponding test. In procedure
      set_max_speed, if max_speed_contour_ssh returns missing_ssh then we
      just take the outermost contour as max-speed contour.
  19. 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
  20. Sep 21, 2018
  21. 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
  22. Aug 31, 2018
  23. 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
  24. Jul 23, 2018
    • Lionel GUEZ's avatar
      Put small test input files under version control. Rename directory · 9c204185
      Lionel GUEZ authored
      Stdin to Input. Two input dir provided for in tests.json: $input_dir
      and $large_input_dir.
      
      Rename everywhere variable nearby_extr to outside_points to avoid
      confusion with function nearby_extr. Rename file "nearby_extr.csv" to
      "outside_points.csv".
      
      In procedure nearby_extr, include in the selection extrema with
      different sign, even if they do not have sufficient amplitude.
      
      Bug fix in read_eddy: use the value of read attribute to define
      e%interpolated.
      9c204185
  25. Jul 13, 2018
  26. Apr 06, 2018
Loading