[Thread Prev][Thread Next][Index]

Re: [ferret_users] absolute time



Ok, I can do this


let year=int(t[g=var]/100)
let month=int(t[g=var]-year*100+1)
list year, month

let a=PO4[gt=truemonth@ASN]

DEFINE AXIS/UNITS=days/T0=1-jan-1800/EDGES/cal=GREGORIAN truemonth =
DAYS1900(year,month,1)-DAYS1900(1800,1,1)
show axis/t truemonth

But not as easy as it could be if ferret could recognize
direclty absolute time

note, that I have used T0=1-jan-1800 and thus DAYS1900(1800,1,1)
because my siumation runs from 1860 to 2009

Patrick





[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement