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

Alexandre Santos puffy78 at gmail.com
Mon Apr 27 13:17:59 EDT 2015


Olá Grande Helio,

como já conheço vc e sei que és Brasileiro vou responder sua dúvida em
português mesmo...kkkk


Primeiro vc tem precisa dos arquivos g2ctl (perl) e o wgrib2 na sua máquina.

Os meus arquivos são no formato gfs.t00z.pgrb2.1p00.f000

Execute os seguintes comandos:

1. g2ctl.pl gfs.t00z.pgrb2.1p00.f%f3 > gfs.ctl
2. gribmap -i gfs.ctl


grande abraço Helio e saudade das boas reuniões climáticas.

Puffy





2015-04-27 13:27 GMT-03:00 Helio Camargo <heliocamargo at gmail.com>:

> 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/720626ad/attachment.html 


More information about the gradsusr mailing list