[gradsusr] How to generate .ctl from a .grb file in a grads under windows

Saulo Carvalho spc_meteor at yahoo.com.br
Thu Mar 7 08:12:56 EST 2013


Dear T.,
 
The script g2ctl.pl (or grib2ctl) and grib file must be in the same folder. In case of drive c:\, run command prompt, then you can make:
 
C:\> perl g2ctl.pl file.grib2 >file.ctl
 
.ctl file will be in unit c:
 
I'm using strawberry perl on a windows 7
 
Regards,

________________________________________
Saulo Carvalho

 

________________________________
 De: T. haghroosta <haghroosta at hotmail.com>
Para: spc_meteor at yahoo.com.br; gradsusr at gradsusr.org 
Enviadas: Quinta-feira, 7 de Março de 2013 9:59
Assunto: RE: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
  

 
Dear Saulo,
 
I did it but I just got some errors such as, unknown command, while I have the perl in drive C, I don't know how can I solve my problem.
 
Again I am working in windows system.
 
Regards,
 
T.
 


________________________________
Date: Thu, 7 Mar 2013 03:43:04 -0800
From: spc_meteor at yahoo.com.br
Subject: Enc: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
To: gradsusr at gradsusr.org; haghroosta at hotmail.com


Dear T.
 
All you have to do is:
 
1- Download and install perl language program;
2- Download the grib2 file of your interest;
3- Put grib2ctl.pl or g2ctl.pl in a folder, or c:\;
4- Type perl grib2ctl.pl filename.grib2 >file.ctl;
5- Use !gribmap (on GrADS) to make .idx file.
 
Best Regards,

________________________________________
Saulo Carvalho

 
----- Mensagem encaminhada -----
De: T. haghroosta <haghroosta at hotmail.com>
Para: gradsusr at gradsusr.org 
Enviadas: Quinta-feira, 7 de Março de 2013 3:27
Assunto: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
  

 
Dear All,
 
I have a .grb (grib 1) file, I would like to generate a .ctl file and after that .idx file.
 
I did grib2ctl.pl filename.grb > filename.ctl, but I got this error : unknown command
 
I also used this command : g2ctl but I got the error again. How can I do that in windows system?
 
Regards,
 
T.
 
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130307/ce8a860e/attachment-0003.html 


More information about the gradsusr mailing list