<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:12pt"><div><span>Dear T.,</span></div><div><span></span> </div><div><span>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:</span></div><div><span></span> </div><div><span>C:\> perl g2ctl.pl file.grib2 >file.ctl</span></div><div><span></span> </div><div><span>.ctl file will be in unit c:</span></div><div><span></span> </div><div><span>I'm using strawberry perl on a windows 7</span></div><div><span></span> </div><div><span>Regards,<var id="yui-ie-cursor"></var></span></div><div></div><div> </div><div>________________________________________<br>Saulo Carvalho<br><br></div> <div style="font-family: lucida console, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size:
12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div> <b><span style="font-weight: bold;">De:</span></b> T. haghroosta <haghroosta@hotmail.com><br> <b><span style="font-weight: bold;">Para:</span></b> spc_meteor@yahoo.com.br; gradsusr@gradsusr.org <br> <b><span style="font-weight: bold;">Enviadas:</span></b> Quinta-feira, 7 de Março de 2013 9:59<br> <b><span style="font-weight: bold;">Assunto:</span></b> RE: [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br> </font> </div> <br><div id="yiv1281392164">
<style><!--
#yiv1281392164 .yiv1281392164hmmessage P
{
margin:0px;padding:0px;}
#yiv1281392164 body.yiv1281392164hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>
<div><div dir="ltr">
Dear Saulo,<br> <br>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.<br> <br>Again I am working in windows system.<br> <br>Regards,<br> <br>T.<br> <br><div><div id="yiv1281392164SkyDrivePlaceholder"></div><div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px; line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div>Date: Thu, 7 Mar 2013 03:43:04 -0800<br>From: spc_meteor@yahoo.com.br<br>Subject: Enc: [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br>To: gradsusr@gradsusr.org; haghroosta@hotmail.com<br><br><div style="color: rgb(0, 0, 0); font-family: lucida console, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);"><div><span>Dear T.</span></div><div><span></span> </div><div><span>All you have to do
is:</span></div><div><span></span> </div><div><span>1- Download and install perl language program;</span></div><div><span>2- Download the grib2 file of your interest;</span></div><div><span>3- Put grib2ctl.pl or g2ctl.pl in a folder, or c:\;</span></div><div><span>4- Type perl grib2ctl.pl filename.grib2 >file.ctl;</span></div><div><span>5- Use !gribmap (on GrADS) to make .idx file.</span></div><div><span></span> </div><div><span>Best Regards,</span></div><div></div><div> </div><div>________________________________________<br>Saulo Carvalho<br><br></div> <div style="font-family: lucida console, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> ----- Mensagem encaminhada -----<br> <b><span style="font-weight: bold;">De:</span></b> T. haghroosta <haghroosta@hotmail.com><br> <b><span style="font-weight:
bold;">Para:</span></b> gradsusr@gradsusr.org <br> <b><span style="font-weight: bold;">Enviadas:</span></b> Quinta-feira, 7 de Março de 2013 3:27<br> <b><span style="font-weight: bold;">Assunto:</span></b> [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br> </font> </div> <br><div id="yiv1281392164ecxyiv1968735903">
<style><!--
#yiv1281392164 .yiv1281392164ExternalClass #yiv1281392164ecxyiv1968735903 .yiv1281392164ecxyiv1968735903hmmessage P
{padding:0px;}
#yiv1281392164 .yiv1281392164ExternalClass #yiv1281392164ecxyiv1968735903 body.yiv1281392164ecxyiv1968735903hmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div><div dir="ltr">
Dear All,<br> <br>I have a .grb (grib 1) file, I would like to generate a .ctl file and after that .idx file.<br> <br>I did grib2ctl.pl filename.grb > filename.ctl, but I got this error : unknown command<br> <br>I also used this command : g2ctl but I got the error again. How can I do that in windows system?<br> <br>Regards,<br> <br>T.<br>                                            </div></div>
</div><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" rel="nofollow" target="_blank" ymailto="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="nofollow" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br> </div> </div> </div></div>                                            </div></div>
</div><br><br> </div> </div> </div></body></html>