Skip to content
Snippets Groups Projects
  1. Oct 05, 2021
  2. Aug 18, 2021
    • Lionel GUEZ's avatar
      Split `id_child.mat` · 6e52178b
      Lionel GUEZ authored
      Integrating work done by Mevludin Isic. We add the possibility to
      split `id_child` because it takes more than 2 GiB for the global
      domain and thus we cannot save the whole variable to Matlab v6
      format. We split `id_child` along the time dimension. As the Matlab
      code for this is the same for anticylonic and cyclonic eddies, we
      extract it from the script `overlap.m` to a new script
      `id_child.m`.
      6e52178b
    • Lionel GUEZ's avatar
      Test whether we are using the file as a script · f651aef0
      Lionel GUEZ authored
      So we can easily import the functions in the file.
      f651aef0
  3. Jul 02, 2021
  4. Jul 01, 2021
    • Lionel GUEZ's avatar
      Read and write fixed filenames in `overlap_v6.py` · b98be8d0
      Lionel GUEZ authored
      Instead of filenames constructed from the orientation. So we need to
      create symlinks before running the script. It is clearer this way that
      the script processes a single orientation, and that the processing
      does not depend on the orientation. The script does not take a command
      line argument any longer.
      b98be8d0
    • Lionel GUEZ's avatar
      Rename variable `N(anti|cyclo)` to `N_eddies` · 52e524b1
      Lionel GUEZ authored
      Rename variable `N(anti|cyclo)` to `N_eddies` in file
      `N(anti|cyclo).mat`. Motivation: allow more transparent processing in
      `overlap_v6.py`.
      52e524b1
  5. Jun 15, 2021
  6. Mar 24, 2021
  7. Mar 23, 2021
    • Lionel GUEZ's avatar
      Change node identifiers from Matlab · d6329740
      Lionel GUEZ authored
      The node identifiers in Matlab use the date index in the array of
      processed dates. This is not simply the difference between the current
      date and the first date if there are missing dates. This means that
      converting between node index in Matlab and date and eddy indices, one
      needs the array of processed dates. Morever, the conversion from date
      and eddy indices to node index requires a search through the array of
      dates. So we do not keep the Matlab node identifier. We use k and n as
      described in the documentation.
      
      For this commit, we need to revert in part commit 68da90cd. We have to
      read `date_num` from the Matlab files, and we create function
      `adjust_n` to convert from Matlab node identifier to the new node identifier.
      d6329740
  8. 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
  9. Mar 10, 2021
    • Lionel GUEZ's avatar
    • Lionel GUEZ's avatar
      Rename `e_max` to `e_overestim` · c8c047b2
      Lionel GUEZ authored
      Clearer. `e_max` is now the number of eddies of the current
      orientation at the current date. See documentation.
      c8c047b2
    • Lionel GUEZ's avatar
      Write node index instead of date and eddy index · 68da90cd
      Lionel GUEZ authored
      Write node index instead of date and eddy index to the edgelist
      file. Motivations: stay closer to Matlab, at least for now; some graph
      processing programs other than NetworkX will not easily read nodes
      that are tuples. Consequences of this change are that we no longer
      need `date_num` from the Matlab files and we no longer need the
      functions `date_index` and `convert_id` in the script
      `overlap_v6.py`. So move these functions for now to a new file
      `convert_id.py`.
      68da90cd
  10. Mar 04, 2021
  11. Feb 18, 2021
  12. Feb 16, 2021
    • Lionel GUEZ's avatar
      Rename files · f7075db7
      Lionel GUEZ authored
      `inst_eddies`: instantaneous eddies. `overlap`: overlapping.
      f7075db7
  13. Feb 15, 2021
  14. Feb 12, 2021
  15. Feb 03, 2021
  16. Feb 02, 2021
Loading