Skip to content
Snippets Groups Projects
  1. Sep 18, 2024
  2. Sep 12, 2024
    • GUEZ Lionel's avatar
      Use `uniform_lon_lat` from modules · 8243946a
      GUEZ Lionel authored
      Use `uniform_lon_lat` from modules `input_ssh_m` or `read_grid_m` to
      compute actual argument of `shpc_create`.
      8243946a
    • GUEZ Lionel's avatar
      Read periodic in a namelist · 086d52f5
      GUEZ Lionel authored
      Preparing to read a second input variable from stdin in procedure
      `input_ssh`.
      086d52f5
    • 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
  3. Sep 09, 2024
  4. Jul 06, 2024
  5. 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
  6. Jun 12, 2024
  7. Apr 26, 2024
  8. Feb 20, 2024
  9. Sep 05, 2023
  10. 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
Loading