<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Well, i don’t know the perl language !<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></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">http://www.iges.org/grads/gadoc/descriptorfile.html#VARS</a>, it could be the format of the variable records ;<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></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<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>From gribmap –V : lev1=103,10 var=0,2,2 <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></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 »).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Well, have i to learn Perl ?? any other solution ?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Is gribmap working with grib2 files ?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Antoine<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></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";color:windowtext;mso-fareast-language:FR'>De :</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR'> grads [mailto:grads@weatherbadger.com] <br><b>Envoyé :</b> mercredi 4 juillet 2012 13:09<br><b>À :</b> GrADS Users Forum<br><b>Cc :</b> Antoine Molin<br><b>Objet :</b> Re: [gradsusr] creating ctl files<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt'>Getting grib2ctl working: I find the Perl script grib2ctl.pl works fine with Windows.<br>Install Perl - or make sure it's in the $PATH<br>Then "Perl grib2ctl.pl...." <br><br>Actually... I think I had to comment out the line "use POSIX;" and/or "use Math::Trig qw(deg2rad rad2deg);" to make the Perl script work on my windows system.<br><br>Looking at your ctl file, the full paths C:\OpenGrADS\CFSR\datafiles\wnd10mx0.5.cdas1.201104.grb2 may cause problems. Grads in Windows doesn't like back slashes "\" with directory references. Try ^wnd10mx0.5.cdas1.201104.grb2 or replacing the filepath back slashes to forward slashes "/"...<br><br>James<br><br><br></span><br>On 02/07/12 14:36, Antoine Molin wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Good morning,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></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…<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></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.<o:p></o:p></p><p class=MsoNormal>If this grib2ctl.exe doesn’t exist under windows, could you please tell me what is wrong with my .ctl ?<o:p></o:p></p><p class=MsoNormal>In fact, i can create the .idx with gribmap, but all my data are false…<o:p></o:p></p><p class=MsoNormal>THanks a lot.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:FR'>Antoine Molin</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:FR'>Etudes de vent PlenR</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:FR'>Tel : 03 20 47 99 76</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'><br><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>gradsusr mailing list<o:p></o:p></pre><pre><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><o:p></o:p></pre><pre><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><o:p></o:p></pre></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR'><o:p> </o:p></span></p></div></body></html>