<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Antoine,<div><br></div><div>I'm not sure if you can template this dataset "as is" in grads. Each daily file contains 4 forecasts initialized every 6 hours, and each forecast runs out to 9 hours. So there is a 3-hr overlap between consecutive forecasts. Some time levels will have data from two different forecasts. Your ctl file, as it stands, can't account for the overlapping forecasts. It may be possible to handle this situation using the ensemble dimension, treating each 9-hr forecast as a separate ensemble member, but it may be tricky (different data formats have different templating requirements). See the following link:</div><div><br></div><div>http://grads.iges.org/grads/gadoc/ensembles.html</div><div><br></div><div>You may also have to re-organize your data by using wgrib2 to extract the data for each 9-hr forecast from the daily files, and write each forecast into its own individual file. This will make it easier to handle the staggered initial times.</div><div><br></div><div>Best regards,<span><br><br><span name="x"></span>Eric L. Altshuler<br>Assistant Research Scientist<br>Center for Ocean-Land-Atmosphere Studies<br>4041 Powder Mill Road, Suite 302<br>Calverton, MD 20705-3106<br>USA<br><br>E-mail: ela@cola.iges.org<br>Phone: (301) 902-1257<br>Fax: (301) 595-9793<span name="x"></span><br></span><br><hr id="zwchr"><b>From: </b>"Antoine Molin" <amolin@plenr.fr><br><b>To: </b>gradsusr@gradsusr.org<br><b>Sent: </b>Tuesday, November 13, 2012 6:17:37 AM<br><b>Subject: </b>[gradsusr] reading ds094.0 data with template<br><br><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"> </p><p class="MsoNormal">Using ds094.0 daily files like : « cdas1.20121001.pgrbh.grb2 », each data at time 00h is<span class="apple-converted-space"> </span>-9.99E+08.</p><p class="MsoNormal">It is not a problem if i want to read one day file : if the first data at 00h is false, it can be obtained as last data of the day before.</p><p class="MsoNormal">But if i want to read one month with daily files (see enclosed files) using template, all my data at t=00h are false ; See the U_wind data at lat 45, lon 5, t=1 to 744 in grads_IEE.txt.</p><p class="MsoNormal"> </p><p class="MsoNormal">i think that perhaps my .ctl is not good ? I tried undef= -9.99 e+08 and undef=9.999E+20, but it doesn’t change anything.</p><p class="MsoNormal"> </p><p class="MsoNormal">In fact we have 2 data for time 00h in these files, and the false one is read.</p><p class="MsoNormal"> </p><p class="MsoNormal">So I think i am not using « template » as it should ! Is there a change to do in my .ctl ?? </p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks, and best regards.</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="mso-fareast-language:FR">Antoine Molin</span></p><p class="MsoNormal"><span style="mso-fareast-language:FR">Etudes de vent PlenR</span></p><p class="MsoNormal"><span style="mso-fareast-language:FR">Tel : 03 20 47 99 76</span></p><p class="MsoNormal"><span style="color:#0070C0"> </span></p></div><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div></body></html>