<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dear&nbsp;Saulo,<BR>&nbsp;<BR>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.<BR>&nbsp;<BR>I have attached both cases to the email. <BR>&nbsp;<BR>I am looking forward to hearing from side of you.<BR>&nbsp;<BR>Regards,<BR>&nbsp;<BR>Tahereh<br>&nbsp;<BR><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 7 Mar 2013 09:15:59 -0800<br>From: spc_meteor@yahoo.com.br<br>Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br>To: 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>You're welcome, T.</span></div><div><span>Great it worked fine.</span></div><div><span></span>&nbsp;</div><div><span>Regards</span></div><div></div><div>&nbsp;</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="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="hr"></div>  <b><span style="font-weight: bold;">De:</span></b> T. haghroosta &lt;haghroosta@hotmail.com&gt;<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 14:08<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="ecxyiv2098072958">

<style><!--
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958hmmessage P
{padding:0px;}
.ExternalClass #ecxyiv2098072958 body.ecxyiv2098072958hmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div><div dir="ltr">
Dear Saulo,<br>&nbsp;<br>Thank you very much,&nbsp;it is working. Thank for your help again.<br>&nbsp;<br>Best&nbsp;regards,<br>&nbsp;<br>T.<br>&nbsp;<br><div><div id="ecxyiv2098072958SkyDrivePlaceholder"></div><div style="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="hr"></div>Date: Thu, 7 Mar 2013 06:02:35 -0800<br>From: spc_meteor@yahoo.com.br<br>Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br>To: 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>&nbsp;</div><div><span>Ok, let's do it!</span></div><div>&nbsp;</div><div>- Paste script g2ctl.pl in unit c:. After that, paste grib2 file.</div><div>&nbsp;</div><div>- Click "Start&gt;Run&gt;cmd" or
 open "Windows Prompt".</div><div>&nbsp;</div><div>- change directory to c:\</div><div>&nbsp;</div><div>- Type "perl g2ctl.pl 'file'.grib2 &gt;'file'.ctl" (That's not on GRADS, it's on prompt)</div><div>&gt;&nbsp;A file called&nbsp;'file'.ctl will be created.</div><div>&nbsp;</div><div>- Run Grads and type "!gribmap -iv 'file'.ctl"</div><div>&gt; A file 'file'.idx will be created</div><div>&nbsp;</div><div>*Inside .ctl file, lines "dset" and "index" must be in the proper path.</div><div>&nbsp;</div><div>Try it and reply me
 later.</div><div>&nbsp;</div><div>Regards</div><div>&nbsp;</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="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="ecxyiv2098072958hr"></div>  <b><span style="font-weight: bold;">De:</span></b> T. haghroosta &lt;haghroosta@hotmail.com&gt;<br> <b><span style="font-weight: bold;">Para:</span></b> spc_meteor@yahoo.com.br <br> <b><span style="font-weight: bold;">Enviadas:</span></b> Quinta-feira, 7 de Março de 2013 10:26<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="ecxyiv2098072958ecxyiv792919075">

<style><!--
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 .ecxyiv2098072958ecxyiv792919075hmmessage P
{padding:0px;}
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 body.ecxyiv2098072958ecxyiv792919075hmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div><div dir="ltr">
Dear Saulo,<br>&nbsp;<br>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.<br>&nbsp;<br>Regards,<br>&nbsp;<br>T.<br>&nbsp;<br><div><div id="ecxyiv2098072958ecxyiv792919075SkyDrivePlaceholder"></div><div style="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="ecxyiv2098072958hr"></div>Date: Thu, 7 Mar 2013 05:12:56 -0800<br>From: spc_meteor@yahoo.com.br<br>Subject: Re: [gradsusr] How to generate .ctl from a .grb file in a grads under windows<br>To: haghroosta@hotmail.com; gradsusr@gradsusr.org<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>&nbsp;</div><div><span>The script g2ctl.pl (or
 grib2ctl) and grib file must be in the same folder. In case of drive c:\, run&nbsp;command prompt, then&nbsp;you can make:</span></div><div><span></span>&nbsp;</div><div><span>C:\&gt; perl g2ctl.pl file.grib2 &gt;file.ctl</span></div><div><span></span>&nbsp;</div><div><span>.ctl file will be in unit c:</span></div><div><span></span>&nbsp;</div><div><span>I'm using strawberry perl on a windows 7</span></div><div><span></span>&nbsp;</div><div><span>Regards,</span></div><div></div><div>&nbsp;</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="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="ecxyiv2098072958ecxyiv792919075hr"></div>  <b><span style="font-weight: bold;">De:</span></b> T. haghroosta
 &lt;haghroosta@hotmail.com&gt;<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="ecxyiv2098072958ecxyiv792919075ecxyiv1281392164">

<style><!--
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 .ecxyiv2098072958ecxyiv792919075ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164 .ecxyiv2098072958ecxyiv792919075ecxyiv1281392164hmmessage P
{padding:0px;}
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 .ecxyiv2098072958ecxyiv792919075ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164 body.ecxyiv2098072958ecxyiv792919075ecxyiv1281392164hmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div><div dir="ltr">
Dear Saulo,<br>&nbsp;<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>&nbsp;<br>Again I am working&nbsp;in windows system.<br>&nbsp;<br>Regards,<br>&nbsp;<br>T.<br>&nbsp;<br><div><div id="ecxyiv2098072958ecxyiv792919075ecxyiv1281392164SkyDrivePlaceholder"></div><div style="padding: 0px; height: 0px; line-height: 0; font-size: 0px;" class="ecxyiv2098072958ecxyiv792919075hr"></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>&nbsp;</div><div><span>All you have to do
 is:</span></div><div><span></span>&nbsp;</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 &gt;file.ctl;</span></div><div><span>5- Use !gribmap (on GrADS) to make .idx file.</span></div><div><span></span>&nbsp;</div><div><span>Best Regards,</span></div><div></div><div>&nbsp;</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 &lt;haghroosta@hotmail.com&gt;<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="ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ecxyiv1968735903">

<style><!--
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 .ecxyiv2098072958ecxyiv792919075ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164 .ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ecxyiv1968735903 .ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ecxyiv1968735903hmmessage P
{padding:0px;}
.ExternalClass #ecxyiv2098072958 .ecxyiv2098072958ExternalClass #ecxyiv2098072958ecxyiv792919075 .ecxyiv2098072958ecxyiv792919075ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164 .ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ExternalClass #ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ecxyiv1968735903 body.ecxyiv2098072958ecxyiv792919075ecxyiv1281392164ecxyiv1968735903hmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div><div dir="ltr">



Dear All,<br>&nbsp;<br>I have a .grb (grib 1) file, I would like to generate a .ctl file and after that .idx file.<br>&nbsp;<br>I did grib2ctl.pl filename.grb &gt; filename.ctl, but I got this error : unknown command<br>&nbsp;<br>I also used this command : g2ctl but I got the error again. How can I do that in windows system?<br>&nbsp;<br>Regards,<br>&nbsp;<br>T.<br>                                               </div></div>
</div><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" rel="nofollow">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></div>                                               </div></div>
</div><br><br> </div> </div>  </div></div>                                               </div></div>
</div><br><br> </div> </div>  </div></div>                                               </div></body>
</html>