[gradsusr] help with templating
Ricardo Hallak
ricardo.hallak at iag.usp.br
Tue Dec 9 01:44:42 EST 2014
Jeff,
I think you should define your tdef as something like that:
tdef 26 linear 00Z19may2013 1hr
once gribmap will skip the first 19 times, and template will treat your selected files correctly.
Hope this works,
Ricardo
----- Mensagem original -----
> De: "Jeff Duda" <jeffduda319 at gmail.com>
> Para: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Enviadas: Segunda-feira, 8 de Dezembro de 2014 19:04:39
> Assunto: Re: [gradsusr] help with templating
> Yes.
> tdef 8 linear 19Z19may2013 1hr
> Jeff
> On Mon, Dec 8, 2014 at 2:58 PM, James T. Potemra < jimp at hawaii.edu >
> wrote:
> > Jeff:
>
> > How do you define time in your control.ctl file? Do you define the
> > start time to be 19:00?
>
> > Jim
>
> > On 12/8/14, 10:55 AM, Jeff Duda wrote:
>
> > > I have a series of post-processed WRF files that were run through
> > > the
> > > UPP. I selected only a certain range of forecast hours to be
> > > processed (fhrs 19 through 26). To view these data using one
> > > control
> > > file in GrADS I used the following template string
> >
>
> > > dset ^WRFPRS_d01.%f2
> >
>
> > > which corresponds to file names like
> >
>
> > > WRFPRS_d01.22
> >
>
> > > WRFPRS_d01.23
> >
>
> > > WRFPRS_d01.24
> >
>
> > > WRFPRS_d01.25
> >
>
> > > Yet when I run gribmap, I get errors because it assumes I'm
> > > starting
> > > at hour 00:
> >
>
> > > -bash-4.1$ gribmap -e -i control.ctl
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.00
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.00
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.01
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.01
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.02
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.02
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.03
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.03
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.04
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.04
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.05
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.05
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.06
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.06
> >
>
> > > grib1map: opening GRIB file: WRFPRS_d01.07
> >
>
> > > grib1map warning: could not open GRIB file: WRFPRS_d01.07
> >
>
> > > grib1map: reached end of files
> >
>
> > > grib1map: writing the map...
> >
>
> > > If I change the template string to %h2 instead of %f2, it resets
> > > to
> >
>
> > > WRFPRS_d01.00
> >
>
> > > after looking for
> >
>
> > > WRFPRS_d01.23,
> >
>
> > > so it doesn't encompass the entire forecast range I'm looking
> > > for.
> >
>
> > > I can get around this problem by using the %ch template string,
> > > but
> > > this seems unnecessarily complicated for what I'm trying to do.
> > > Does
> > > anyone know why this happens or have a suggestion for a better
> > > template?
> >
>
> > > Jeff Duda
> >
>
> > > --
> >
>
> > > Jeff Duda
> >
>
> > > Graduate research assistant
> >
>
> > > University of Oklahoma School of Meteorology
> >
>
> > > Center for Analysis and Prediction of Storms
> >
>
> > > _______________________________________________
> >
>
> > > gradsusr mailing list gradsusr at gradsusr.org
> > > http://gradsusr.org/mailman/listinfo/gradsusr
> >
>
> > _______________________________________________
>
> > gradsusr mailing list
>
> > gradsusr at gradsusr.org
>
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> _______________________________________________
> 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/20141209/704d1f6a/attachment-0001.html
More information about the gradsusr
mailing list