<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>That's a bug that was fixed in 2.0.a5.&nbsp;</div><div><br></div><div>The correct way to write the time axis units is:&nbsp;</div><div>"minutes since yyyy-mm-dd hh:min"</div><div><br></div><div>--Jennifer</div><div><br><div><div>On Feb 26, 2009, at 9:57 AM, Steven C Chan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello everyone,<br><br>The version of Grads involved is 2.0a3.<br><br>I am trying out the new netCDF routines for Grads, and I am having some<br>issues with how units of time is generated when sdfwrite and inability<br>to manually corrected the problem using sdfattr.<br><br>When the first sdfwrite command is used like: sdfwrite precipitation. It<br>generates a new netCDF file with the variable precipitation with also<br>the time defined with it, but the units of time is always defined like<br>"minutes since dd-mm-yyyy hr:min".</div></blockquote><br></div><div><br></div><div><blockquote type="cite"><div>It seemed Grads itself using sdfopen does not like time to be defined<br>that way; sdfopen likes "minutes since yyyy-mm-dd hr:min" (as correctly<br>stated in COARDS standard). When the incorrectly time unit defined .nc<br>file is opened with sdfopen, Grads will try to read it as yyyy-mm-dd.<br>For example:<br><br>"Minutes since 1-1-1948 00:00" as generated by sdfwrite will become:<br>01:01:19 00:00 with sdfopen (the 48 from 1948 is dropped as there is<br>obviously no day 1948 in any calender month.<br><br>Using sdfattr trying to override the units of time does not work; it<br>just simply will not allow me to do it.<br><br>Is this a known issue with sdfwrite / sdfattr?<br><br>Thanks<br>Steven Chan<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>