NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 21 forks source link

cannot define PROLEPTIC_GREGORIAN calendar with T0 on Feb 29th #1992

Open ssgromov opened 2 years ago

ssgromov commented 2 years ago

Reading FERRET documentation, proleptic_gregorian calendar accounts for leap years.

However, basing a new axis with this calendar on Feb 29th does not work:

yes? de ax/t0="29-FEB-2000"/units=seconds/cal=proleptic_gregorian pgtest = l[l=1:100]
 **TMAP ERR: error in time line definition
             29-FEB-2000 is not valid in this calendar
 **ERROR: improper grid or axis definition: /T0=29-FEB-2000

Is this by design or a bug?

ACManke commented 2 years ago

With current versions of PyFerret, this command works. It may have been a bug in some Ferret versions.