<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/<wbr>data_000</div><div>/mnt/data/hindcast/17110300/<wbr>data_001</div><div>/mnt/data/hindcast/17110300/<wbr>data_002</div><div>.</div><div>.</div><div>.</div><div>/mnt/data/hindcast/17110300/<wbr>data_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%<wbr>d200/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/<wbr>data_023 </div><div> grib1map: opening GRIB file: /mnt/data/hindcast/17110400/<wbr>data_024 </div><div> grib1map warning: could not open GRIB file: /mnt/data/hindcast/17110400/<wbr>latlon_024</div></div><div><br></div><div>I also tried this </div><div><br></div><div>dset /mnt/data/hindcast/%y2%m2%<wbr>ch00/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="HOEnZb"><font color="#888888"><div>Ivana</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><br clear="all"><br>-- <br><div class="gmail_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>
</div>