[gradsusr] CDO ctl file binary to netcdf
Namba Takaya
takayanamba at hotmail.com
Fri Jun 17 05:42:28 EDT 2011
Dear Sir
I use CDO version 1.4.0.1 and grads v2.0.a9 under mac os x 10.6.4.I tried to convert "ctl" file binary to netcdf.
cdo -f nc import_binary hst-ok.ctl test-3.nc
but error comes like
The calendar is NOW STANDARD and you attempted to open a 365-day calendar file The data file was not opened.
cdo import_binary (Abort): Open failed!
Then I remeved the part of "365_day_calendar" in the "options" of the hst-ok.ctl.but another error comes like
cdo import_binary (Abort): Number of levels differ!
I could read the binary file by Grads with "ctl" file without any problem.
Could you tell me how to solve this problem?
Regards,Takaya Namba
My "ctl" file (hst-ok.ctl) is
DSET /Users/takayanamba/MOVE/MOVE-MRI.COM/1993/hst.19930101TITLE mean dataoptions template big_endianUNDEF 0XDEF 673 LEVELS 116.800 116.900 117.000 117.100 117.200 117.300 117.400 117.500 117.600 117.700......YDEF 442 LEVELS 14.800 14.900 15.000 15.100 15.200 15.300 15.400 15.500 15.600 15.700......ZDEF 54 LEVELS 0.50 1.50 4.00 7.00 12.00 18.00 26.00 38.00 50.00......TDEF 2190 LINEAR 01Jan1993 5dyVARS 5U 54 4 Horizontal Velocity (X)V 54 4 Horizontal Velocity (Y)T 54 4 Temperature averagedS 54 4 Salinity averagedHM 1 4 surface heightENDVARS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110617/e292e1b1/attachment-0003.html
More information about the gradsusr
mailing list