dos2unix, unix2dos

Kwan-yin Kong kongkwan at SCI.CCNY.CUNY.EDU
Thu Jan 12 11:22:11 EST 2006


Hi Marco,

The error message you saw might not be ASCII format
related.  Where did you put your model.ctl and model.dat
files?  I put mine in C:\Program Files\PCGrADS\win32e.

Kwan

  On Thu, 12 Jan 2006 14:57:25 +0000
  bernd.becker at METOFFICE.GOV.UK wrote:
>Hi,
>There are dos routines available to convert from dos to
>unix ascii and
>vice versa. (just in case you don't fancy to retype your
>ctl files in a
>dos editor)
>http://www.pop.psu.edu/help/unix/hints/unix/dos2unix.htm
>
>Cheers,
>Bernd.
>
>On Thu, 2006-01-12 at 14:47, Heiner Körnich wrote:
>> Hi Marco,
>>
>> the problem could be that the model.ctl file is in
>>UNIX-ascii format,
>> while your windows needs the dos-ascii format. Simplest
>>solution that I
>> could imagine is:
>> 1) Open model.ctl in an editor
>> 2) Open new file in notepad
>> 3) Copy content of model.ctl to notepad file and save.
>>
>> This shouldn't be a problem with your own ctl-files
>>later.
>>
>> Good luck,
>> Heiner
>>
>> Marco Filato wrote:
>>
>> > Hello,
>> >
>> > I downloaded grads for win xp, and I was starting to
>>use the tutorial.
>> > Here
>> > there is written to open the control file model.ctl.
>>Unfortunately whenI
>> > open GraDs and I write open model.ctl, it replies me
>>that it can't
>> > open the
>> > descriptor file. And so I can't go on with the
>>tutorial. What should I
>> > do?
>> > Thanks a lot for your support
>> >
>> > Marco
>> >
>> >
>>_________________________________________________________________
>> > Scopri il nuovo MSN Htomail - 10MB di allegati
>> > http://www.msn.it/hotmail/minisite_10
>>
>>
>> --
>> Heiner Körnich
>> Dept. of Meteorology                    Tel:    +46 8
>>164333
>> Stockholms University
>> SE-106 91 Stockholm, Sweden             Email:
>> heiner at misu.su.se
>--
>Bernd Becker   The Monthly Outlook
>Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United
>Kingdom
>Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
>E-mail:bernd.becker at metoffice.gov.uk -
> http://www.metoffice.gov.uk



More information about the gradsusr mailing list