Skip to content
Snippets Groups Projects
  1. Feb 21, 2023
  2. Feb 20, 2023
  3. Feb 06, 2023
  4. Jan 25, 2023
  5. Nov 22, 2022
    • Lionel GUEZ's avatar
      Rename to `test_write_null.f90` · c7faaba2
      Lionel GUEZ authored
      Rename file `test_write_eddy.f90` to `test_write_null.f90`. The name
      was badly chosen because the program is not a unit test of procedure
      `write_eddy`. In fact, it does not even call `write_eddy`.
      c7faaba2
  6. Oct 14, 2022
    • 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
      Polish · 7fc5bb2f
      Lionel GUEZ authored
      7fc5bb2f
    • Lionel GUEZ's avatar
      Remove unused procedure weight · 9ff8a9bb
      Lionel GUEZ authored
      Remove unused procedure weight and corresponding unit test. weight is
      not used since commit edb16459, after tag v0.20.
      9ff8a9bb
    • 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
    • Lionel GUEZ's avatar
      Create subroutines `config_graph` and `read_grid` · 6c937242
      Lionel GUEZ authored
      Which read namelists. Motivations: diminish the number of arguments of
      procedure overlap; lighten the main program unit. We conditionally
      compile MPI calls in `read_grid` because we want to use variables of
      module`read_grid_m` in procedure `read_snapshot`, and `read_snapshot`
      is called from sequential program `test_nearby_extr`.
      6c937242
  7. Oct 10, 2022
  8. Sep 26, 2022
  9. Sep 16, 2022
    • Lionel GUEZ's avatar
      Polish · 5d8ed590
      Lionel GUEZ authored
      5d8ed590
    • Lionel GUEZ's avatar
      Create `n_slices.txt` if not found · 486ba014
      Lionel GUEZ authored
      The immediate motivation comes from tests `Mat_v6_to_shapefiles` and
      `Plot_eddy_contours_Mat`. `Plot_eddy_contours_Mat` needs to open the
      SHPC in `Mat_v6_to_shapefiles`. `Mat_v6_to_shapefiles` does not create
      `n_slices.txt` and we do not want to create `n_slices.txt` in
      `inst_eddies_v6.py` because this script could be run in parallel for
      several slices. There is no simple way to create `n_slices.txt`
      automatically after runnning `inst_eddies_v6.py` in the test
      `Mat_v6_to_shapefiles`. We cannot use a redirection in a command of
      the test so something like `echo 0 > n_slices.txt` would not work.
      486ba014
    • Lionel GUEZ's avatar
      Define default orientation in `comp_ishape` · b328ab6f
      Lionel GUEZ authored
      Note that orientation = None is passed to `get_ishape_last` where it
      becomes `self.def_orient`.
      b328ab6f
    • Lionel GUEZ's avatar
      Move function `comp_ishape` to method · 76000cb7
      Lionel GUEZ authored
      Move function `comp_ishape` to method of SHPC class.
      76000cb7
    • Lionel GUEZ's avatar
      ed16ca4a
  10. Sep 13, 2022
  11. Sep 09, 2022
  12. Sep 08, 2022
  13. Sep 06, 2022
    • Lionel GUEZ's avatar
      Create class SHPC · d858fb72
      Lionel GUEZ authored
      The motivation is to manage an SHPC directory without opening first
      all the files inside. The class allows to open files dynamically and
      remember already opened files.
      d858fb72
    • Lionel GUEZ's avatar
      Polish · ce5e320b
      Lionel GUEZ authored
      ce5e320b
Loading