<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"> </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"> </font></font></p>
<p style="MARGIN: 0cm 0cm 0pt"><font size="3"><font face="Times New Roman">ga-> 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"> </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> </div>
<div>On Tue, Jun 10, 2008 Jennifer Adams wrote:<br><br>Grads 1.9 will read the double precision data and convert to floats internally. You don'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't care, then 1.9 is good. I hope that you can get a descriptor working to your satisfaction. </div>
<div> </div>
<div>On Jun 10, 2008, at 5:52 PM, Pavel Kishcha wrote:</div>
<div><Thank you Jennifer.<br><If single precision (floating-point values) is enough, is it possible to convert correctly double-precision data to floating-point values by <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 <<a href="mailto:pavel@cyclone.tau.ac.il">pavel@cyclone.tau.ac.il</a>> 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"> </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"> </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"> </font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-> 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"> </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 "option template big_endian" or "option template byteswapped", 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"> </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 "option template byteswapped" included:</font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font face="Times New Roman" size="3"> </font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-> 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> </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"> </font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-> 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"> </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"> </font></p>
<p dir="ltr" style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; TEXT-ALIGN: left"><font size="3"><font face="Times New Roman">ga-> 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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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-> 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"> </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"> </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 <<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>> 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 --
<div>Templating netcdf files with GrADS 1.9 is best done with a dtype netcdf descriptor file, so you should stick with the 'open' command and not try to use 'xdfopen'. What you have below is a good start, but the error message you got "invalid variable record" 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 "1" in the levels field to "0" since your variables do not vary in Z. </div>
<div><br></div>
<div> aot 0 t,y,x total aerosol optical thickness</div>
<div><br></div>
<div>and don't forget to add 'dtype netcdf' to your descriptor and also 'undef -9.99e36' . 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. </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> </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> </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> </span>1mo</div>
<div style="MARGIN: 0px">vars 8</div>
<div style="MARGIN: 0px">aot <span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">aot_land<span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">aot_water 1 t,y,x</div>
<div style="MARGIN: 0px">aot_dust<span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">angst <span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">small <span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">medium<span> </span>1 t,y,x</div>
<div style="MARGIN: 0px">large <span> </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-> xdfopen data.ctl</div>
<div style="MARGIN: 0px">Scanning Descriptor File:<span> </span>data.ctl</div>
<div style="MARGIN: 0px">XDFopen Error:<span> </span>Missing or invalid dimension size.</div>
<div style="MARGIN: 0px"><span> </span>--> The invalid description file record is:</div>
<div style="MARGIN: 0px"><span> </span>--> xdef 360 linear -179.500000 1.00000</div>
<div style="MARGIN: 0px"><span> </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-> open data.ctl</div>
<div style="MARGIN: 0px">Scanning description file:<span> </span>MISR_L3.ctl</div>
<div style="MARGIN: 0px">Open Error:<span> </span>Invalid variable record</div>
<div style="MARGIN: 0px"><span> </span>--> The invalid description file record is:</div>
<div style="MARGIN: 0px"><span> </span>--> aot <span> </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 "ncdump -h" 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> </span>longitude = 360 ;</div>
<div style="MARGIN: 0px"><span> </span>latitude = 181 ;</div>
<div style="MARGIN: 0px"><span> </span>ftime = 1 ;</div>
<div style="MARGIN: 0px">variables:</div>
<div style="MARGIN: 0px"><span> </span>double longitude(longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>longitude:units = "degree_east" ;</div>
<div style="MARGIN: 0px"><span> </span>longitude:standard_name = "longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double latitude(latitude) ;</div>
<div style="MARGIN: 0px"><span> </span>latitude:units = "degree_north" ;</div>
<div style="MARGIN: 0px"><span> </span>latitude:standard_name = "latitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double ftime(ftime) ;</div>
<div style="MARGIN: 0px"><span> </span>ftime:units = "seconds since ??" ;</div>
<div style="MARGIN: 0px"><span> </span>ftime:standard_name = "ftime" ;</div>
<div style="MARGIN: 0px"><span> </span>double aot(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>aot:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>aot:standard_name = "total_aerosol_optical_thickness" ;</div>
<div style="MARGIN: 0px"><span> </span>aot:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double aot_land(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>aot_land:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_land:standard_name</div>
<div style="MARGIN: 0px">= "total_aerosol_optical_thickness" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_land:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double aot_water(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>aot_water:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_water:standard_name</div>
<div style="MARGIN: 0px">= "total_aerosol_optical_thickness" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_water:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double aot_dust(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>aot_dust:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_dust:standard_name</div>
<div style="MARGIN: 0px">= "atmosphere_content_of_dust_aerosol" ;</div>
<div style="MARGIN: 0px"><span> </span>aot_dust:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double angst(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>angst:units = "None" ;</div>
<div style="MARGIN: 0px"><span> </span>angst:standard_name = "angstrom_exponent" ;</div>
<div style="MARGIN: 0px"><span> </span>angst:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double small(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>small:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>small:standard_name</div>
<div style="MARGIN: 0px">= "aerosol_optical_thickness_due_to_small_particles" ;</div>
<div style="MARGIN: 0px"><span> </span>small:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double medium(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>medium:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>medium:standard_name</div>
<div style="MARGIN: 0px">= "aerosol_optical_thickness_due_to_medium_particles" ;</div>
<div style="MARGIN: 0px"><span> </span>medium:coordinates = "ftime latitude longitude" ;</div>
<div style="MARGIN: 0px"><span> </span>double large(ftime, latitude, longitude) ;</div>
<div style="MARGIN: 0px"><span> </span>large:units = "kg m-2" ;</div>
<div style="MARGIN: 0px"><span> </span>large:standard_name</div>
<div style="MARGIN: 0px">= "aerosol_optical_thickness_due_to_large_particles" ;</div>
<div style="MARGIN: 0px"><span> </span>large:coordinates = "ftime latitude longitude" ;</div>
<div style="MIN-HEIGHT: 14px; MARGIN: 0px"><br></div>
<div style="MARGIN: 0px">// global attributes:</div>
<div style="MARGIN: 0px"><span> </span>:Conventions = "CF-1.0" ;</div>
<div style="MARGIN: 0px"><span> </span>:history = "Created Mon May<span> </span>5 15:55:49 2008 by mikeb" ;</div>
<div style="MARGIN: 0px"><span> </span>:comment = "??" ;</div>
<div style="MARGIN: 0px"><span> </span>:source = "IMPACT model v??" ;</div>
<div style="MARGIN: 0px"><span> </span>:references = "??" ;</div>
<div style="MARGIN: 0px"><span> </span>:institution = "Los Alamos" ;</div>
<div style="MARGIN: 0px"><span> </span>:title = "AOT global grid for total, dust, angst, small,</div>
<div style="MARGIN: 0px">medium, large" ;</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>