Here is example using coads_climatology
akshay@db-3325:~$ ferret
NOAA/PMEL TMAP
FERRET v6.96
Linux 2.6.18-406.el5 64-bit - 12/02/15
21-Mar-17 00:30
yes? use coads_climatology
yes? sh d
currently SET data sets:
1> /usr/local/ferret/fer_dsets/data/coads_climatology.cdf (default)
name title I J K L M N
SST SEA SURFACE TEMPERATURE 1:180 1:90 ... 1:12 ... ...
AIRT AIR TEMPERATURE 1:180 1:90 ... 1:12 ... ...
SPEH SPECIFIC HUMIDITY 1:180 1:90 ... 1:12 ... ...
WSPD WIND SPEED 1:180 1:90 ... 1:12 ... ...
UWND ZONAL WIND 1:180 1:90 ... 1:12 ... ...
VWND MERIDIONAL WIND 1:180 1:90 ... 1:12 ... ...
SLP SEA LEVEL PRESSURE 1:180 1:90 ... 1:12 ... ...
yes? list/clobber/file="test.dat"/nohead/norowlab x[g=sst],y[g=sst],TAX_DATESTRING(t[g=sst],sst,""),sst,airt,speh
LISTing to file test.dat
yes? spawn sed -i '/^ ----/d' test.dat
Now see the content of test.dat