Skip to content
Snippets Groups Projects
  1. Apr 29, 2021
    • Lionel GUEZ's avatar
      Extract format from input file name · 32b69e8f
      Lionel GUEZ authored
      It is not enough to parse the input file name and extract the date
      because, when we process other dates, we have to construct file names
      in the same format. So do not use `parser.parse` for the input file
      name, try various formats and remember the one that works.
      32b69e8f
    • Lionel GUEZ's avatar
      Polish · b2875ea2
      Lionel GUEZ authored
      b2875ea2
  2. Apr 03, 2021
    • Lionel GUEZ's avatar
      Bug fix: convert polyline to list · 6c850f50
      Lionel GUEZ authored
      Method poly of shapefile writer requires a list of lists, not a list
      of numpy arrays. This bug goes unnoticed in pyshp `2.1.0` but raises an
      exception with pyshp `2.1.3`.
      6c850f50
  3. Apr 02, 2021
    • Lionel GUEZ's avatar
      Create `report_graph_int.py` · b2ee6af5
      Lionel GUEZ authored
      This is an almost-duplicate file of `report_graph.int`: the difference
      is that it processes an edgelist with nodes identified by node index,
      instead of date and eddy index. We could make `report_graph.py` more
      general instead, but that would degrade its clarity. Let us just have this
      almost duplicate file, pending a decision on the format of edgelist.
      
      Move functions `node_to_date_eddy` and `date_eddy_to_node` from
      `convert_id.py` to `report_graph_int.py`, where they are used.
      b2ee6af5
    • Lionel GUEZ's avatar
      Write fields interpolat and valid · 7405ad2e
      Lionel GUEZ authored
      Revert part of commit dfb78dbc. Motivation: being able to use
      `plot_eddy_contours.py` on results from Matlab.
      7405ad2e
  4. Mar 24, 2021
  5. Mar 23, 2021
  6. Mar 11, 2021
    • Lionel GUEZ's avatar
      Remove title line · 3370733a
      Lionel GUEZ authored
      Because we want to be able to easily read the edgelist with several
      graph programs and they would not all accept the same
      header. `read_edgelist` from Networkx accepts a comment line starting
      with a special character. Not very elegant to put column headers after
      a #. Anyway, the headers predecessor and successor are obvious for an
      edge list.
      3370733a
    • Lionel GUEZ's avatar
      Enrich return value · 6096420f
      Lionel GUEZ authored
      6096420f
    • Lionel GUEZ's avatar
      Polish · 8a7fb3cc
      Lionel GUEZ authored
      8a7fb3cc
  7. Mar 10, 2021
  8. Mar 09, 2021
  9. Mar 04, 2021
  10. Mar 03, 2021
  11. Mar 02, 2021
Loading