Skip to content
Snippets Groups Projects
  1. Sep 12, 2024
    • GUEZ Lionel's avatar
      Read `periodic` in program `inst_eddies` · 12c21b42
      GUEZ Lionel authored
      Instead of deducing it from the longitude coordinate. The deduction
      could not be generalized to a non-uniform longitude-latitude
      grid. Also, the test on `step(1)` and nlon was not perfectly robust.
      12c21b42
    • GUEZ Lionel's avatar
      Write `grid_nml.txt` to current directory · 8eadc458
      GUEZ Lionel authored
      We are trying to simplify the logic in program `inst_eddies`. Also,
      the program `inst_eddies` should not write `grid_nml.txt` to the top
      level of the SHPC directory since several instances could run in
      parallel for several slices. So we are leaving it as a task for a
      script above `inst_eddies` to create `grid_nml.txt` at the top level
      of the SHPC directory. In tests, we have to move `grid_nml.txt` to
      SHPC because we use `SHPC/grid_nml.txt` in other tests.
    • GUEZ Lionel's avatar
      Read `config_nml` from stdin in subroutine config · 1100bbaf
      GUEZ Lionel authored
      We are reverting commit d4d05bc2. It was not true that we needed two
      input fluxes in the Fortran program. `inst_eddies.py` can read the
      file `config_nml.txt` and merge its content to stdin for the Fortran
      program.
      1100bbaf
    • GUEZ Lionel's avatar
      Add argument SHPC-dir to script `inst_eddies_Aviso.py` · cf970d4d
      GUEZ Lionel authored
      Add argument SHPC-dir to script `inst_eddies_Aviso.py`. We want to be
      able to run `inst_eddies_Aviso` in parallel for several slices. Since
      we write `used_config_nml.txt` to the current directory, we need to
      run the parallel instances from different directories. So the current
      directory cannot always be the directory containing the SHPC to be
      appended to.
      cf970d4d
    • GUEZ Lionel's avatar
      Add argument `SHPC_dir` to `loop_inst_eddies` · c0189703
      GUEZ Lionel authored
      Add argument `SHPC_dir` to function `loop_inst_eddies`. We want to be
      able to run `loop_inst_eddies` in parallel for several slices. Since
      we write `used_config_nml.txt` to the current directory, we need to
      run the parallel instances from different directories. So the current
      directory cannot always be the directory containing the SHPC to be
      appended to.
      c0189703
    • GUEZ Lionel's avatar
      Polish · c4117235
      GUEZ Lionel authored
      c4117235
    • GUEZ Lionel's avatar
      Add argument SHPC-dir to program `inst_eddies` · 0cfe5b01
      GUEZ Lionel authored
      We want to be able to run `inst_eddies` from a directory other than
      the directory containing the SHPC to be appended to. Preparing to
      write `grid_nml.txt` and `used_config_nml.txt` in the current
      directory. To be able to do this in parallel for several slices, we
      need to be running in different directories.
      0cfe5b01
  2. Sep 09, 2024
  3. Jul 06, 2024
  4. Jul 05, 2024
    • GUEZ Lionel's avatar
      Add test `Speed_proj` · 7fc5d495
      GUEZ Lionel authored
      7fc5d495
    • GUEZ Lionel's avatar
      Read `cont_list_proj` instead of computing it · 8d820076
      GUEZ Lionel authored
      In program `test_set_max_speed`, read `cont_list_proj` instead of
      computing it. Computing it is not possible with a non
      longitude-latitude grid.
      8d820076
    • GUEZ Lionel's avatar
      Polish · e56838f8
      GUEZ Lionel authored
      e56838f8
    • GUEZ Lionel's avatar
      Read the same NetCDF files · 10dc9cc4
      GUEZ Lionel authored
      Read the same NetCDF files than those used to create `cont_list`. It
      does not change anything since the window is going to be created
      inside `test_set_max_speed`, so it is an unnecessary complication to
      have input NetCDF files on a restricted domain. Furthermore, if we
      want to use `test_set_max_speed` on a non longitude-latitude grid,
      then it would be a problem to convert x, y corresponding to the grid
      of `cont_list` to x, y corresponding to a restricted grid.
      10dc9cc4
    • Lionel GUEZ's avatar
      Add test `Proj_coord` · b4355bef
      Lionel GUEZ authored and GUEZ Lionel's avatar GUEZ Lionel committed
      b4355bef
  5. Jun 12, 2024
  6. Apr 26, 2024
  7. Feb 20, 2024
  8. Sep 05, 2023
  9. Jun 23, 2023
    • Lionel GUEZ's avatar
      Add test `Exam_eddy_outer` · 28209796
      Lionel GUEZ authored
      28209796
    • Lionel GUEZ's avatar
      Exclude `n_slices.txt` from comparison · 4a49ec4d
      Lionel GUEZ authored
      Because it can be created by analysis scripts.
      4a49ec4d
    • Lionel GUEZ's avatar
      Symlink `config_nml.txt` instead of creating it · 2337735d
      Lionel GUEZ authored
      It must be the same than the one used for other input files of the test.
      2337735d
    • Lionel GUEZ's avatar
      Remove `outside_points_get_1_outerm.csv` · 7074b189
      Lionel GUEZ authored
      Remove input file `outside_points_get_1_outerm.csv`. Use result from
      test `Region_1_20454_cyclone_3` instead. There is one less point in
      the file `outside_points.csv` from the test `Region_1_20454_cyclone_3`
      but this does not change the results of the two impacted tests:
      `Get_1_outerm` and `Extr_proj`.
      7074b189
    • Lionel GUEZ's avatar
      Remove test `Get_1_outerm_noise_2` · d669c146
      Lionel GUEZ authored
      The only difference in the test specification of
      `Get_1_outerm_noise_2` with test `Get_1_outerm` is the input file
      `outside_points.csv`. This difference in specification leads to no
      difference in results of the two tests. The input file
      `outside_points.csv` for `Get_1_outerm` is problematic because it has
      an extra point at (9.375, -35.857) which corresponds to a cyclone for
      an old version of SSH data. So we are going to change the input file
      of `Get_1_outerm` to take
      `$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv`, the same
      one than for `Get_1_outerm_noise_2`, so there is really no use for
      `Get_1_outerm_noise_2`.
      d669c146
    • Lionel GUEZ's avatar
      Polish · a7e1cac1
      Lionel GUEZ authored
      a7e1cac1
    • Lionel GUEZ's avatar
      Remove `outside_points_get_1_outerm_noise_2.csv` · 009ff91c
      Lionel GUEZ authored
      Remove input file `outside_points_get_1_outerm_noise_2.csv`. Use
      result from test instead.
      009ff91c
    • Lionel GUEZ's avatar
      Add test `Region_1_20454_cyclone_3` · dec96bab
      Lionel GUEZ authored
      Motivation: provide file `outside_points.csv` instead of keeping it in
      `Inst_eddies/Tests/Input/Region_1`.
      dec96bab
    • Lionel GUEZ's avatar
      Update input for region 2 · b966463c
      Lionel GUEZ authored
      To new version provided by Aviso.
      b966463c
    • Lionel GUEZ's avatar
      Remove test `Extraction_eddies_region_1` · 1c1bf29d
      Lionel GUEZ authored
      There is no significant difference with
      `Extraction_eddies_region_1_noise`: no impact of `min_amp` on this
      region. For an impact of `min_amp`, compare tests
      `Extraction_eddies_region_3` and `Extraction_eddies_region_3_min`.
      1c1bf29d
    • Lionel GUEZ's avatar
      Read path to `cont_list` on the command line · 393209fd
      Lionel GUEZ authored
      Read path to the pre-existing `cont_list` shapefile on the command line.
      393209fd
    • Lionel GUEZ's avatar
      Use template and dates as positional arguments · d408a231
      Lionel GUEZ authored
      We rewrite `inst_eddies_Aviso.py` so it is more convenient to use. The
      script is only useful for several input files. Otherwise we can
      directly use `inst_eddies.py`. So instead of optional arguments
      template and last date, we use positional arguments. Then there is no
      point in distinguishing dirname and basename. Also, it does not make
      sense any longer to read the date from the content of the first
      file. The script becomes more general: we do not assume that all input
      NetCDF files are in the same -directory and that the time coordinate
      is in days since 1950-1-1. The interface is also clearer.
      d408a231
    • Lionel GUEZ's avatar
      Add test `Examine_eddy` · c98ba595
      Lionel GUEZ authored
      c98ba595
Loading