Skip to content
Snippets Groups Projects
  1. Apr 27, 2024
  2. Feb 20, 2024
  3. Jan 08, 2024
    • Lionel GUEZ's avatar
      Bug fix: correct test for part of beginning · d734fd01
      Lionel GUEZ authored
      Correct the test to know whether we can use part of the properties
      already calculated for the beginning of the segment. When `len_seg ==
      2 * n_days_avg`, `g.vp.inst_eddies[n][-n_days_avg:] =
      g.vp.inst_eddies[n][n_days_avg:]` so
      `g.vp.inst_eddies[n][:n_days_avg]` and
      `g.vp.inst_eddies[n][-n_days_avg:]` are disjoint. The bug comes from
      commit bdd0ce41.
      d734fd01
    • Lionel GUEZ's avatar
      Polish · 37c59453
      Lionel GUEZ authored
      37c59453
  4. 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
  5. Nov 30, 2023
  6. 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
  7. Nov 23, 2023
  8. Sep 21, 2023
  9. 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
  10. Sep 08, 2023
  11. Sep 07, 2023
  12. Sep 05, 2023
  13. Jun 23, 2023
  14. May 11, 2023
  15. Mar 21, 2023
  16. Mar 13, 2023
  17. Mar 10, 2023
  18. Nov 21, 2022
  19. Sep 30, 2022
  20. Sep 19, 2022
  21. Sep 16, 2022
  22. Sep 14, 2022
  23. Sep 06, 2022
  24. Aug 31, 2022
  25. Jul 28, 2022
Loading