Skip to content
Snippets Groups Projects
  1. May 17, 2023
  2. May 16, 2023
  3. May 11, 2023
  4. Apr 18, 2023
  5. Mar 27, 2023
  6. Feb 20, 2023
  7. Jan 25, 2023
  8. Dec 06, 2022
  9. Jul 25, 2022
  10. Jan 04, 2022
  11. 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
  12. 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
  13. Apr 03, 2019
  14. 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.
  15. 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
  16. Sep 21, 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 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
  20. 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
  21. Jul 13, 2018
  22. Apr 06, 2018
  23. Apr 05, 2018
  24. Mar 30, 2018
    • Lionel GUEZ's avatar
      When we do not find an outermost contour or a max-speed contour, · 94515cc5
      Lionel GUEZ authored
      instead of defining the component ssh to the ssh of the extremum or to
      the ssh of the outermost contour, use a missing value flag
      (1e4). Also, when radius4 >= 2 and the max speed contour is the
      outermost contour, use missing value flag in the ssh component of max
      speed contour instead of ssh on outermost contour. This makes clearer
      output.
      
      Add function null_ssh_contour.
      
      In procedure get_1_outerm, simplify the comparison of level_try and
      level_good. So we do not need any longer the dummy argument
      ssh_extremum.
      94515cc5
  25. Mar 22, 2018
  26. Mar 20, 2018
  27. Jan 29, 2018
  28. Jan 24, 2018
    • Lionel GUEZ's avatar
      Allow missing values (for continents). · e8e729b1
      Lionel GUEZ authored
      For ssh, missing value is huge(0.). We have to take a large value
      because Contour_531 has an argument zmax for missing values. For
      velocity, missing value is a quiet NaN. We have to take this because
      we need to know if the interpolation procedure in mean_speed has not
      used any missing value and we do not want to alter the interpolation
      procedure itself.
      
      In local_extrema, we accept as local extrema only points with 8 valid
      values around them.
      
      When we look for the maximum speed contour, we are hoping that good
      contours do not englobe missing values. If this happens, the program
      aborts.
      
      When computing the mean speed on a contour, we are hoping that the
      interpolation of speed on contour points does not use missing
      values. If this happens, the program aborts.
      
      Draw coastlines in plot_snaphot.py. At the same time, this allows the
      use of any projection.
      e8e729b1
Loading