[Thread Prev][Thread Next][Index]
NetCDF to ASCII
Hi everybody,
Thanks to Parker MacCready, Mahally Kudsy and Steve Hankin
for helping to solve my task of reading a global NetCDF file,
e.g. 'etopo60', cutting out the North Pacific part of it,
converting the result into ASCII and saving it into another file.
Shown below is a simple code provided by Steve Hankin,
which illustrates how one may take advantage of an extensive
data collection which is available along with Ferret:
_______
set data etopo60
set region/x=120E:105W/y=22N:62N
save/file=bottom.dat/format=(5F12.5)/nohead rose
or
save/file=bottom2.dat/format=(5F12.5)/heading=enhanced rose
_______
an option with 'heading=enhanced' provides all information
required for reading the resulting ASCII file into a FORTRAN
program.
This is a convenient way to FORTRAN-access, the World Ocean Atlas 94,
COADS data, et al.
Grigory.
________
| PFEG/NMFS/NOAA | Ph. (408) 648-0623
Grigory Monterey | 1352 Lighthouse Avenue | FAX (408) 648-8440
| Pacific Grove, CA 93950 | gmonterey@pfeg.noaa.gov
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement