[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret list command help



Thank you

will tell me how can I extract only date string , I am getting o/p like this

yes? use Ascat_Wind_2007_13_1_regridded.nc
yes? list/l=1:10 t[g=u]
             VARIABLE : T
                        axis TIME
             FILENAME : Ascat_Wind_2007_13_1_regridded.nc
             SUBSET   : 10 points (TIME)
 05-JAN-2006 00 /  1:  75244.
 12-JAN-2006 00 /  2:  75251.
 19-JAN-2006 00 /  3:  75258.
 26-JAN-2006 00 /  4:  75265.
 02-FEB-2006 00 /  5:  75272.
 09-FEB-2006 00 /  6:  75279.
 16-FEB-2006 00 /  7:  75286.
 23-FEB-2006 00 /  8:  75293.
 02-MAR-2006 00 /  9:  75300.
 09-MAR-2006 00 / 10:  75307.

I want only
 05-JAN-2006 00
12-JAN-2006 00
19-JAN-2006 00
.......
.......
09-MAR-2006 00

Please Ansley help me, I am newbie

Dona


On Thursday, January 9, 2014 6:50 PM, Don DNA <don_vbe@xxxxxxxxx> wrote:
Sorry for late reply, I want to save datestring in array say

let dates = t[g=variable] something like this, but it stores numeric values, my final aim is to list like this

list/noheader/norow date_string_only,latitude,longitude,some_variable

whether this will be possible ? I searched  in userlist I could not find it.

Dona Clara



On Monday, January 6, 2014 10:41 PM, Steve Hankin <steven.c.hankin@xxxxxxxx> wrote:
Assuming I am understanding your question ....
Use SHOW AXIS or SHOW GRID to most simply look just at axis values.  Use a grave accent _expression_ with RETURN= to captuare a particular string, like the date.  The LIST command is intended to show data values.  It lists the "23375" because it is the numerical value that underlies your "T" pseudo-variable (the way in which time is encoded in this axis).
    - Steve

On 1/5/2014 4:13 AM, Don DNA wrote:

Hi All I am working with some data

I defined time axis like this

DEFINE AXIS/T/T0="1-JAN-1950:12:00"/UNITS=days myday=juld

yes? list t[gt=myday]
             VARIABLE : T
                        axis TDAY
             TIME     : 31-DEC-2013 06:06
          23375.

Here I want to list only TIME that is 31-DEC-2013 06:06 not 23375
and I am wondering how 23375 is listed with time 06:06 ???


Please someone help me








[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement