[Thread Prev][Thread Next][Index]

[ferret_users] ASCII DATA



Hi everyone,
        
I'm trying to read an ASCII data file with 3 variables. The file looks like:

lon  lat  Pre(t=1)  Pre(t=2) ............Pre(t=12)
....................................................................................
....................................................................................
...................................................................................

So there are 14 columns in datafile. The first two variables are lat, lon and the third one is variable with 12 timesteps.
I tried to read this data with commnds:
       
define axis/x=8.0833E:22.917E/npo=90 xaxis
define axis/y=48.083:53.917/npo=36 yaxis
define axis/t=15-SEP-1988:14-AUG-1989:`365.2425/12`/units=days/T0=15-SEP-1988 taxis
define grid/x=xaxis/y=yaxis/t=taxis  mygrid
file/var=lat,lon,pre/grid=mygrid/col=14/order=xyt mydatafile.dat


It does'nt work. show data command shows:
                I            J        K         L
lon         1:90      1:36      ...       1:12
lat           1:90      1:36      ...       1:12
pre         1:90      1:36      ...       1:12

The problem is L should be 1 for lat, lat variables. Whats wrong. Any suggestion

Ashley










[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement