Skip to content
Snippets Groups Projects
  1. Feb 20, 2023
  2. Feb 06, 2023
    • Lionel GUEZ's avatar
      Write to standard output instead of standard error · f5e0f59e
      Lionel GUEZ authored
      I do not remember why I chose to write to standard error. First it is
      clearer to write only error messages to standard error. Second the
      order of messages on standard error coming from the Fortran code and
      from the shapelib C library does not seem deterministic, and this is
      annoying to compare runs.
      f5e0f59e
    • Lionel GUEZ's avatar
      Change default value of eddy index · 75acb93e
      Lionel GUEZ authored
      Because the numbering changed when we decided not to write invalid eddies.
      75acb93e
    • 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
      Polish · 77c8d196
      Lionel GUEZ authored
      77c8d196
    • Lionel GUEZ's avatar
      Read index of target eddy · 86cb3751
      Lionel GUEZ authored
      86cb3751
    • 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. Jan 25, 2023
  4. Nov 22, 2022
  5. Nov 21, 2022
    • Lionel GUEZ's avatar
      Use relative path to Overlap · a22e517e
      Lionel GUEZ authored
      Use relative path to Overlap from `Inst_eddies/Tests`. For symmetry
      with what we do in `Overlap/Tests`. So now the directories Overlap and
      `Inst_eddies` can be added from the top-level `CMakeLists.txt` in
      either order.
      a22e517e
  6. Oct 21, 2022
  7. Oct 14, 2022
    • Lionel GUEZ's avatar
      Rename SEQUENTIAL to `CPP_SEQUENTIAL` · a67c5ef5
      Lionel GUEZ authored
      a67c5ef5
    • Lionel GUEZ's avatar
      Update `CMakeLists.txt` files · fbd8e271
      Lionel GUEZ authored
      Update `CMakeLists.txt` files to take into account commit 3289c070.
      fbd8e271
    • Lionel GUEZ's avatar
      Move files around · 3289c070
      Lionel GUEZ authored
      We are trying to define clearly the directories and what Fortran files
      they should contain:
      
      - `Inst_eddies`: May only contain program units which make up the
      program `inst_eddies`. If a program unit does not go into
      `inst_eddies`, it should not be here. Not all program units going into
      `inst_eddies` must be here: some could be in directory Common.
      
      - `Inst_eddies/Tests`: Main programs of unit tests for procedures in
      directory `Inst_eddies`. Plus procedures used only in these unit tests.
      
      - `Overlap`: May only contain program units which make up the program
      `eddy_graph`. If a program unit does not go into `eddy_graph`, it
      should not be here. Not all program units going into `eddy_graph` must
      be here: some could be in directory Common.
      
      - `Overlap/Tests`: Main programs of unit tests for procedures in
      directory `Overlap`. Plus procedures used only in these unit tests.
      
      - Common: Procedures that are used in both programs `inst_eddies` and
      `eddy_graph`.
      
      - Common/Tests: Main programs of unit tests for procedures in
      directory `Common`. Plus procedures used only in these unit
      tests. Plus procedures used in unit tests of both `Inst_eddies` and
      `Overlap` directories but not used in either program `inst_eddies` nor
      `eddy_graph`.
      3289c070
    • Lionel GUEZ's avatar
      Remove dummy arguments of `read_snapshot` · e4256945
      Lionel GUEZ authored
      Remove dummy arguments nlon, nlat, corner, step of procedure
      `read_snapshot`, use module variables instead. Note that we keep copy
      as a dummy argument instead of using the variable of module
      `config_graph_m`, because we want the procedure `read_snapshot` to be
      usable outside of the `eddy_graph` program.
      e4256945
    • Lionel GUEZ's avatar
      Add to lists of source files · 94ef3cf9
      Lionel GUEZ authored
      Add `config_graph.f90`and `read_grid.F90` to lists of source files.
      94ef3cf9
  8. Jul 28, 2022
    • Lionel GUEZ's avatar
      Move files to `Slice_0/Anticyclones` · 751be309
      Lionel GUEZ authored
      Move files from `Anticyclones/Slice_0` to `Slice_0/Anticyclones`.
      751be309
    • 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
  9. Jul 27, 2022
    • Lionel GUEZ's avatar
      Read `used_nml.txt` at the SHPC level · b59a334e
      Lionel GUEZ authored
      Read `used_nml.txt` at the SHPC level, only one file for both
      orientations. Remove dummy argument exist of procedure config. Demote
      `config_nml` to local scope. Remove procedure `write_nml`.
      b59a334e
    • Lionel GUEZ's avatar
      Remove procedure `write_aux` · c4410682
      Lionel GUEZ authored
      Remove procedure `write_aux`. Write to `ishape_last.txt` in procedure
      `write_snapshot` and write `grid_nml` in procedure `input_ssh`. In
      `input_ssh`, if `grid_nml.txt` already exists, check consistency with
      input NetCDF files. Downgrade dummy arguments `corner_deg` and
      `step_deg` of `input_ssh` to local variables. Read and write
      `grid_nml` at SHPC level, only one file for both orientations and all
      slices.
      c4410682
    • Lionel GUEZ's avatar
      Assume "{shpc_dir}/{orientation}/Slice_{slice}" · 789b6dbc
      Lionel GUEZ authored
      Assume that a slice is in a directory
      "{shpc_dir}/{orientation}/Slice_{slice}" where shpc_dir can be any
      name, orientation is "Anticyclones" or "Cyclones" and slice is an
      integer. Do not read or create any longer a file "orientation.txt" in
      the slice directory. Add procedure `get_slice_dir`. Add dummy
      arguments cyclone and slice to procedure `shpc_open`. Add dummy
      argument slice to procedure `shpc_create`.
      789b6dbc
Loading