[Thread Prev][Thread Next][Index]

Re: export time series from netCDF file



Hi Yun,
By default Ferret chooses to skip some values when it  writes out for ascii listings (and for listings to the screen), but you can use the /WIDTH qualifier to get it to make longer records.  I don't know how many values there are in your data but for example,

yes? list/clobber/i=37/width=2000/file=z.txt slp

the argument of WIDTH is the number of characters in each record of the output

Ansley


Yun.Li@csiro.au wrote:
Message
Dear All,
 
Is there a way to extract all time series in ASCII format (file.txt) at each grid point, and form them into a table with each column corresponding to a time series of a grid?  For example, let X1, X2, ...., Xn be the time series (e.g. MSLP) of n grid points over the study area, and xi,j are jth sample value of Xi.  The new data structure is as follows
 
____________________________________________
Date                       X1              X2        ...          Xn

____________________________________________

1948                     x1,1           x2,1        ...        xn,1

1949                     x1,2            x2,2       ....       xn,2

1950                     x1,3            x2,3       ....       xn,3

.....                        ....            ....        ....        ....

2004                    x1,57           ...        ....         xn,57

_____________________________________________

I would be most grateful if you can provide a help here.

Regards,

Yun

 

 


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement