Skip to content
Snippets Groups Projects
  1. Mar 01, 2024
  2. Feb 21, 2024
  3. Feb 20, 2024
  4. Jan 03, 2024
  5. Nov 28, 2023
    • Lionel GUEZ's avatar
      Follow PEP 8 - Code lay-out - Imports · 83f9fb34
      Lionel GUEZ authored
      83f9fb34
    • Lionel GUEZ's avatar
      Move functions to `util_eddies.py` · af3e3abd
      Lionel GUEZ authored
      Move functions `node_to_date_eddy` and `date_eddy_to_node` from script
      `report_graph.py` to script `util_eddies.py`. `util_eddies.py`
      contains more basic functions, it only imports
      shapefile. `report_graph.py` imports networkx. It was not convenient
      nor meaningful to require networkx for scripts that use
      `node_to_date_eddy` or `date_eddy_to_node`.
      af3e3abd
    • Lionel GUEZ's avatar
      Do not append to path · d3f911de
      Lionel GUEZ authored
      Useless: there is a symlink to `util_eddies.py` in directory Overlap
      since commit 56ca8ea3.
      d3f911de
  6. 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
  7. Jul 04, 2022
  8. Apr 28, 2022
  9. Apr 26, 2022
    • Lionel GUEZ's avatar
      Return tuple or scalar from `node_to_date_eddy` · 1aec1712
      Lionel GUEZ authored
      Return tuple or scalar from function `node_to_date_eddy`, depending on
      new argument `only_date`, instead of returning a dictionary. The
      function is easier to use. Also, it saves a useless computation if we
      are only interested in the date index. Returning a dictionary was more
      justified before commit 43d2eff6, we we also returned the date.
      1aec1712
  10. Apr 19, 2022
  11. Jan 04, 2022
  12. Dec 14, 2021
  13. Jul 19, 2021
  14. Jul 02, 2021
  15. Jul 01, 2021
  16. Jun 22, 2021
  17. Jun 15, 2021
Loading