<div dir="ltr"><div>Get yourself a copy of the perl scripts <a href="http://grib2ctl.pl">grib2ctl.pl</a> and g2ctl from NCEP (a Google search will turn them up). Those will create control files from GRIB data. Then run gribmap on the control files to create an index file. When that&#39;s done successfully, you will be able to plot the data in GrADS.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 26, 2015 at 5:05 AM, dolesibeni <span dir="ltr">&lt;<a href="mailto:dolesibeni@gmail.com" target="_blank">dolesibeni@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br></div><div>Dear All,</div><div>I am new to grib1 and grib2 data,  I downloaded these data sets from ECMWF site and the data is .grib and grb2 formart. I would like to work this data for a case study of extreme rainfall event and flooding that took place in my country.</div><div>I downloaded this data becuase i wanted a high resolution data set and i was unable to get this thro7gh groogling. The data set contains, u and v components,precipitation totals, temperatures etc.</div><div>Could anyone help how i can read this data using grads or hown i can convert it to netcdf format which i am familiar with. I tried to do the following:</div><div>In windows  &gt;cdo -f nc copy grip file <a href="http://outputfile.nc" target="_blank">outputfile.nc</a></div><div> And i am getting an error </div><div>Please help</div><div><br></div><div><br></div><div><br></div><div><div style="font-size:100%">Sent from Samsung tablet</div></div> <br>Davide Sacchetti &lt;<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>You are making same mess with template ... I try to show 2 solutions:<br><br>you could cat all your files into a single one and avoiding template<br>or splitting each of them into 12 (months) files. Using this second<br>chance you could use template sal.%y4%m2.grb<br><br>hoping it helps ...<br><br>bye bye<br>Davide<br><br>On Tue, 2015-02-24 at 11:33 +0100, Andrew Friedman wrote:<br>&gt; Hi GrADS users,<br>&gt; <br>&gt; This is my first time using GRIB data or templates in GrADS, so I<br>&gt; apologize if this question is basic.<br>&gt; <br>&gt; <br>&gt; I&#39;m trying to open a set of annual salinity GRIB files (from Ishii et<br>&gt; al.) using the GrADS template feature:<br>&gt; <a href="http://www.iges.org/grads/gadoc/templates.html" target="_blank">http://www.iges.org/grads/gadoc/templates.html</a><br>&gt; <br>&gt; The files are sequential by year: sal.1945.grb sal.1946.grb<br>&gt; sal.1947.grb .... sal.2012.grb ....<br>&gt; <br>&gt; However, when I open the control file (below) with the templating<br>&gt; feature it only opens the first year (1945). I am able to open<br>&gt; individual files by modifying the control file, however.<br>&gt; <br>&gt; Do you know what I am missing to get all of the files to load at once?<br>&gt; <br>&gt; <br>&gt; <br>&gt; I downloaded the data from<br>&gt; <a href="https://amaterasu.ees.hokudai.ac.jp/~ism/pub/ProjD/v6.13/sal/grib/" target="_blank">https://amaterasu.ees.hokudai.ac.jp/~ism/pub/ProjD/v6.13/sal/grib/</a><br>&gt; <br>&gt; The control file sal.ctl is as follows:<br>&gt; -----------------------------------------------------------<br>&gt; DSET  ^sal.%y4.grb<br>&gt; INDEX ^sal.idx<br>&gt; dtype  grib 255<br>&gt; TITLE ANALYZED SALINITY AND ANALYSIS ERROR Ver. 6.13 <a href="mailto:ism@jamstec.go.jp" target="_blank">ism@jamstec.go.jp</a><br>&gt; OPTIONS template<br>&gt; UNDEF  99999<br>&gt; XDEF 360 LINEAR     .5  1.00<br>&gt; YDEF 180 LINEAR  -89.5  1.00<br>&gt; ZDEF  24 LEVELS 0 10 20 30 50 75 100 125 150 200 250 300 400 500 600<br>&gt; 700 800 900 1000 1100 1200 1300 1400 1500<br>&gt; TDEF 816 LINEAR 15jan1945 1mo<br>&gt; VARS   2<br>&gt; s     24  88,160,0  salinity       [psu]<br>&gt; e     24 129,160,0  analysis error [psu]<br>&gt; ENDVARS<br>&gt; -----------------------------------------------------------<br>&gt; <br>&gt; Thanks,<br>&gt; <br>&gt; Andrew<br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br>-- <br>Davide Sacchetti<br>Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>ARPAL Unità Tecnica Complessa di livello Regionale<br>V.le Brigare Partigiane 2 16121 Genova (I)<br>tel: +39 010 6437535                    fax: +39 010 6437520<br>mail: <a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>     web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br><br><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> </div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">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><br clear="all"><br>-- <br><div class="gmail_signature">Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br></div>
</div>