[Thread Prev][Thread Next][Index]
Re: Defining T axis from data
Hi Paulo,
It looks like just a precision problem - there are a lot
of minutes between 1900 and 2002.
I suggest you try shifting the time origin to 2000
file/var=yy,mm,dd,hh,mi,-/skip=1 test.dat
let tref = (days1900(yy,mm,dd)-days1900(2000,01,01))*24*60 + hh*60 + mi
def ax/t/from_data/name=tr/units=min/t0="1-jan-2000 00:00" tref
def gr/t=tr gt
file/var=yy,mm,dd,hh,mi,val/grid=gt/skip=1 test.dat
list/l=1:5/noh mm,dd,hh,mi,val
and the odd minutes will go away.
Mick
|____spillane@pmel.noaa.gov____|
|__Room 2070 Bldg#3 NOAA/PMEL__|
|____Phone_:_(206)526-6780_____|
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement