[gradsusr] dset and option template
ivanakordic2207 at gmail.com
Tue Nov 14 05:05:39 EST 2017
Thanks for your reply.
Those last 3 digits are forecast hours, from 000 to 030. But that was not
the problem, %f3 works fine for me. The problem was this part in folder
that represents year, month, day and modelrun %y2%m2%d200 (%y2%m2%ch00).
I solved this by using script to copy data to temporary folder, where I
just execute maps.
But I am still interested in whether is it possible to set up date in
control file in GrADS to be initial date, and not changing with time step?
On Mon, Nov 13, 2017 at 5:21 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
> Did you try 0%h2 instead of %f3? What number do those last 3 digits truly
> On Mon, Nov 13, 2017 at 4:27 AM, Ivana Kordic <ivanakordic2207 at gmail.com>
>> Hi all,
>> I have list of data in folders like this (I have whole year of data) this
>> is just example for one day:
>> 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:
>> 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
>> Does someone know how to use option template to solve this?
>> Thanks in advance.
>> gradsusr mailing list
>> gradsusr at gradsusr.org
> Jeff Duda
> Post-doctoral research fellow
> University of Oklahoma School of Meteorology
> gradsusr mailing list
> gradsusr at gradsusr.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gradsusr