Antoine,<br><br>I tried your grb2 file and I didn't have any problems on my linux box.<br><br> g2ctl wnd10mx0.5.cdas1.201104.grb2 >junk.ctl<br> gribmap -i junk.ctl (gribmap version 2)<br><br>
I noticed that your ctl file doesn't have the line: "* produced by g2ctl vXXXX.XXXX"<br>This suggests that you are using a very old g2ctl (within 4 months of the initial release<br>back in 2008). You should upgrade to a more recent g2ctl and wgrib2. There have<br>
been 17 releases of g2ctl since then.<br><br><br> Wesley Ebisuzaki<br><br><br><br><br><br><br><div class="gmail_quote">On Thu, Jul 5, 2012 at 8:24 AM, Antoine Molin <span dir="ltr"><<a href="mailto:amolin@plenr.fr" target="_blank">amolin@plenr.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="FR"><div><p class="MsoNormal"><span style="color:#1f497d">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal">
<span style="color:#1f497d">Well, i don’t know the perl language !<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">I tried changing the path, working in local, but it is not that ; looking at Grads User’s guide, <a href="http://www.iges.org/grads/gadoc/descriptorfile.html#VARS" target="_blank">http://www.iges.org/grads/gadoc/descriptorfile.html#VARS</a>, it could be the format of the variable records ;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">From grib2scan –V : parameter : disc, cat, num=0,2,3 and ltype, lval : 103, 1<sup> </sup>e-129<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">From gribmap –V : lev1=103,10 var=0,2,2 <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">I tried both (see « cfsr5.ctl » for example) ; the .idx is well created , but the UGRD & VGRD data are still false (« -9.99<sup> </sup>E+0.8 »).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Well, have i to learn Perl ?? any other solution ?<u></u><u></u></span></p><p class="MsoNormal">
<span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d">Is gribmap working well with grib2 files ?<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Antoine<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>De la part de</b> Antoine Molin<br>
<b>Envoyé :</b> lundi 2 juillet 2012 15:37<br><b>À :</b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><b>Objet :</b> [gradsusr] creating ctl files<u></u><u></u></span></p></div></div>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Good morning,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am trying to create a ctl file for grb2 files, and it doesn’t work ; see enclosed the grb2 file and my creation…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Well, could you tell me where i could find a grib2ctl.exe under windows ? i am using the grads-2.0.1.oga.1-win32_superpack.<u></u><u></u></p><p class="MsoNormal">
If this grib2ctl.exe doesn’t exist under windows, could you please tell me what is wrong with my .ctl ?<u></u><u></u></p><p class="MsoNormal">In fact, i can create the .idx with gribmap, but all my data are false…<u></u><u></u></p>
<p class="MsoNormal">THanks a lot.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span>Antoine Molin<u></u><u></u></span></p><p class="MsoNormal"><span>Etudes de vent PlenR<u></u><u></u></span></p>
<p class="MsoNormal"><span>Tel : 03 20 47 99 76<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br>