[gradsusr] ***SPAM2*** CDO ctl file binary to netcdf
Roger Rodrigues Torres
roger.torres at cptec.inpe.br
Fri Jun 17 08:14:45 EDT 2011
Dear Takaya Namba,
I don't know exactly how to solve your problem, but I would try two things:
1) put the option "r" in the CDO command:
cdo -r -f nc import_binary hst-ok.ctl teste-3.nc
2) Run the same CDO command in a computer with another operational
system. Once I had some problems with CDO commands because it had not
installed the libraries correctly.
Best wishes,
Roger
2011/6/17 Namba Takaya <takayanamba at hotmail.com>:
> 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.19930101
> TITLE mean data
> options template big_endian
> UNDEF 0
> XDEF 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 5dy
> VARS 5
> U 54 4 Horizontal Velocity (X)
> V 54 4 Horizontal Velocity (Y)
> T 54 4 Temperature averaged
> S 54 4 Salinity averaged
> HM 1 4 surface height
> ENDVARS
>
>
>
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Roger Rodrigues Torres
Ph.D. Student
National Institute for Space Research (INPE)
Center for Weather Forecast and Climate Studies (CPTEC)
Phone: 55 12 3186-9541
Personal Webpage: http://rtorres.webnode.com.br
More information about the gradsusr
mailing list