[gradsusr] %f3 gribmap template starting at different fct time steps

Wesley Ebisuzaki - NOAA Federal wesley.ebisuzaki at noaa.gov
Mon Apr 27 13:23:42 EDT 2015


Hi,

  Download the

    gfs.t00z.pgrbf000.grib2

G2ctl assumes that templated forecast files start with fhour = 0.  Since a
fhr = 0 precip
may not exist, you have two choices.

   (1) edit the ctl file by

           tdef 9 linear 03Z27Apr2015 3hr to tdef 10 linear 00Z27Apr2015 3hr
                             (date)        (dt)

On Mon, Apr 27, 2015 at 12:27 PM, Helio Camargo <heliocamargo at gmail.com>
wrote:

> Hello GrADS users!
>
> I have a ctl file and I´d like to template is starting at different time
> steps. Gribmap works perfectly when tdef is set at 00Z27Apr2015. But if I
> want to gribmap starting from, let´s say, 03Z27Apr2015 (ctl file example
> below), it still understands I want to template since
> gfs.t00z.pgrbf000.grib2 and issues an outside file limits message (also
> below). Any hints on how could this problem be solved?
>
> Cheers!
>
> --
> Helio
>
> *****example ctl ***************
> dset ^gfs.t00z.pgrbf%f3.grib2
> index ^gfs.t00z.pgrb.grib2.idx
> options template
> undef 9.999E+20
> title gfs.t00z.pgrbf180.grib2
> dtype grib2
> ydef 81 linear -60.000000 1
> xdef 81 linear 260.000000 1.000000
> tdef 9 linear 03Z27Apr2015 3hr
> zdef 1 linear 1 1
> vars 1
> prec   0,1,0   0,1,8,1 ** surface Total Precipitation [kg/m^2]
> ENDVARS
> ********************
>
>
> *****gribmap verbose output****************
> ...
> grib2map: scanning GRIB2 file: gfs.t00z.pgrbf003.grib2
> 1.1: lev1=1,0 var=0,1,8,1 valid time 2015042703:00 (it=1) is outside file
> limits (2-2)
> grib2map: scanning GRIB2 file: gfs.t00z.pgrbf006.grib2
> 1.1: lev1=1,0 var=0,1,8,1 valid time 2015042706:00 (it=2) is outside file
> limits (3-3)
> grib2map: scanning GRIB2 file: gfs.t00z.pgrbf009.grib2
> 1.1: lev1=1,0 var=0,1,8,1 valid time 2015042709:00 (it=3) is outside file
> limits (4-4)
> grib2map: scanning GRIB2 file: gfs.t00z.pgrbf012.grib2
> ...
> *********************
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150427/951e58df/attachment.html 


More information about the gradsusr mailing list