<div dir="ltr"><div><div><div><div><div><div><div>Nicholas,<br><br></div>The tdef line of the ctl file is wrong. Try<br><br>tdef 12 linear 06Z04dec2013 3hr<br><br></div>For the %f2 option, the date code has to be the starting time of the forecast<br>
</div>even though you don't have this data file. The max forecast is 33 hours, so<br>you need 12 for the number of 3 hour time steps. To make the index<br></div>file, <br><br></div> alt_gmp -i cat.ctl<br><br></div>
The same tdef line should also work with the g2ctl created ctl file.<br><br></div>Wesley<br><br><div><div><div><div><br><br><br><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 9:19 AM, Nicolás Rivaben <span dir="ltr"><<a href="mailto:nrivaben@smn.gov.ar" target="_blank">nrivaben@smn.gov.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">All,<br>
<br>
I have a file "cat.ctl", that works for one file (20131204_0600f06.grib2).<br>
So, I modified the .ctl using templates ("%f2") because there are 11 files:<br>
<br>
**********************<br>
dset ^20131204_0600f%f2.grib2<br>
dtype grib2<br>
title PRODUCTOS<br>
options pascals template<br>
index ^pepito.idx<br>
undef 9.999E+20<br>
ydef 145 linear -90.000000 1.25<br>
xdef 288 linear 0.000000 1.250000<br>
zdef 6 levels 40000 35000 30000 25000 20000 15000<br>
tdef 1 linear 12Z04dec2013 3hr<br>
vars 2<br>
catave 6,100 0,19,22,0,3 CAT spatial ave<br>
catmax 6,100 0,19,22,2,3 CAT spatial max<br>
endvars<br>
**************************<br>
<br>
Note: I haven't got analysis, only forecast: +6, +9, +12, +15....+36hs.<br>
<br>
The files are:<br>
<br>
20131204_0600f06.grib2<br>
20131204_0600f09.grib2<br>
20131204_0600f12.grib2<br>
20131204_0600f15.grib2<br>
20131204_0600f18.grib2<br>
.<br>
.<br>
.<br>
20131204_0600f33.grib2<br>
20131204_0600f36.grib2<br>
<br>
Then I execute gribmap -v cat.ctl and not works.<br>
<br>
So, I try to generate IDX files using "alt_gmp":<br>
<br>
$ perl <a href="http://alt_gmp.pl" target="_blank">alt_gmp.pl</a> -0 -i cat.ctl<br>
<br>
and also doesn't work. I show on the image attached.<br>
<br>
What are the problem? I'm using W7, OpenGrads 2.0.1oga.1..<br>
<br>
Thanks for your attention.<span class=""><font color="#888888"><br>
<br>
<br>
-- <br>
Nicolás Rivaben.-<br>
<br>
Departamento de Meteorología Aeronáutica - Gerencia de Servicios a la Comunidad-<br>
Servicio Meteorológico Nacional -SMN-<br>
25 de Mayo 658 - C1002ABN - Ciudad de Buenos Aires -Argentina-<br>
<a href="tel:%2B54%2011%205167%206767" value="+541151676767" target="_blank">+54 11 5167 6767</a> (int. 18235)<br>
<br>
</font></span><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></div></div></div></div></div></div></div></div></div></div></div>