Skip to content
Snippets Groups Projects
Commit d6329740 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Change node identifiers from Matlab

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.
parent 69f4863a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment