Skip to content
Snippets Groups Projects
  1. Nov 30, 2023
  2. 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
  3. Nov 23, 2023
  4. Sep 21, 2023
  5. Sep 11, 2023
    • Lionel GUEZ's avatar
      Do not always write all properties · fa479a3f
      Lionel GUEZ authored
      Add option `--debug` to write all properties to output files. The
      properties which are not always written are not needed for further
      processing of the graph. To implement the option, we define variables
      for properties, so we revert in part commit 2e3c6606.
      fa479a3f
  6. Sep 08, 2023
  7. Sep 07, 2023
  8. Sep 05, 2023
  9. Jun 23, 2023
  10. May 11, 2023
  11. Mar 21, 2023
  12. Mar 13, 2023
  13. Mar 10, 2023
  14. Nov 21, 2022
  15. Sep 30, 2022
  16. Sep 19, 2022
  17. Sep 16, 2022
  18. Sep 14, 2022
  19. Sep 06, 2022
  20. Aug 31, 2022
  21. Jul 28, 2022
  22. 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
  23. Jul 05, 2022
    • Lionel GUEZ's avatar
      Use `e_overestim.txt` · 8e6ce479
      Lionel GUEZ authored
      Use `e_overestim.txt` instead of `node_id_param.json`. Since commit
      43d2eff6, we wrote only `e_overestim` to the JSon file. Simpler to
      write the value alone in a text file.
      8e6ce479
  24. Jul 01, 2022
  25. Jun 28, 2022
  26. Jun 27, 2022
  27. Apr 29, 2022
    • Lionel GUEZ's avatar
      Bug fix: use a defined radius · f468dce0
      Lionel GUEZ authored
      The maximum speed contour may not be defined separately from the
      outermost contour. So if the radius from the maximum speed contour
      shapefile is not defined, use the radius from the outermost contour
      shapefile.
      f468dce0
    • Lionel GUEZ's avatar
      Rewrite the loop on vertices · bdd0ce41
      Lionel GUEZ authored
      Motivation: performance. We eliminate repeated reading of the same
      information from the shapefiles. If the length of the segment is
      smaller than 14 days then we re-use for the last part of the segment
      some of the properties from the first part. Also, we do not compute
      properties for the first part of the segment if the segment has no
      predecessor and for the last part of the segment if the segment has no
      successor.
      bdd0ce41
    • Lionel GUEZ's avatar
      Remove intermediary variable segment · 294e1e59
      Lionel GUEZ authored
      294e1e59
    • Lionel GUEZ's avatar
      Polish · 5f643d03
      Lionel GUEZ authored
      5f643d03
Loading