<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, Laura — <div>GrADS employs the udunits library to check the units fields of a netcdf file. It seems that your time axis unit, “Days since …” is not acceptable. You must change it to “days since …” in order for the library to recognize it. That is why you are getting the error message that says there is no discernable time coordinate. The second problem, “…file does not have any non-coordinate values”, stems from the fact that it didn’t find a time axis. Once you fix the time axis units, sdfopen should work properly. </div><div>—Jennifer</div><div><br><div><div>On Jan 13, 2015, at 2:40 PM, Zamboni, Laura <<a href="mailto:lzamboni@mcs.anl.gov">lzamboni@mcs.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Tahoma; font-size: 10pt;">Hello,<br>
<br>
after updating from 2.0.2 to 2.1.a2 I am no longer able to read a NetCDF file I create using Matlab. This is the error message:<br>
SDF file has no discernable time coordinate -- using default values.<br>
gadsdf: SDF file does not have any non-coordinate variables.<br>
<br>
Ideas?<br>
Thanks,<br>
Laura<br>
<br>
These are the attributes of the nc file:<br>
<br>
dimensions:<br>
longitude = 360 ;<br>
latitude = 180 ;<br>
time = 1 ;<br>
level = 1 ;<br>
variables:<br>
double longitude(longitude) ;<br>
longitude:long_name = "Longitude" ;<br>
longitude:units = "degrees_east" ;<br>
double latitude(latitude) ;<br>
latitude:lat_name = "Latitude" ;<br>
latitude:units = "degrees_north" ;<br>
double time(time) ;<br>
time:long_name = "Time" ;<br>
time:calendar_type = "JULIAN" ;<br>
time:units = "Days since 1950-01-01 00:00:00" ;<br>
double level(level) ;<br>
level:long_name = "Level" ;<br>
level:units = "hPa" ;<br>
double p2(level, time, latitude, longitude) ;<br>
p2:long_name = "quadratic" ;<br>
p2:units = "mm/day" ;<br>
p2:missing_value = -999000000. ;<br>
double p1(level, time, latitude, longitude) ;<br>
p1:long_name = "linear" ;<br>
p1:units = "mm/day" ;<br>
p1:missing_value = -999000000. ;<br>
double p0(level, time, latitude, longitude) ;<br>
p0:long_name = "const" ;<br>
p0:units = "(mm/day)" ;<br>
p0:missing_value = -999000000. ;<br>
double ra(level, time, latitude, longitude) ;<br>
ra:long_name = "range quadratic term" ;<br>
ra:units = "mm/day" ;<br>
ra:missing_value = -999000000. ;<br>
double rb(level, time, latitude, longitude) ;<br>
rb:long_name = "range linear term" ;<br>
rb:units = "mm/day" ;<br>
rb:missing_value = -999000000. ;<br>
<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">------------------------- <br>
Laura Zamboni, PhD<br>
<div style="font-family:Tahoma; font-size:13px">Climate Scientist<br>
University of Chicago and Argonne National Laboratory<br>
9700 S.Cass Ave<br>
TCS Bldg #240, room 4152<br>
Argonne, IL 60439<br>
ph.+<span class="" id="OBJ_PREFIX_DWT80_com_zimbra_phone"><a href="callto:1%20630-252-1131" tabindex="0">1 630-252-1131</a></span><br>
fax. +<span class="" id="OBJ_PREFIX_DWT81_com_zimbra_phone"><a href="callto:1%20630-252-5986" tabindex="0">1 630-252-5986</a></span><br>
web: <span class="Object" id="OBJ_PREFIX_DWT82_com_zimbra_url"><span class="Object" id="OBJ_PREFIX_DWT83_com_zimbra_url"><a target="_blank" href="http://www.mcs.anl.gov/%7Elzamboni/" tabindex="0">http://www.mcs.anl.gov/~lzamboni/</a></span></span></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>