Fix two problems: 1. The date strings in Times were completely wrong (because...
Fix two problems: 1. The date strings in Times were completely wrong (because it was assumed the values in MJD were MATLAB dates (not Modified Julian Days). Fixing that problem highlighted some possible limitations in mjulian2greg in which some second values are output as 60 (which is obviously wrong). So, some additional checks on the values of the seconds are performed, and times adjusted as necessary. 2. The Code to get the list of open boundary node IDs was a bit ugly, so I rewrote it to be a bit prettier. The old version is left in as a comment so that it can be reverted easily if necessary
Showing with 32 additions and 10 deletions