Skip to content
Snippets Groups Projects
  1. May 22, 2023
  2. May 17, 2023
  3. May 11, 2023
  4. Apr 26, 2023
  5. Apr 18, 2023
  6. Apr 17, 2023
  7. Apr 13, 2023
  8. Jan 25, 2023
  9. Dec 06, 2022
  10. Nov 21, 2022
  11. Jul 25, 2022
  12. Nov 22, 2021
  13. Oct 18, 2021
  14. Oct 16, 2021
  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. Sep 18, 2019
    • Lionel GUEZ's avatar
      Add options for the NAG compiler · c2f43bbe
      Lionel GUEZ authored
      Add options for the NAG compiler.
      
      Replace `target_include_directories` by `include_directories` in
      `Tests/CMakeLists.txt`. The file was becoming too long.
      
      Remove unused items in use statements.
      
      Bug fix in `Tests/Input/successive_overlap_region_5_nml.txt`: remove a comma.
      c2f43bbe
  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. Jan 07, 2019
  20. 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
  21. 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
  22. Oct 15, 2018
  23. 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
  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
    • 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
    • Lionel GUEZ's avatar
      Preparing to move the computation of nearby_extr out of procedure · 5c025222
      Lionel GUEZ authored
      set_max_speed. Abandon the computation with pack_indices, this was
      supposed to give the same result than the computation with argwhere
      but be faster if not any(extr_map) < 0. I was not sure of that. I
      abandon that because I want to eventually remove the coding of
      sufficient amplitude in extr_map.
      5c025222
    • Lionel GUEZ's avatar
      Polish. · 37524353
      Lionel GUEZ authored
      37524353
  26. Apr 06, 2018
  27. 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
  28. Mar 29, 2018
Loading