Skip to content
Snippets Groups Projects
  1. Dec 01, 2023
    • Lionel GUEZ's avatar
      Bug fix: correct sign of variation of Rossby number and radius · a6c8941f
      Lionel GUEZ authored
      Bug fix: correct sign of variation of Rossby number and radius. We
      have to be consistent with the computation of `delta_ro_mean` and
      `delta_r_mean`. `delta_ro_mean` and `delta_r_mean` were computed by
      subtracting origin from tail.
      a6c8941f
    • Lionel GUEZ's avatar
      Polish · 1a39ec4b
      Lionel GUEZ authored
      1a39ec4b
    • Lionel GUEZ's avatar
      Assume the Earth is a sphere · efdfee04
      Lionel GUEZ authored
      It does not make sense here to assume an ellipsoid: the computation of
      the distance with $\cos \phi \delta \lambda$ and $\delta \phi$ is a
      rougher approximation than treating the Earth as a sphere.
      efdfee04
    • Lionel GUEZ's avatar
      Blacken · 7df063e0
      Lionel GUEZ authored
      7df063e0
    • Lionel GUEZ's avatar
      Store position in rad · a0da2d71
      Lionel GUEZ authored
      We avoid multiple conversions to rad of the same value, in the loop on
      edges, since a segment can be head or tail of several edges.
      a0da2d71
  2. Nov 30, 2023
  3. 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
  4. Nov 23, 2023
  5. Sep 21, 2023
  6. 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
  7. Sep 08, 2023
  8. Sep 07, 2023
  9. Sep 05, 2023
  10. Jun 23, 2023
  11. May 11, 2023
  12. Mar 21, 2023
  13. Mar 13, 2023
  14. Mar 10, 2023
  15. Nov 21, 2022
  16. Sep 30, 2022
  17. Sep 19, 2022
  18. Sep 16, 2022
  19. Sep 14, 2022
  20. Sep 06, 2022
  21. Aug 31, 2022
  22. Jul 28, 2022
  23. 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
  24. 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
  25. Jul 01, 2022
  26. Jun 28, 2022
Loading