Skip to content
Snippets Groups Projects
  1. Dec 06, 2021
  2. Nov 12, 2021
  3. 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
  4. Jul 20, 2021
  5. Jun 29, 2021
  6. Jun 25, 2021
  7. 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
  8. Jun 17, 2021
  9. Jun 04, 2021
  10. 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
  11. Mar 02, 2021
  12. 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
  13. Feb 16, 2021
  14. Jan 07, 2021
  15. 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
  16. 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
  17. Oct 30, 2019
  18. 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
  19. 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
  20. 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
  21. Feb 28, 2019
  22. Feb 25, 2019
  23. 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
Loading