<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You need to use a descriptor file with a TDEF statement. Please have a look at <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a>. The xdfopen command will probably meet your needs. <div>--Jennifer</div><div><br></div><div><br></div><div><br><div><div>On Nov 10, 2011, at 2:00 AM, afzaalkarori wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; font-size: medium; "><div style="padding-bottom: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "><table id="Table_01" border="0" cellspacing="0" cellpadding="0" width="99.99%" style="font-family: Verdana, Arial, Helvetica, sans-serif; "><tbody><tr><td valign="top" background="cid:__2@Foxmail.net"><span><spacer.gif></span></td><td valign="top" background="cid:__3@Foxmail.net"> </td><td valign="top" background="cid:__4@Foxmail.net"><span><tr.jpg></span></td></tr><tr><td valign="top" background="cid:__5@Foxmail.net"> </td><td valign="top" background="cid:__3@Foxmail.net" width="100%" style="padding-bottom: 70px; padding-left: 30px; padding-right: 0px; height: 300px; padding-top: 0px; "><table width="100%" style="margin-top: 0px; margin-left: 0px; "><tbody><tr><td valign="top" style="line-height: 22px; "><font color="#265800" size="2"><div style="width: 806px; white-space: normal; word-break: break-all; "><div><font color="#000000" size="+0">Dear GrADS Users!</font></div><div><font color="#000000" size="+0">I am running opengrads v2.0.1.oga1 on windows xp PC. I need to open an NC file (->sdfopen filename.nc) but gives following error</font></div><div><font color="#ff0000">-> Scanning self-describing file: D:\E\data\sst\HadOIBl\sst_HadOIBl_bc_64x128_1949_2001_c020411.nc</font></div><div><div><font color="#ff0000">gadsdf: Error parsing time_units for SDF file.</font></div><div><font color="#000000" size="3">The ncdump yielded following header information about file</font></div><div><font color="#000000" size="3"><font color="#ff0000" size="2">netcdf sst_HadOIBl_bc_64x128_1949_2001_c020411 {</font></font></div><font color="#000000" size="3"></font><div><font color="#000000" size="3"><div><font color="#ff0000" size="2">dimensions:</font></div><div><font color="#ff0000" size="2"> time = UNLIMITED ; // (634 currently)</font></div><div><font color="#ff0000" size="2"> lon = 128 ;</font></div><div><font color="#ff0000" size="2"> lat = 64 ;</font></div><div><font color="#ff0000" size="2">variables:</font></div><div><font color="#ff0000" size="2"> double time(time) ;</font></div><div><font color="#ff0000" size="2"> time:units = "day as %Y%m%d.%f" ;</font></div><div><font color="#ff0000" size="2"> time:axis = "T" ;</font></div><div><font color="#ff0000" size="2"> double lon(lon) ;</font></div><div><font color="#ff0000" size="2"> lon:units = "degrees_east" ;</font></div><div><font color="#ff0000" size="2"> lon:long_name = "longitude" ;</font></div><div><font color="#ff0000" size="2"> lon:axis = "X" ;</font></div><div><font color="#ff0000" size="2"> lon:topology = "circular" ;</font></div><div><font color="#ff0000" size="2"> lon:modulo = 360. ;</font></div><div><font color="#ff0000" size="2"> double lat(lat) ;</font></div><div><font color="#ff0000" size="2"> lat:units = "degrees_north" ;</font></div><div><font color="#ff0000" size="2"> lat:long_name = "latitude" ;</font></div><div><font color="#ff0000" size="2"> lat:axis = "Y" ;</font></div><div><font color="#ff0000" size="2"> float SST_cpl(time, lat, lon) ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:comment = "Melded Boundary Condition Data: Mid-Month SST</font></div><div><font color="#ff0000" size="2"> (C)" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:long_name = "BCS Pseudo SST" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:units = "deg_C" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:grid_name = "gaussian" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:grid_type = "gaussian" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:level_description = "Earth surface" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:subgrid = "time:point" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:axis = "TYX" ;</font></div><div><font color="#ff0000" size="2"> SST_cpl:missing_value = 1.e+036f ;</font></div><div><font color="#ff0000" size="2"> float ice_cov(time, lat, lon) ;</font></div><div><font color="#ff0000" size="2"> ice_cov:comment = "Melded Boundary Condition Data: Mid-Month Sea</font></div><div><font color="#ff0000" size="2"> Ice Concentration" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:long_name = "BCS Pseudo Sea-ice concentration" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:units = "fraction" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:grid_name = "gaussian" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:grid_type = "gaussian" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:level_description = "Earth surface" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:subgrid = "time:point" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:axis = "TYX" ;</font></div><div><font color="#ff0000" size="2"> ice_cov:missing_value = 1.e+036f ;</font></div><div><font color="#ff0000" size="2"> int date(time) ;</font></div><div><font color="#ff0000" size="2"> date:long_name = "current date (YYYYMMDD)," ;</font></div><div><font color="#ff0000" size="2"> int datesec(time) ;</font></div><div><font color="#ff0000" size="2"> datesec:long_name = "current seconds of current date," ;</font></div><div><font color="#ff0000" size="2"></font></div><div><font color="#ff0000" size="2">// global attributes:</font></div><div><font color="#ff0000" size="2"> :Conventions = "none" ;</font></div><div><font color="#ff0000" size="2"> :appendices = 1 ;</font></div><div><font color="#ff0000" size="2"> :calendar = "noleap" ;</font></div><div><font color="#ff0000" size="2"> :comment = "hadisst/reynolds data melded by J. Hurrell, Climate</font></div><div><font color="#ff0000" size="2">Analysis Section, NCAR" ;</font></div><div><font color="#ff0000" size="2"> :production = "obs" ;</font></div><div><font color="#ff0000" size="2"> :institution = "NCAR" ;</font></div><div><font color="#ff0000" size="2"> :history = "Wed Apr 10 17:50:37 2002: ncatted -a long_name,dates</font></div><div><font color="#ff0000" size="2">ec,o,c,current seconds of current date, amipbc_sst_T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:37 2002: ncatted -a long_name,date,o,c,current date (YYYYM</font></div><div><font color="#ff0000" size="2">MDD), amipbc_sst_T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:36 2002: ncatted -a comment,global,o,c,hadisst/reynolds da</font></div><div><font color="#ff0000" size="2">ta melded by J. Hurrell, Climate Analysis Section, NCAR amipbc_sst_T42_1949_2001</font></div><div><font color="#ff0000" size="2">.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:36 2002: ncatted -a Conventions,global,o,c,none amipbc_sst</font></div><div><font color="#ff0000" size="2">_T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:36 2002: ncatted -a units,ice_cov,o,c,fraction amipbc_sst_</font></div><div><font color="#ff0000" size="2">T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:35 2002: ncatted -a long_name,ice_cov,o,c,BCS Pseudo Sea-i</font></div><div><font color="#ff0000" size="2">ce concentration amipbc_sst_T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:35 2002: ncatted -a units,SST_cpl,o,c,deg_C amipbc_sst_T42</font></div><div><font color="#ff0000" size="2">_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:35 2002: ncatted -a long_name,SST_cpl,o,c,BCS Pseudo SST a</font></div><div><font color="#ff0000" size="2">mipbc_sst_T42_1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:34 2002: ncks -v datesec date.1949_2001.nc amipbc_sst_T42_</font></div><div><font color="#ff0000" size="2">1949_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:31 2002: ncks -v date date.1949_2001.nc amipbc_sst_T42_194</font></div><div><font color="#ff0000" size="2">9_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:17 2002: ncrename -d longitude,lon -d latitude,lat -v long</font></div><div><font color="#ff0000" size="2">itude,lon -v latitude,lat -v tosbcs,SST_cpl -v sicbcs,ice_cov amipbc_sst_T42_194</font></div><div><font color="#ff0000" size="2">9_2001.nc\n",</font></div><div><font color="#ff0000" size="2"> "Wed Apr 10 17:50:16 2002: ncks -v sicbcs amipbc_ice_T42_1949_2001.nc amipbc</font></div><div><font color="#ff0000" size="2">_sst_T42_1949_2001.nc" ;</font></div><div><font color="#ff0000" size="2">}</font></div></font></div></div><div> </div><div><font color="#c0c0c0">2011-11-10</font> </div><hr align="left" size="2" style="width: 122px; height: 2px; "><div><font color="#c0c0c0"><span><div><div><font face="Verdana"></font><font size="4" face="Franklin Gothic Book">Muhammad Afzaal Karori</font></div><div><font face="Franklin Gothic Book">Institute of Atmospheric Physics</font></div><div><font face="Franklin Gothic Book">Chinese Academy of Sciences</font></div><div><font face="Franklin Gothic Book">Beijing - P.R. China</font></div><div> </div></div></span></font></div></div></font></td></tr></tbody></table></td><td valign="top" background="cid:__4@Foxmail.net" width="47"> </td></tr></tbody></table>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></span></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; "><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></span>
</div>
<br></div></body></html>