<div dir="ltr">Dear All,<br>
<br>
The problem comes about when I am trying to open a <span class="il">NetCDF</span> file in<br>
GRADS version 2.0.a2.<br><br>***When I run it by using the command open I see the message:<br>
<br>ga-> open data.ctl<br>Scanning description file: data.ctl<br>Open Error: Invalid variable record<br> --> The invalid description file record is:<br> --> nAOT 0 t,y,x<br> The data file was not opened.<br>
<br>What am I doing wrong?<br>
Thank you for all of your help.<br>
<br>
Cheers,<br>
Pavel<br><br> <br>
Here is my descriptor file (data.ctl):<br><br>DSET ^<a href="http://2000-03.nc">2000-03.nc</a><br>DTYPE netcdf<br>TITLE Variables<br>UNDEF -9.99<br>XDEF 1801 linear -180.000000 0.20000<br>YDEF 901 linear -90.000000 0.20000<br>
ZDEF 1 levels 0<br>TDEF 1 linear 01mar2000 1mo<br>vars 27<br>nAOT 0 t,y,x<br>AOT 0 t,y,x<br>stdAOT 0 t,y,x<br>nAOTSm 0 t,y,x<br>AOTSm 0 t,y,x<br>stdAOTSm 0 t,y,x<br>nAOTMd 0 t,y,x<br>AOTMd 0 t,y,x<br>stdAOTMd 0 t,y,x<br>
nAOTLg 0 t,y,x<br>AOTLg 0 t,y,x<br>stdAOTLg 0 t,y,x<br>nAOTNsph 0 t,y,x<br>AOTNsph 0 t,y,x<br>stdAOTNsph 0 t,y,x<br>nBEangstScreened 0 t,y,x<br>BEangstScreened 0 t,y,x<br>stdBEangstScreened 0 t,y,x<br>nAOTNsphScreened 0 t,y,x<br>
AOTNsphScreened 0 t,y,x<br>stdAOTNsphScreened 0 t,y,x<br>nNSphfractScreened 0 t,y,x<br>NSphfractScreened 0 t,y,x<br>stdNSphfractScreened 0 t,y,x<br>nAOTabs 0 t,y,x<br>AOTabs 0 t,y,x<br>stdAOTabs 0 t,y,x<br>endvars<br><br>
<br><br>***Here is the output from "ncdump -c" of my nc-file with data:<br><br>dimensions:<br> Longitude = 1801 ;<br> Latitude = 901 ;<br>variables:<br> float Longitude(Longitude) ;<br> float Latitude(Latitude) ;<br>
float nAOT(Latitude, Longitude) ;<br> float AOT(Latitude, Longitude) ;<br> float stdAOT(Latitude, Longitude) ;<br> float nAOTSm(Latitude, Longitude) ;<br> float AOTSm(Latitude, Longitude) ;<br>
float stdAOTSm(Latitude, Longitude) ;<br> float nAOTMd(Latitude, Longitude) ;<br> float AOTMd(Latitude, Longitude) ;<br> float stdAOTMd(Latitude, Longitude) ;<br> float nAOTLg(Latitude, Longitude) ;<br>
float AOTLg(Latitude, Longitude) ;<br> float stdAOTLg(Latitude, Longitude) ;<br> float nAOTNsph(Latitude, Longitude) ;<br> float AOTNsph(Latitude, Longitude) ;<br> float stdAOTNsph(Latitude, Longitude) ;<br>
float nBEangstScreened(Latitude, Longitude) ;<br> float BEangstScreened(Latitude, Longitude) ;<br> float stdBEangstScreened(Latitude, Longitude) ;<br> float nAOTNsphScreened(Latitude, Longitude) ;<br>
float AOTNsphScreened(Latitude, Longitude) ;<br> float stdAOTNsphScreened(Latitude, Longitude) ;<br> float nNSphfractScreened(Latitude, Longitude) ;<br> float NSphfractScreened(Latitude, Longitude) ;<br>
float stdNSphfractScreened(Latitude, Longitude) ;<br> float nAOTabs(Latitude, Longitude) ;<br> float AOTabs(Latitude, Longitude) ;<br> float stdAOTabs(Latitude, Longitude) ;<br>data:<br><br> Longitude = -180, -179.8, -179.6, -179.4, -179.2, -179, -178.8, -178.6,<br>
-178.4, -178.2, -178, -177.8, -177.6, -177.4, -177.2, -177, -176.8,<br> -176.6, -176.4, -176.2, -176, -175.8, -175.6, -175.4, -175.2, -175,<br> -174.8, -174.6, -174.4, -174.2, -174, -173.8, -173.6, -173.4, -173.2,<br>
-173, -172.8, -172.6, -172.4, -172.2, -172, -171.8, -171.6, -171.4,<br> <br><br>Latitude = -90, -89.8, -89.6, -89.4, -89.2, -89, -88.8, -88.6, -88.4, -88.2,<br> -88, -87.8, -87.6, -87.4, -87.2, -87, -86.8, -86.6, -86.4, -86.2, -86,<br>
-85.8, -85.6, -85.4, -85.2, -85, -84.8, -84.6, -84.4, -84.2, -84, -83.8,<br> -83.6, -83.4, -83.2, -83, -82.8, -82.6, -82.4, -82.2, -82, -81.8, -81.6,<br> -81.4, -81.2, -81, -80.8, -80.6, -80.4, -80.2, -80, -79.8, -79.6, -79.4,<br>
-79.2, -79, -78.8, -78.6, -78.4, -78.2, -78, -77.8, -77.6, -77.4, -77.2,<br> -77, -76.8, -76.6, -76.4, -76.2, -76, -75.8, -75.6, -75.4, -75.2, -75,<br> 1,1 Top<br>
<br><br><br><br></div>