Skip to content
Snippets Groups Projects
  1. Sep 09, 2020
    • Lionel GUEZ's avatar
      Polish · 4d80f25c
      Lionel GUEZ authored
      4d80f25c
    • Lionel GUEZ's avatar
      Remove end_filename · b84fb5dd
      Lionel GUEZ authored
      This was used in old times to distinguish between triplets of
      shapefiles. Now we have the philosophy of creating a dedicated
      directory for a triplet. So the script `distribution_function.py` just
      has to be run in the triplet directory.
      b84fb5dd
  2. Jul 24, 2020
  3. Jul 23, 2020
  4. Jul 21, 2020
  5. Jun 15, 2020
    • Lionel GUEZ's avatar
      Create `loop_shp_tr_append.py` · c58c21b7
      Lionel GUEZ authored
      Replace `loop_shp_append.py` by `loop_shp_tr_append.py`. Instead of
      looping on years, we assume we are working on a single year. We could
      call this script inside a loop on years in the shell. The advantage is
      that we need to make fewer assumptions on the arborescence of
      files. Also, we can make `loop_shp_tr_append.py` more general by
      starting and ending at arbitrary days. We drop the timing that was in
      `loop_shp_append.py`. We add the creation of file `ishape_last.txt`.
      
      In script `shp_tr_append.sh`, assume that the directories contain
      files `ishape_last.txt` and modify `ishape_last.txt` in the
      destination directory.
      
      In program `test_overlap`, read grid description from a file
      `grid_nml.txt` in SHP triplet directory, instead of from standard
      input. This is the same modification we made for program
      `eddy_graph`. Modify input files accordingly.
      c58c21b7
  6. Jun 10, 2020
  7. Jun 03, 2020
    • Lionel GUEZ's avatar
      Replace `mkdir_nproc.sh` by `eddy_graph.sh` · fe8820af
      Lionel GUEZ authored
      Replace script `mkdir_nproc.sh` by script
      `eddy_graph.sh`. `eddy_graph.sh` is a wrapper script for program
      `eddy_graph`. It includes the creation of output directories that was
      done by `mkdir_nproc.sh`. `mkdir_nproc.sh` was only used for program
      `eddy_graph`. There was the need to automate the concatenation of
      output files for a run with several MPI processes.
      
      Add a test for `eddy_graph`.
      
      Improve the handling of the NetCDF Fortran library in cmake files.
      Add the configuration of `eddy_graph_in.sh`.
      
      In main program `eddy_graph`, do not write title lines in files
      `unit_number_eddies` and `unit_edgelist` because these files are
      concatenated for all the MPI processes by `eddy_graph.sh`. So the
      title lines are added by `eddy_graph.sh`.
      fe8820af
  8. May 28, 2020
    • Lionel GUEZ's avatar
      Add test for `eddy_graph` · f72c0cfe
      Lionel GUEZ authored
      In script `plot_snapshot.py`, add dummy arguments to function snapshot
      so that it does not use global variables and it can work after the
      module is reloaded. Bug fix for the suptitle in function snapshot.
      
      Add test for program `eddy_graph`. Add the corresponding input NetCDF
      files and the corresponding dates in
      `Tests/Input/Region_2/SHP_triplet`.
      f72c0cfe
  9. May 19, 2020
    • Lionel GUEZ's avatar
      Align dates in `read_eddy_graph.py` · 6d1f9eea
      Lionel GUEZ authored
      In script `read_eddy_graph.py`, create a pygraphviz graph and write
      the corresponding file instead of directly plotting with
      Matplotlib. Also, create subgraphs in the pygraphviz
      graph. Motivation: aligning nodes with the same date. Moreover: it is
      more convenient to visualize a graphviz file. Moreover, networkx
      documentation seems to advise against relying on networkx's own
      visualizing functionality.
      6d1f9eea
    • Lionel GUEZ's avatar
      New test `Eddy_graph_md2` · 5b75c1c7
      Lionel GUEZ authored
      In script `plot_snapshot.py`, add title with date index.
      
      Rename `read_overlap.py` to `read_eddy_graph.py`.
      
      Rename `loop_shpcat.py` to `loop_shp_append.py` and `shp_tr_cat.sh` to
      `shp_tr_append.sh` because an analogy to the cat command is confusing:
      the cat command does not modify its arguments and the result is in the
      order of the arguments.
      
      Import small NetCDF files in `Tests/Input/Region_1`.
      
      Bug fix in `short_tests.json`: missing mpiexec for `test_read_eddy`.
      
      New test `Eddy_graph_md2`, with corresponding input files.
      5b75c1c7
  10. May 14, 2020
  11. Apr 28, 2020
    • GUEZ Lionel's avatar
      Added first test of program `eddy_graph` · e476a644
      GUEZ Lionel authored
      Added a trick to verify at the beginning of execution of program
      `extraction_eddies` that the directory `SHP_triplet` exists.
      
      Added a script to created as many directories as MPI processes, for
      program `eddy_graph`.
      
      Added stdout keys to JSON tests, so that the stdout files are not
      named `mpiexec_stdout.txt`.
      
      Added first test of program `eddy_graph`.
      e476a644
    • 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
  12. Apr 27, 2020
Loading