[Thread Prev][Thread Next][Index]

How to read the data wroten in ferret


I want to get a new data from NetCDF data, so I did like this,

yes? sh da
     currently SET data sets:
    1> /usr5/navyang/yhj/MOM_3/EXP/PACIFIC1/CONTROL/ts_45_92_season.nc  (default)
 name     title                             I         J         K         L
 T2       T1[GT=TAX2@MOD]                  1:85      1:48      1:23      1:192

yes? list/file=my.dat/format=unformatted t2

I got a new data named "my.day". 
Then I used a Fortran code to read this new data, 

      dimension temp(imt,jmt,kmt,lmt)

      read(11) temp


When I run this code, I failed and was told,

forrtl: severe (67): input statement requires too much data, unit 11, file 

Does anyone know the reason?

Thanks very much,

Haijun Yang

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement