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

T. haghroosta haghroosta at hotmail.com
Sat Mar 9 00:22:04 EST 2013


Dear Saulo, Sorry to get your time. I don't know what happened to my files. At first when I used "q file" command I saw 145 variables in the file, but right now, I just see 95 variables! Could you please tell me what happened and what should I do to solve this problem? Because I lost exactly the variables that I would like to study. I have attached both cases to the email.  I am looking forward to hearing from side of you. Regards, Tahereh
 Date: Thu, 7 Mar 2013 09:15:59 -0800
From: spc_meteor at yahoo.com.br
Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
To: haghroosta at hotmail.com

You're welcome, T.Great it worked fine. 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 14:08
 Assunto: RE: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
   




Dear Saulo,
 
Thank you very much, it is working. Thank for your help again.
 
Best regards,
 
T.
 
Date: Thu, 7 Mar 2013 06:02:35 -0800
From: spc_meteor at yahoo.com.br
Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
To: haghroosta at hotmail.com

Dear T. Ok, let's do it! - Paste script g2ctl.pl in unit c:. After that, paste grib2 file. - Click "Start>Run>cmd" or
 open "Windows Prompt". - change directory to c:\ - Type "perl g2ctl.pl 'file'.grib2 >'file'.ctl" (That's not on GRADS, it's on prompt)> A file called 'file'.ctl will be created. - Run Grads and type "!gribmap -iv 'file'.ctl"> A file 'file'.idx will be created *Inside .ctl file, lines "dset" and "index" must be in the proper path. Try it and reply me
 later. Regards ________________________________________
Saulo Carvalho

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




Dear Saulo,
 
I also have Strawberry. In fact, I don't know in which window I should write the commends, in Grads, or other window. Could you please lead me? How can I start from the first step, I got confused completely.
 
Regards,
 
T.
 
Date: Thu, 7 Mar 2013 05:12:56 -0800
From: spc_meteor at yahoo.com.br
Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows
To: haghroosta at hotmail.com; gradsusr at gradsusr.org

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/20130309/49ee353d/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qfile.jpg
Type: image/jpeg
Size: 723936 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130309/49ee353d/attachment-0006.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qfile2.jpg
Type: image/jpeg
Size: 527268 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130309/49ee353d/attachment-0007.jpg 


More information about the gradsusr mailing list