Remove minus sign at -2.5<div><br></div><div>Good luck</div><div><br><br><div class="gmail_quote">2013/6/1 Qian, JianHua <span dir="ltr"><<a href="mailto:JianHua_Qian@uml.edu" target="_blank">JianHua_Qian@uml.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Jennifer,</div>
<div><br>
</div>
<div>I used "open", but still have problem:</div>
<div><br>
</div>
<div>
<div>ga-> open uwnd_3d_day_79_08.ctl</div>
<div>Scanning description file: uwnd_3d_day_79_08.ctl</div>
<div>Open Error: Missing or invalid dimension increment value</div><div class="im">
<div> --> The invalid description file record is: </div>
</div><div> --> ydef 73 linear 90.0 -2.5</div><div class="im">
<div> The data file was not opened.</div>
</div></div>
<div><br>
</div>
<div>Thanks!</div>
<div>Joshua</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Jennifer Adams <<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>><div class="im"><br>
<span style="font-weight:bold">Reply-To: </span>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
</div><span style="font-weight:bold">Date: </span>Fri, 31 May 2013 07:35:39 -0400<div><div class="h5"><br>
<span style="font-weight:bold">To: </span>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [gradsusr] xdfopen netcdf<br>
</div></div></div><div><div class="h5">
<div><br>
</div>
<div>
<div style="word-wrap:break-word">
You have written a full descriptor file, so use 'open' instead of 'xdfopen'. --Jennifer
<div><br>
<div>
<div>On May 31, 2013, at 7:05 AM, Qian, JianHua wrote:</div>
<br>
<blockquote type="cite">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Hui and Grads Users, thanks! </div>
<div>But after I added "options template", I still got the same error message:</div>
<div><br>
</div>
<div>
<div>ga-> <b>xdfopen uwnd_3d_day_79_08.ctl</b></div>
<div>Scanning Descriptor File: uwnd_3d_day_79_08.ctl</div>
<div>gadxdf error: Missing or invalid dimension size.</div>
<div> --> The invalid description file record is: </div>
<div> --> xdef 144 linear 0.0 2.5</div>
<div> The data file was not opened.</div>
</div>
<div><br>
</div>
<div>Now <b>my ctl file</b> is as follows:</div>
<div><br>
</div>
<div>
<div>dset ^uwnd.%<a href="http://y4.nc" target="_blank">y4.nc</a></div>
<div>dtype netcdf</div>
<div>title 3-D NCEP-DOE uwnd 1jan1979 to 31dec2008</div>
<div>options template</div>
<div>undef -1.e+34</div>
<div>xdef 144 linear 0.0 2.5</div>
<div>ydef 73 linear 90.0 -2.5</div>
<div>zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10</div>
<div>tdef 10958 linear 00z01jan1979 24hr</div>
<div>vars 1</div>
<div>uwnd 17 t,z,y,x m/s</div>
<div>Endvars</div>
</div>
<div><br>
</div>
<div>I do not know what is wrong with my grads descriptor file.</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Joshua</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Hui Wang - NOAA Affiliate <<a href="mailto:hui.wang@noaa.gov" target="_blank">hui.wang@noaa.gov</a>><br>
<span style="font-weight:bold">Reply-To: </span>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 30 May 2013 23:44:24 -0400<br>
<span style="font-weight:bold">To: </span>GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [gradsusr] xdfopen netcdf<br>
</div>
<div><br>
</div>
<div dir="ltr">Hi Joshua,
<div><br>
</div>
<div>I think you need to add "options template" in the ctl file.</div>
<div><br>
</div>
<div>Good luck,</div>
<div>Hui</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, May 30, 2013 at 10:32 PM, Qian, JianHua <span dir="ltr">
<<a href="mailto:JianHua_Qian@uml.edu" target="_blank">JianHua_Qian@uml.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Grads Users,</div>
<div><br>
</div>
<div>I got the following message when doing</div>
<div>xdfopen uwnd_3d_day_79_08.ctl</div>
<div><br>
</div>
<div>
<div>ga-> xdfopen uwnd_3d_day_79_08.ctl</div>
<div>Scanning Descriptor File: uwnd_3d_day_79_08.ctl</div>
<div>gadxdf error: Missing or invalid dimension size.</div>
<div> --> The invalid description file record is: </div>
<div> --> xdef 144 linear 0.0 2.5</div>
<div> The data file was not opened.</div>
</div>
<div><br>
</div>
<div>The descriptor file uwnd_3d_day_79_08.ctl is copied below:</div>
<div><br>
</div>
<div>
<div>dset ^uwnd.%<a href="http://y4.nc/" target="_blank">y4.nc</a></div>
<div>dtype netcdf</div>
<div>title 3-D NCEP-DOE uwnd 1jan1979 to 31dec2008</div>
<div>undef -1.e+34</div>
<div>xdef 144 linear 0.0 2.5</div>
<div>ydef 73 linear 90.0 -2.5</div>
<div>zdef 17 levels 1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10</div>
<div>tdef 10958 linear 00z01jan1979 24hr</div>
<div>vars 1</div>
<div>uwnd 17 t,z,y,x m/s</div>
<div>Endvars</div>
</div>
<div><br>
</div>
<div>The data files are in the current directory:</div>
<div><a href="http://uwnd.1979.nc/" target="_blank">uwnd.1979.nc</a></div>
<div><a href="http://uwnd.1980.nc/" target="_blank">uwnd.1980.nc</a></div>
<div>…</div>
<div>When I do ncdump <a href="http://uwnd.1979.nc/" target="_blank">uwnd.1979.nc</a> , I got:</div>
<div>
<div>netcdf uwnd.1979 {</div>
<div>dimensions:</div>
<div><span style="white-space:pre-wrap"></span>lon = 144 ;</div>
<div><span style="white-space:pre-wrap"></span>lat = 73 ;</div>
<div><span style="white-space:pre-wrap"></span>level = 17 ;</div>
<div><span style="white-space:pre-wrap"></span>time = UNLIMITED ; // (365 currently)</div>
<div><span style="white-space:pre-wrap"></span>nbnds = 2 ;</div>
<div>variables:</div>
<div><span style="white-space:pre-wrap"></span>float level(level) ;</div>
<div><span style="white-space:pre-wrap"></span>level:units = "millibar" ;</div>
<div><span style="white-space:pre-wrap"></span>level:actual_range = 1000.f, 10.f ;</div>
<div><span style="white-space:pre-wrap"></span>level:long_name = "Level" ;</div>
<div><span style="white-space:pre-wrap"></span>level:positive = "down" ;</div>
<div><span style="white-space:pre-wrap"></span>level:GRIB_id = 100s ;</div>
<div><span style="white-space:pre-wrap"></span>level:GRIB_name = "hPa" ;</div>
<div><span style="white-space:pre-wrap"></span>level:axis = "z" ;</div>
<div><span style="white-space:pre-wrap"></span>level:coordinate_defines = "point" ;</div>
<div><span style="white-space:pre-wrap"></span>float lat(lat) ;</div>
<div><span style="white-space:pre-wrap"></span>lat:units = "degrees_north" ;</div>
<div><span style="white-space:pre-wrap"></span>lat:actual_range = 90.f, -90.f ;</div>
<div><span style="white-space:pre-wrap"></span>lat:long_name = "Latitude" ;</div>
<div><span style="white-space:pre-wrap"></span>lat:standard_name = "latitude_north" ;</div>
<div><span style="white-space:pre-wrap"></span>lat:axis = "y" ;</div>
<div><span style="white-space:pre-wrap"></span>lat:coordinate_defines = "point" ;</div>
<div><span style="white-space:pre-wrap"></span>float lon(lon) ;</div>
<div><span style="white-space:pre-wrap"></span>lon:units = "degrees_east" ;</div>
<div><span style="white-space:pre-wrap"></span>lon:long_name = "Longitude" ;</div>
<div><span style="white-space:pre-wrap"></span>lon:actual_range = 0.f, 357.5f ;</div>
<div><span style="white-space:pre-wrap"></span>lon:standard_name = "longitude_east" ;</div>
<div><span style="white-space:pre-wrap"></span>lon:axis = "x" ;</div>
<div><span style="white-space:pre-wrap"></span>lon:coordinate_defines = "point" ;</div>
<div><span style="white-space:pre-wrap"></span>double time(time) ;</div>
<div><span style="white-space:pre-wrap"></span>time:units = "hours since 1800-1-1 00:00:0.0" ;</div>
<div><span style="white-space:pre-wrap"></span>time:long_name = "Time" ;</div>
<div><span style="white-space:pre-wrap"></span>time:actual_range = 1569072., 1577808. ;</div>
<div><span style="white-space:pre-wrap"></span>time:delta_t = "0000-00-01 00:00:00" ;</div>
<div><span style="white-space:pre-wrap"></span>time:standard_name = "time" ;</div>
<div><span style="white-space:pre-wrap"></span>time:axis = "t" ;</div>
<div><span style="white-space:pre-wrap"></span>time:coordinate_defines = "start" ;</div>
<div><span style="white-space:pre-wrap"></span>time:avg_period = "0000-00-01 00:00:00" ;</div>
</div>
<div>…</div>
<div>Could someone give me a clue? </div>
<div><br>
</div>
<div>Thanks!</div>
<div>Joshua</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org" target="_blank">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">
http://gradsusr.org/mailman/listinfo/gradsusr</a> </span></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div><span style="font-family:Helvetica;font-size:12px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;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" target="_blank">jma@cola.iges.org</a></div>
<div><br>
</div>
<br>
</span></span></div>
<br>
</div>
</div>
</div>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org" target="_blank">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">
http://gradsusr.org/mailman/listinfo/gradsusr</a> </div></div></span>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>