<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:メイリオ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Roger<div><br></div><div>Thank you for your prompt and kind reply.</div><div>I tried it again with -r option but unfortunately the result was the same.</div><div>I will try it on the linux PC.</div><div><br></div><div>Best Regards,</div><div>Takaya Namba<br><br><div>> Date: Fri, 17 Jun 2011 09:14:45 -0300<br>> From: roger.torres@cptec.inpe.br<br>> To: gradsusr@gradsusr.org<br>> Subject: Re: [gradsusr] ***SPAM2*** CDO ctl file binary to netcdf<br>> <br>> Dear Takaya Namba,<br>> I don't know exactly how to solve your problem, but I would try two things:<br>> 1) put the option "r" in the CDO command:<br>> cdo -r -f nc import_binary hst-ok.ctl teste-3.nc<br>> 2) Run the same CDO command in a computer with another operational<br>> system. Once I had some problems with CDO commands because it had not<br>> installed the libraries correctly.<br>> Best wishes,<br>> Roger<br>> <br>> <br>> 2011/6/17 Namba Takaya <takayanamba@hotmail.com>:<br>> > Dear Sir<br>> > I use CDO version 1.4.0.1 and grads v2.0.a9 under mac os x 10.6.4.<br>> > I tried to convert "ctl" file binary to netcdf.<br>> > cdo -f nc import_binary hst-ok.ctl test-3.nc<br>> > but error comes like<br>> > The calendar is NOW STANDARD and you attempted to open a 365-day calendar<br>> > file<br>> > The data file was not opened.<br>> > cdo import_binary (Abort): Open failed!<br>> > Then I remeved the part of "365_day_calendar" in the "options" of the<br>> > hst-ok.ctl.<br>> > but another error comes like<br>> > cdo import_binary (Abort): Number of levels differ!<br>> > I could read the binary file by Grads with "ctl" file without any problem.<br>> > Could you tell me how to solve this problem?<br>> > Regards,<br>> > ! Takaya Namba<br>> > My "ctl" file (hst-ok.ctl) is<br>> > DSET /Users/takayanamba/MOVE/MOVE-MRI.COM/1993/hst.19930101<br
>> > TITLE mean data<br>> > options template big_endian<br>> > UNDEF 0<br>> > XDEF 673 LEVELS 116.800 116.900 117.000 117.100 117.200<br>> > 117.300 117.400 117.500 117.600 117.700<br>> > ...<br>> > ...<br>> > YDEF 442 LEVELS 14.800 14.900 15.000 15.100 15.200<br>> > 15.300 15.400 15.500 15.600 15.700<br>> > ...<br>> > ...<br>> > ZDEF 54 LEVELS 0.50 1.50 4.00 7.00<br>> > 12.00 18.00 26.00 38.00 50.00<br>> > ...<br>> > ...<br>> > TDEF 2190 LINEAR 01Jan1993 5dy<br>> > VARS 5<br>> > U 54 4 Horizontal Velocity (X)<br>> > V 54 4 Horizontal Velocity (Y)<br>> > T 54 4 Temperature averaged<br>> > S 54 4 Salinity averaged<br>> > HM 1 4 surface height<br>> > ENDVARS<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> <br>> <br>> <br>> -- <br>> Roger Rodrigues Torres<br>> Ph.D. Student<br>> National Institute for Space Research (INPE)<br>> Center for Weather Forecast and Climate Studies (CPTEC)<br>> Phone: 55 12 3186-9541<br>> Personal Webpage: http://rtorres.webnode.com.br<br>> <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div>                                            </div></body>
</html>