Skip to content
Snippets Groups Projects
  1. Sep 18, 2024
  2. Sep 12, 2024
    • 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
      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. Apr 26, 2024
  4. Jun 23, 2023
    • 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
  5. May 11, 2023
  6. Apr 17, 2023
  7. Apr 13, 2023
  8. Apr 12, 2023
    • Lionel GUEZ's avatar
      Introduce more input directories · dafee926
      Lionel GUEZ authored
      Introduce two variables `Aviso_DT_dir` and `Eurec4A_NRT_dir` to
      replace the single variable `large_input_dir`. This should remove the
      need to create symbolic links to the files in these directories.
      dafee926
  9. Apr 06, 2023
  10. Mar 23, 2023
  11. Feb 20, 2023
  12. Feb 06, 2023
    • Lionel GUEZ's avatar
      Exclude `n_slices.txt` from comparison · 7bf3959b
      Lionel GUEZ authored
      Because `$tests_old_dir/Extraction_eddies_region_5/SHPC` is opened
      with `SHPC_class` in test `Plot_eddy_contours_window`, which will
      create `n_slices.txt`, so there will always be this file only in
      `$tests_old_dir/Extraction_eddies_region_5/SHPC`.
      7bf3959b
    • Lionel GUEZ's avatar
      Add test `Region_5_15_days` · da706403
      Lionel GUEZ authored
      We import in the test infrastructure the experiment `Inst_eddies_4`
      because we want to no longer keep invalid contours, so we will need to
      update the experiment.
      da706403
  13. Jul 28, 2022
    • Lionel GUEZ's avatar
      Change structure to "Slice_{slice}/{orientation}" · bd07c458
      Lionel GUEZ authored
      Changing my mind. In an SHPC, store shapefiles in
      "Slice_{slice}/{orientation}" instead of
      "{orientation}/Slice_{slice}". Two reasons: easier to store accessory
      files from running `inst_eddies`, such as `perf_report` and output
      from Torque submission script; clearer that a slice should contain the
      same dates for both orientations.
      bd07c458
  14. Jul 27, 2022
  15. Apr 29, 2022
  16. Apr 06, 2022
  17. Jan 20, 2022
  18. Jan 05, 2022
  19. Dec 06, 2021
  20. Nov 12, 2021
  21. Jul 23, 2021
    • Lionel GUEZ's avatar
      Bug fix: remove useless key · 3ac1a0c3
      Lionel GUEZ authored
      In commit d5e89eb9, the test was added with the useless key
      "input". Now, after commit 29c37646, the useless key is the key "required".
      3ac1a0c3
    • Lionel GUEZ's avatar
      Do not redirect stdin in subprocess · 29c37646
      Lionel GUEZ authored
      Now that `inst_eddies` reads `main_nml` only on the first date, we do
      not need to create a file `main_nml.txt` before running
      `inst_eddies.py`. `inst_eddies.py` can just read `main_nml` from
      standard input.
      29c37646
Loading