<div>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Hi Jennifer,</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font face="Times New Roman" size="3">It seems to me that GrADS-1.9 can convert double precision to single precision (floating-point values) automatically only for a single NetCDF file open by sdfopen. This function does not work, however, for multiple NetCDF files opened with a template. At least, it does not work automatically and maybe something (?) should be done for that. </font></p>

<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">For example, when I am trying to display variables from the opened multiple NetCDF files I got the following output:</font></font></p>

<p style="MARGIN: 0cm 0cm 0pt"><font size="3"><font face="Times New Roman">&nbsp;</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt"><font size="3"><font face="Times New Roman">ga-&gt; d aot</font></font></p>
<p style="MARGIN: 0cm 0cm 0pt"><font size="3"><font face="Times New Roman">Contouring: nan to nan interval inf</font></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Pavel</font></p></div>
<div>&nbsp;</div>
<div>On Tue, Jun 10, 2008&nbsp;Jennifer Adams&nbsp;wrote:<br><br>Grads 1.9 will read the double precision data and convert to floats internally. You don&#39;t need to do anything special, and it should be fine. If you are concerned about losing precision, then you should use v2, but if you don&#39;t care, then 1.9 is good. I hope that you can get a descriptor working to your satisfaction. </div>

<div>&nbsp;</div>
<div>On Jun 10, 2008, at 5:52 PM, Pavel Kishcha wrote:</div>
<div>&lt;Thank you Jennifer.<br>&lt;If single precision (floating-point values) is enough, is it possible to convert correctly double-precision data to floating-point values by &lt;using CrADS-1.9?</div>
<div><br>Thanks!<br>Jennifer<br><br></div>
<div class="gmail_quote">On Tue, Jun 10, 2008 at 9:51 PM, Pavel Kishcha &lt;<a href="mailto:pavel@cyclone.tau.ac.il">pavel@cyclone.tau.ac.il</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Hi Jennifer,</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Thank you very much for your message. </font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">The ctl file has been updated in accordance with your comments, and I was able to open the multiple NetCDF files in Grads. </font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">However, another problem comes about when I am trying to display variables from the opened multiple NetCDF files. I got the following output:</font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-&gt; d aot<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Contouring: nan to nan interval inf</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">A possible reason is that NetCDF data are all generated on a 64-bit machine, and now they are opened by the 32-bit GRADS 1.9. </font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">When I am trying to use &quot;option template big_endian&quot; or &quot;option template byteswapped&quot;, the displaying data are incorrect. The incorrect data vary from -4e+37 to 1.6e+38 while the correct data should vary from 0 to 2.7.</font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">***Here is output for incorrect data from the opened multiple NetCDF files with &quot;option template byteswapped&quot; included:</font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-&gt; open data.ctl<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">Scanning description file:<span>&nbsp; </span>data.ctl<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">Data file %y4-%<a href="http://m2.nc/" target="_blank">m2.nc</a> is open as file 1<span lang="HE" dir="rtl"></span></font></font></p>

<div class="Ih2E3d">
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LON set to 0 360<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LAT set to -89.5 90.5<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LEV set to 0 0<span lang="HE" dir="rtl"></span></font></font></p></div>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">Time values set: 2000:4:1:0 2000:4:1:0<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-&gt; d aot<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Contouring: -4e+37 to 1.6e+38 interval 2e+37</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">*** Here is output for correct data from a single NetCDF file:</font></p>
<div>
<div></div>
<div class="Wj3C7c">
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-&gt; sdfopen <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a><span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">Scanning self-describing file:<span>&nbsp; </span><a href="http://2000-04.nc/" target="_blank">2000-04.nc</a><span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">udunits(3): syntax error:<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">seconds since ??<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><font size="3"><font face="Times New Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>^<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">udunits(3): syntax error:<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">seconds since ??<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><font size="3"><font face="Times New Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>^<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF file has no discernable time coordinate.<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">udunits(3): syntax error:<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">seconds since ??<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><span dir="ltr"></span><font size="3"><font face="Times New Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>^<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable aot<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable aot_land<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable aot_water<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable aot_dust<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable angst<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable small<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable medium<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF:<span>&nbsp; </span>The double precision values of the variable large<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">will be automatically converted to single precision.<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">SDF file <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a> is open as file 1<span lang="HE" dir="rtl"></span></font></font></p>

<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LON set to 0 360<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LAT set to -89.5 90.5<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">LEV set to 0 0<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">Time values set: 1:1:1:0 1:1:1:0<span lang="HE" dir="rtl"></span></font></font></p></div></div>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-&gt; d aot<span lang="HE" dir="rtl"></span></font></font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Contouring: 0 to 2.7 interval 0.3</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">What am I doing wrong with multiple NetCDF descriptor file this time?</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">&nbsp;</font></p><font color="#888888">
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3">Pavel</font></p></font>
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div class="gmail_quote">On Tue, Jun 10, 2008 at 2:39 PM, Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Hi, Pavel --&nbsp; 
<div>Templating netcdf files with GrADS 1.9 is best done with a dtype netcdf descriptor file, so you should stick with the &#39;open&#39; command and not try to use &#39;xdfopen&#39;. What you have below is a good start, but the error message you got &quot;invalid variable record&quot; does tell you where the problem lies. Your variable declarations have two problems: you need a long name for each variable, and you need to change the &quot;1&quot; in the levels field to &quot;0&quot; since your variables do not vary in Z.&nbsp;</div>

<div><br></div>
<div>&nbsp;&nbsp; aot 0 t,y,x &nbsp;total aerosol optical thickness</div>
<div><br></div>
<div>and don&#39;t forget to add &#39;dtype netcdf&#39; to your descriptor and also &#39;undef -9.99e36&#39; . The number you use for undef is irrelevant, since it appears your data do not have and missing values, but GrADS requires something in the undef record. Make sure there are only spaces and no tabs in the whitespace between fields in your variable declarations.&nbsp;</div>

<div><br></div>
<div>Jennifer</div>
<div><br></div>
<div><br></div>
<div>
<div>
<div></div>
<div><br>
<div>
<div>On Jun 9, 2008, at 11:27 AM, Pavel Kishcha wrote:</div><br>
<blockquote type="cite">
<div style="MARGIN: 0px">Dear All,</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">The problem comes about when I am trying to open multiple NetCDF files in</div>
<div style="MARGIN: 0px">GRADS.</div>
<div style="MARGIN: 0px">Here is my descriptor file<span>&nbsp; </span>(data.ctl):</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">dset ^%y4-%<a href="http://2m.nc/" target="_blank">2m.nc</a></div>
<div style="MARGIN: 0px">options template</div>
<div style="MARGIN: 0px">XDEF 360 linear -179.500000 1.00000</div>
<div style="MARGIN: 0px">YDEF 181<span>&nbsp; </span>linear -89.5000000 1.000000</div>
<div style="MARGIN: 0px">ZDEF 1 levels 1000</div>
<div style="MARGIN: 0px">TDEF 24 linear 01apr2000<span>&nbsp; </span>1mo</div>
<div style="MARGIN: 0px">vars 8</div>
<div style="MARGIN: 0px">aot <span>&nbsp; &nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">aot_land<span>&nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">aot_water 1 t,y,x</div>
<div style="MARGIN: 0px">aot_dust<span>&nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">angst <span>&nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">small <span>&nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">medium<span>&nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">large <span>&nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MARGIN: 0px">endvars</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">***When I run it in GrADS Version 1.9b4 by using the command xdfopen I see</div>
<div style="MARGIN: 0px">the message:</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">ga-&gt; xdfopen data.ctl</div>
<div style="MARGIN: 0px">Scanning Descriptor File:<span>&nbsp; </span>data.ctl</div>
<div style="MARGIN: 0px">XDFopen Error:<span>&nbsp; </span>Missing or invalid dimension size.</div>
<div style="MARGIN: 0px"><span>&nbsp; </span>--&gt; The invalid description file record is:</div>
<div style="MARGIN: 0px"><span>&nbsp; </span>--&gt; xdef 360 linear -179.500000 1.00000</div>
<div style="MARGIN: 0px"><span>&nbsp; </span>The data file was not opened.</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">***When I run it by using the command open I see the message:</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">ga-&gt; open data.ctl</div>
<div style="MARGIN: 0px">Scanning description file:<span>&nbsp; </span>MISR_L3.ctl</div>
<div style="MARGIN: 0px">Open Error:<span>&nbsp; </span>Invalid variable record</div>
<div style="MARGIN: 0px"><span>&nbsp; </span>--&gt; The invalid description file record is:</div>
<div style="MARGIN: 0px"><span>&nbsp; </span>--&gt; aot <span>&nbsp; &nbsp; &nbsp; </span>1 t,y,x</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">What am I doing wrong?</div>
<div style="MARGIN: 0px">Thank you for all of your help.</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">Cheers,</div>
<div style="MARGIN: 0px">Pavel</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">P.S. Here are my files:</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px"><a href="http://2000-04.nc/" target="_blank">2000-04.nc</a></div>
<div style="MARGIN: 0px"><a href="http://2000-05.nc/" target="_blank">2000-05.nc</a></div>
<div style="MARGIN: 0px"><a href="http://2000-06.nc/" target="_blank">2000-06.nc</a></div>
<div style="MARGIN: 0px">…</div>
<div style="MARGIN: 0px"><a href="http://2002-03.nc/" target="_blank">2002-03.nc</a></div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">***Here is the output from &quot;ncdump -h&quot; of <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a></div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">[pavel@wind ~]$ /usr/local/bin/ncdump -h <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a></div>
<div style="MARGIN: 0px">netcdf 2000-04 {</div>
<div style="MARGIN: 0px">dimensions:</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>longitude = 360 ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>latitude = 181 ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>ftime = 1 ;</div>
<div style="MARGIN: 0px">variables:</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double longitude(longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>longitude:units = &quot;degree_east&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>longitude:standard_name = &quot;longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double latitude(latitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>latitude:units = &quot;degree_north&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>latitude:standard_name = &quot;latitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double ftime(ftime) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>ftime:units = &quot;seconds since ??&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>ftime:standard_name = &quot;ftime&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double aot(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot:standard_name = &quot;total_aerosol_optical_thickness&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double aot_land(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_land:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_land:standard_name</div>
<div style="MARGIN: 0px">= &quot;total_aerosol_optical_thickness&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_land:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double aot_water(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_water:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_water:standard_name</div>
<div style="MARGIN: 0px">= &quot;total_aerosol_optical_thickness&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_water:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double aot_dust(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_dust:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_dust:standard_name</div>
<div style="MARGIN: 0px">= &quot;atmosphere_content_of_dust_aerosol&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>aot_dust:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double angst(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>angst:units = &quot;None&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>angst:standard_name = &quot;angstrom_exponent&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>angst:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double small(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>small:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>small:standard_name</div>
<div style="MARGIN: 0px">= &quot;aerosol_optical_thickness_due_to_small_particles&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>small:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double medium(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>medium:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>medium:standard_name</div>
<div style="MARGIN: 0px">= &quot;aerosol_optical_thickness_due_to_medium_particles&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>medium:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; </span>double large(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>large:units = &quot;kg m-2&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>large:standard_name</div>
<div style="MARGIN: 0px">= &quot;aerosol_optical_thickness_due_to_large_particles&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>large:coordinates = &quot;ftime latitude longitude&quot; ;</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">// global attributes:</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:Conventions = &quot;CF-1.0&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:history = &quot;Created Mon May<span>&nbsp; </span>5 15:55:49 2008 by mikeb&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:comment = &quot;??&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:source = &quot;IMPACT model v??&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:references = &quot;??&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:institution = &quot;Los Alamos&quot; ;</div>
<div style="MARGIN: 0px"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span>:title = &quot;AOT global grid for total, dust, angst, small,</div>
<div style="MARGIN: 0px">medium, large&quot; ;</div>
<div style="MARGIN: 0px">}</div></blockquote></div><br></div></div><font color="#888888">
<div><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px"><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px"><span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 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></span></div><br></font></div></div></blockquote></div><br></div></div></blockquote></div><br>