<div dir="ltr"><div>Hi Jeff,</div><div>Thanks for your reply.</div><div>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).</div><div>I solved this by using script to copy data to temporary folder, where I just execute maps.</div><div>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?</div><div>Thanks.</div><div>Ivana </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 13, 2017 at 5:21 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you try 0%h2 instead of %f3? What number do those last 3 digits truly represent?<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 13, 2017 at 4:27 AM, Ivana Kordic <span dir="ltr"><<a href="mailto:ivanakordic2207@gmail.com" target="_blank">ivanakordic2207@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div><br><div>I have list of data in folders like this (I have whole year of data) this is just example for one day:</div><div><br></div><div>/mnt/data/hindcast/17110300/da<wbr>ta_000</div><div>/mnt/data/hindcast/17110300/da<wbr>ta_001</div><div>/mnt/data/hindcast/17110300/da<wbr>ta_002</div><div>.</div><div>.</div><div>.</div><div>/mnt/data/hindcast/17110300/da<wbr>ta_030<br></div><div><br></div><div><br><div>I want my ctl file reads files from these folders. I am using option template function</div><div>and it look like this:</div><div><br></div><div>dset /mnt/data/hindcast/%y2%m2%d200<wbr>/data_%f3</div></div></div><div><br></div><div>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</div><div>this is the error that I get:</div><div><div> grib1map: opening GRIB file: /mnt/data/hindcast/17110300/da<wbr>ta_023 </div><div> grib1map: opening GRIB file: /mnt/data/hindcast/17110400/da<wbr>ta_024 </div><div> grib1map warning: could not open GRIB file: /mnt/data/hindcast/17110400/la<wbr>tlon_024</div></div><div><br></div><div>I also tried this </div><div><br></div><div>dset /mnt/data/hindcast/%y2%m2%ch00<wbr>/data_%f3<br></div><div><br></div><div>chsub 1 31 03</div><div><br></div><div>And this works for all 30 hours. But not for every day of month and leap year.</div><div><br></div><div>Does someone know how to use option template to solve this?</div><div>Thanks in advance.</div><span class="m_-1312769710253499956HOEnZb"><font color="#888888"><div>Ivana</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-1312769710253499956gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>