Skip to content
Snippets Groups Projects
  1. Sep 12, 2024
  2. Jan 25, 2023
  3. Jul 27, 2022
    • 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
    • Lionel GUEZ's avatar
      Polish · ec0fdc1d
      Lionel GUEZ authored
      ec0fdc1d
    • Lionel GUEZ's avatar
      Bug fix: avoid aliases in arguments · 14c61f38
      Lionel GUEZ authored
      Define two variables `hshp_in` and `hshp_out` to avoid aliases in
      arguments of `shpc_create`. I have encountered a run which crashed there.
      14c61f38
  4. Jul 26, 2022
    • Lionel GUEZ's avatar
      Split `shpc_slice_handler` · 9219ce9a
      Lionel GUEZ authored
      Split derived type `shpc_slice_handler` into `shpc_slice_handler` and
      `shpc_slice_meta out`. Do not mix what is necessary to open, create
      and close, analogous to a logical unit, with what comes from reading
      the files.
      9219ce9a
    • Lionel GUEZ's avatar
      Create component `unit` in `shpc_slice_handler` · 13ff23e3
      Lionel GUEZ authored
      Create component `unit` for `ishape_last.txt` in derived type
      `shpc_slice_handler`. Open, create and close `ishape_last.txt` at the
      same time we open, create and close the shapefiles. So we use
      `read_opcol` instead of `read_column` when we need to read
      `ishape_last.txt`.
      13ff23e3
    • Lionel GUEZ's avatar
      Rename type shpc to `shpc_slice_handler` · 51b4120d
      Lionel GUEZ authored
      51b4120d
  5. Jul 25, 2022
  6. Jan 08, 2022
  7. Jan 04, 2022
  8. Jul 19, 2021
  9. Jun 22, 2021
  10. Jun 15, 2021
  11. 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
  12. Apr 16, 2020
  13. Apr 15, 2020
    • GUEZ Lionel's avatar
      Create derived type `shp_triplet` · df32aa8f
      GUEZ Lionel authored
      Create derived type `shp_triplet`. Motivation: we need to manipulate
      two triplets of shapefiles in program `eddy_graph`. Use everywhere a
      variable of type `shp_triplet` instead of the three variables
      `hshp_extremum`, `hshp_outermost`, `hshp_max_speed` when all three of
      them appear. Rename character variable `shp_triplet` to
      `shp_triplet_dir`.
      df32aa8f
  14. Mar 05, 2020
    • Lionel GUEZ's avatar
      Generalize main unit `test_get_snapshot` · e1aa5bcc
      Lionel GUEZ authored
      Prepare for a run of `test_get_snapshot` which receives a
      snapshot. Generalize main unit `test_get_snapshot`: it is now
      parallelized; it reads a date index from stdin; it sends a snapshot
      from process 1 to process 0 if it is run with 2 processes.
      
      The logic of the overlap program will be that all processes access the
      triplet of input shapefiles. So modify subroutine
      `read_field_indices`: process 0 reads field indices and broadcasts
      them. This implies that programs `test_overlap`, `test_read_snapshot`
      and `test_read_eddy` use MPI.
      
      Generalize `algorithm.py`.
      
      In program `test_send_recv`, read input SHP triplet from command line
      instead of requiring it to be present in the current directory with
      the name `SHP_triplet_old`. Generalize `test_send_recv`: read
      `ishape_last` from file. In `test_send_recv`, all processes must now
      access the triplet of shapefiles since process 0 reads field
      indices. For the sake of uniformity, read and broadcast k1 from
      process 0.
      e1aa5bcc
  15. Sep 24, 2019
    • Lionel GUEZ's avatar
      Use `SHP_triplet` instead of Snapshot · 69200aca
      Lionel GUEZ authored
      Use `SHP_triplet` instead of Snapshot for the name of the directory
      containing the three shapefiles extremum, `outermost_contour` and
      `max_speed_contour`. This is meant as a general name, analogous to a
      new file type. Generally, the shapefiles may contain eddies at
      different dates, not just a snapshot.
      69200aca
  16. Aug 21, 2019
    • Lionel GUEZ's avatar
      Change order of procedure arguments · 2fe69923
      Lionel GUEZ authored
      Move dummy arguments k and i of procedure `write_eddy` to the end of
      dummy argument list: keyword association more likely for these.
      
      Follow upgrade of `Shapelib_03`: move argument associated to dummy
      argument hshp of `shp_open_03` to the beginning of argument list.
      2fe69923
  17. 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
  18. Apr 03, 2019
  19. Feb 28, 2019
Loading