Maybe you should specify values as single-item
lists.
By the website's sample:
yes? use monthly_navy_winds Try then with let's (month = {9} and so on) like the
sample abova, and see if it works. Then maybe you specify
samplet_date(UROT2,{1999},{9},{9},{0},{0},{0}) and try alternatives until you
feel the code is readable enough (should it work, of course). have best luck,
- fabricio
I am trying to extract certain dates from a time series using the samplet_date function but it is not returning what I would expect. It looks like the function is interpolating between the dates and I don’t know if it is a problem with the samplet_date function or a problem with how I have my time axis defined. I have attached my time series to use as an example:
yes? use urot2.nc yes? sh d yes? list/t=9-sep-1999 urot2 VARIABLE : U_ROT[GT=TQSCT@ASN] FILENAME : urot2.nc Z (m) : 0 TIME : 09-SEP-1999 00:00 -13.24
yes? list SAMPLET_DATE(UROT2,1999,9,9,0,0,0) VARIABLE : SAMPLET_DATE(UROT2[D=urot2],1999,9,9,0,0,0) Z (m) : 0 T : 1 -12.92
Why are they not the same?
Thanks. Carol
******************************************************** Carol Ladd Oceanographer
NOAA/PMEL 7600 Sand Point Way Building 3 Seattle, WA 98115-6349
Phone: (206) 526-6024 Fax: (206) 526-6485
Email: carol.ladd@xxxxxxxx
********************************************************
|