[gradsusr] dset and option template

Jeff Duda jeffduda319 at gmail.com
Mon Nov 13 11:21:28 EST 2017


Did you try 0%h2 instead of %f3? What number do those last 3 digits truly
represent?

On Mon, Nov 13, 2017 at 4:27 AM, Ivana Kordic <ivanakordic2207 at gmail.com>
wrote:

> Hi all,
>
> I have list of data in folders like this (I have whole year of data) this
> is just example for one day:
>
> /mnt/data/hindcast/17110300/data_000
> /mnt/data/hindcast/17110300/data_001
> /mnt/data/hindcast/17110300/data_002
> .
> .
> .
> /mnt/data/hindcast/17110300/data_030
>
>
> I want my ctl file reads files from these folders. I am using option
> template function
> and it look like this:
>
> dset  /mnt/data/hindcast/%y2%m2%d200/data_%f3
>
> this works but only for first 24 hour of forecast (not for all 30 hours),
> this is because after 23rd hour day is changed to 04
> this is the error that I get:
>  grib1map:  opening GRIB file: /mnt/data/hindcast/17110300/data_023
>  grib1map:  opening GRIB file: /mnt/data/hindcast/17110400/data_024
>  grib1map warning: could not open GRIB file: /mnt/data/hindcast/17110400/
> latlon_024
>
> I also tried this
>
> dset  /mnt/data/hindcast/%y2%m2%ch00/data_%f3
>
> chsub 1 31 03
>
> And this works for all 30 hours. But not for every day of month and leap
> year.
>
> Does someone know how to use option template to solve this?
> Thanks in advance.
> Ivana
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171113/d13d4d38/attachment.html 


More information about the gradsusr mailing list