<div>Thank you. I have corrected the descriptor file accordingly but it does not help as GRADS still shows the same message:</div>
<div> </div>
<div> ga-> xdfopen data.ctl<br>Scanning Descriptor File: data.ctl<br>XDFopen Error: Missing or invalid dimension size.<br> --> The invalid description file record is:<br> --> xdef 360 linear -179.500000 1.00000<br>
The data file was not opened.<br></div>
<div>ga-> open data.ctl<br>Scanning description file: data.ctl<br>Open Error: Invalid variable record<br> --> The invalid description file record is:<br> --> aot 1 t,y,x</div>
<div> The data file was not opened.<br></div>
<div> </div>
<div>The corrected descriptor file data.ctl is as follows:</div>
<div> </div>
<div>dset ^%y4-%<a href="http://m2.nc">m2.nc</a><br>options template<br>XDEF 360 linear -179.500000 1.00000<br>YDEF 181 linear -89.5000000 1.000000<br>ZDEF 1 levels 0<br>TDEF 12 linear 01apr2000 1mo<br>vars 8<br>aot 1 t,y,x<br>
aot_land 1 t,y,x<br>aot_water 1 t,y,x<br>aot_dust 1 t,y,x<br>angst 1 t,y,x<br>small 1 t,y,x<br>medium 1 t,y,x<br>large 1 t,y,x<br>endvars<br><br><br></div>
<div class="gmail_quote">On Mon, Jun 9, 2008 at 6:47 PM, M.Mahakur <<a href="mailto:mmahakur@tropmet.res.in">mmahakur@tropmet.res.in</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">what happens if you change "dset" to %m2 instead of %2m in your data.ctl??<br><br>--<br>Open WebMail Project (<a href="http://openwebmail.org/" target="_blank">http://openwebmail.org</a>)<br>
<div>
<div></div>
<div class="Wj3C7c"><br><br>---------- Original Message -----------<br>From: Pavel Kishcha <<a href="mailto:pavel@CYCLONE.TAU.AC.IL">pavel@CYCLONE.TAU.AC.IL</a>><br>To: <a href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</a><br>
Sent: Mon, 9 Jun 2008 17:27:56 +0200<br>Subject: problem with opening multiple NetCDF files<br><br>> Dear All,<br>><br>> The problem comes about when I am trying to open multiple NetCDF files in<br>> GRADS.<br>
> Here is my descriptor file (data.ctl):<br>><br>> dset ^%y4-%<a href="http://2m.nc/" target="_blank">2m.nc</a><br>> options template<br>> XDEF 360 linear -179.500000 1.00000<br>> YDEF 181 linear -89.5000000 1.000000<br>
> ZDEF 1 levels 1000<br>> TDEF 24 linear 01apr2000 1mo<br>> vars 8<br>> aot 1 t,y,x<br>> aot_land 1 t,y,x<br>> aot_water 1 t,y,x<br>> aot_dust 1 t,y,x<br>> angst 1 t,y,x<br>> small 1 t,y,x<br>
> medium 1 t,y,x<br>> large 1 t,y,x<br>> endvars<br>><br>> ***When I run it in GrADS Version 1.9b4 by using the command xdfopen I see<br>> the message:<br>><br>> ga-> xdfopen data.ctl<br>
> Scanning Descriptor File: data.ctl<br>> XDFopen Error: Missing or invalid dimension size.<br>> --> The invalid description file record is:<br>> --> xdef 360 linear -179.500000 1.00000<br>> The data file was not opened.<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: MISR_L3.ctl<br>> Open Error: Invalid variable record<br>> --> The invalid description file record is:<br>
> --> aot 1 t,y,x<br>><br>> What am I doing wrong?<br>> Thank you for all of your help.<br>><br>> Cheers,<br>> Pavel<br>><br>> P.S. Here are my files:<br>><br>> <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a><br>
> <a href="http://2000-05.nc/" target="_blank">2000-05.nc</a><br>> <a href="http://2000-06.nc/" target="_blank">2000-06.nc</a><br>> …<br>> <a href="http://2002-03.nc/" target="_blank">2002-03.nc</a><br>><br>
> ***Here is the output from "ncdump -h" of <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a><br>><br>> [pavel@wind ~]$ /usr/local/bin/ncdump -h <a href="http://2000-04.nc/" target="_blank">2000-04.nc</a><br>
> netcdf 2000-04 {<br>> dimensions:<br>> longitude = 360 ;<br>> latitude = 181 ;<br>> ftime = 1 ;<br>> variables:<br>> double longitude(longitude) ;<br>> longitude:units = "degree_east" ;<br>
> longitude:standard_name = "longitude" ;<br>> double latitude(latitude) ;<br>> latitude:units = "degree_north" ;<br>> latitude:standard_name = "latitude" ;<br>
> double ftime(ftime) ;<br>> ftime:units = "seconds since ??" ;<br>> ftime:standard_name = "ftime" ;<br>> double aot(ftime, latitude, longitude) ;<br>
> aot:units = "kg m-2" ;<br>> aot:standard_name = "total_aerosol_optical_thickness" ;<br>> aot:coordinates = "ftime latitude longitude" ;<br>
> double aot_land(ftime, latitude, longitude) ;<br>> aot_land:units = "kg m-2" ;<br>> aot_land:standard_name<br>> = "total_aerosol_optical_thickness" ;<br>
> aot_land:coordinates = "ftime latitude longitude" ;<br>> double aot_water(ftime, latitude, longitude) ;<br>> aot_water:units = "kg m-2" ;<br>> aot_water:standard_name<br>
> = "total_aerosol_optical_thickness" ;<br>> aot_water:coordinates = "ftime latitude longitude" ;<br>> double aot_dust(ftime, latitude, longitude) ;<br>> aot_dust:units = "kg m-2" ;<br>
> aot_dust:standard_name<br>> = "atmosphere_content_of_dust_aerosol" ;<br>> aot_dust:coordinates = "ftime latitude longitude" ;<br>> double angst(ftime, latitude, longitude) ;<br>
> angst:units = "None" ;<br>> angst:standard_name = "angstrom_exponent" ;<br>> angst:coordinates = "ftime latitude longitude" ;<br>> double small(ftime, latitude, longitude) ;<br>
> small:units = "kg m-2" ;<br>> small:standard_name<br>> = "aerosol_optical_thickness_due_to_small_particles" ;<br>> small:coordinates = "ftime latitude longitude" ;<br>
> double medium(ftime, latitude, longitude) ;<br>> medium:units = "kg m-2" ;<br>> medium:standard_name<br>> = "aerosol_optical_thickness_due_to_medium_particles" ;<br>
> medium:coordinates = "ftime latitude longitude" ;<br>> double large(ftime, latitude, longitude) ;<br>> large:units = "kg m-2" ;<br>> large:standard_name<br>
> = "aerosol_optical_thickness_due_to_large_particles" ;<br>> large:coordinates = "ftime latitude longitude" ;<br>><br>> // global attributes:<br>> :Conventions = "CF-1.0" ;<br>
> :history = "Created Mon May 5 15:55:49 2008 by mikeb" ;<br>> :comment = "??" ;<br>> :source = "IMPACT model v??" ;<br>> :references = "??" ;<br>
> :institution = "Los Alamos" ;<br>> :title = "AOT global grid for total, dust, angst, small,<br>> medium, large" ;<br>> }<br></div></div>------- End of Original Message -------<br>
</blockquote></div><br>