Skip to content
Snippets Groups Projects
  1. Feb 20, 2023
  2. 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
  3. 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
  4. Jul 27, 2022
  5. Apr 29, 2022
  6. Apr 06, 2022
  7. Jan 20, 2022
  8. Jan 05, 2022
  9. Dec 06, 2021
  10. Nov 12, 2021
  11. 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
  12. Jul 20, 2021
  13. Jun 29, 2021
  14. Jun 25, 2021
  15. Jun 22, 2021
    • Lionel GUEZ's avatar
      Remove `Region_6_SHPC` · 7ed9c874
      Lionel GUEZ authored
      This SHPC was made with an old version of `inst_eddies`: it contained
      cyclones and anticyclones output together. We create a test `Region_6`
      instead.
      7ed9c874
  16. Jun 17, 2021
  17. Jun 04, 2021
  18. Jun 03, 2021
    • Lionel GUEZ's avatar
      Extract code to new module `config_m` · 6dc504df
      Lionel GUEZ authored
      Preparing for two collections of shapefiles. We create the
      procedure `write_nml` so we will be able to call it twice. But it
      needs to access the namelist. So the namelist must be at the module level.
      6dc504df
  19. Mar 02, 2021
  20. 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
  21. Feb 16, 2021
  22. Jan 07, 2021
  23. Apr 28, 2020
    • GUEZ Lionel's avatar
      Trim names of files and directories · 504bb737
      GUEZ Lionel authored
      Bug fixes in main program `eddy_graph`. Add default value for
      max_delta. Trim names of files and directories.
      
      Following upgrade of `test_compare.py`, remove `mkdir_run.sh` and
      write the mkdir command in the JSON tests files.
      504bb737
  24. Feb 18, 2020
    • Lionel GUEZ's avatar
      Replace `contents.csv` by `ishape_last.txt` · 67346265
      Lionel GUEZ authored
      Change of idea: instead of storing `date_index` and `ishape_last` in a
      file `contents.csv`, store only `ishape_last` in a file
      `ishape_last.txt`. The `date_index` column was useless and it
      complicated reading the file. The first value of `date_index` can be
      read from one of the three DBF files. Also, to roll with the flow, let
      the lower bound of `ishape_last` in main unit `test_overlap` be 1
      instead of k1.
      
      Change order of actual arguments of `dbf_read_attribute_03` following
      revision of `Shapelib_03`.
      67346265
  25. Oct 30, 2019
  26. Aug 20, 2019
    • Lionel GUEZ's avatar
      Create script `mkdir_run.sh` · 452c18cb
      Lionel GUEZ authored
      Create general script `mkdir_run.sh` to replace specific
      scripts `extraction_eddies.sh`, `test_read_snapshot.sh`,
      `test_read_eddy.sh` and to run `test_successive_overlap`.
      
      Replace `$input_dir` by `$src_dir/Tests/Input` in
      `*_tests.json`. Motivation: we also need `src_dir` to point to
      `mkdir_run.sh`.
      452c18cb
  27. 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
  28. May 13, 2019
    • Lionel GUEZ's avatar
      We want to always group the three shapefiles, that is actually nine · 6784855a
      Lionel GUEZ authored
      files, that make up a snapshot into a directory that contains only
      these files. We hope that this will ease the handling of
      snapshots. For now, this is useful in program
      test_successive_overlap. So, in program extraction_eddies, create the
      shapefiles in a directory called Snapshot. As we cannot create the
      directory from Fortran (in Fortran 2003, it becomes possible in
      Fortran 2008), we have to wrap the Fortran executable in a shell
      script "extraction_eddies.sh". In the same way, read from a directory
      Snapshot_old in programs test_read_eddy and test_read_snapshot and
      create scripts "test_read_eddy.sh" and "test_read_snapshot.sh".
      
      Reference the shell scripts "extraction_eddies.sh",
      "test_read_eddy.sh" and "test_read_snapshot.sh" in JSON test files.
      
      In program test_successive_overlap, finally read two snapshots, from
      directories Snapshot_1 and Snapshot_2. Pass to successive_overlap the
      date of the second snapshot. Use new variables corner_deg and step_deg
      to avoid converting to rad twice.
      
      Create directory Snapshot in Tests/Input/Region_4/2006_01_01.
      6784855a
  29. Feb 28, 2019
Loading