I&#39;m trying to use Grads to display data from a netCDF file.  The result of ncdump for that file is<br><br>ncdump -h ARW_cn_20110427.nettemp2m079200<br>netcdf ARW_cn_20110427 {<br>dimensions:<br>        x = 1163 ;<br>        y = 723 ;<br>
        z = 1 ;<br>variables:<br>        float temp2m(z, y, x) ;<br>                temp2m:standard_name = &quot;temp2m&quot; ;<br>                temp2m:long_name = &quot;temp2m&quot; ;<br>                temp2m:units = &quot;F&quot; ;<br>
}<br><br>The file size is 3363608 bytes.  Given the data are floating point and single precision, the size of the data alone are 1163*723*4 = 3363396, for a difference of 212 bytes<br><br>I made a control file designed to open several hundred individual files to display the variable temp2m:<br>
dset s4%e_arw/ARW_%e_20110427.nettemp2m%ch<br>chsub 1  1  003600<br>chsub 2  2  007200<br>chsub 3  3  010800<br>chsub 4  4  014400<br>chsub 5  5  018000<br>chsub 6  6  021600<br>chsub 7  7  025200<br>chsub 8  8  028800<br>
chsub 9  9  032400<br>chsub 10 10 036000<br>chsub 11 11 039600<br>chsub 12 12 043200<br>chsub 13 13 046800<br>chsub 14 14 050400<br>chsub 15 15 054000<br>chsub 16 16 057600<br>chsub 17 17 061200<br>chsub 18 18 064800<br>chsub 19 19 068400<br>
chsub 20 20 072000<br>chsub 21 21 075600<br>chsub 22 22 079200<br>chsub 23 23 082800<br>chsub 24 24 086400<br>chsub 25 25 090000<br>chsub 26 26 093600<br>chsub 27 27 097200<br>chsub 28 28 100800<br>chsub 29 29 104400<br>chsub 30 30 108000<br>
chsub 31 31 111600<br>chsub 32 32 115200<br>chsub 33 33 118800<br>chsub 34 34 122400<br>chsub 35 35 126000<br>chsub 36 36 129600<br>options template byteswapped<br>undef -9999.0<br>dtype netcdf<br>pdef 1163 723 lcc 23.2231 -119.145 1.0 1.0 38.5 38.5 -97.0000  4000.000  4000.000<br>
xdef  1163 linear -128.1065     0.053758<br>ydef  723 linear  23.2231    0.040388<br>zdef   1 linear 1.0 1.0<br>tdef 36 linear 01Z27APR2011      1HR<br>edef 10 NAMES cn m21 m23 m24 m25 m26 m27 m28 m29 m30<br>VARS    1<br>
temp2m  1  y,x 2-m temperature (F)<br>ENDVARS<br>headerbytes 212<br clear="all"><br>When attempting to display the variable in Grads, I get this output:<br>ga-&gt; open SSEF_ens_temp2m_20110427_net.ctl<br>Scanning description file:  SSEF_ens_temp2m_20110427_net.ctl<br>
Data file s4%e_arw/ARW_%e_20110427.nettemp2m%ch is open as file 1<br>LON set to -128.107 -65.6397<br>LAT set to 23.2231 52.3832<br>LEV set to 1 1<br>Time values set: 2011:4:27:1 2011:4:27:1<br>E set to 1 1<br>Notice: Implied interpolation for file SSEF_ens_temp2m_20110427_net.ctl<br>
 Interpolation will be performed on any data displayed from this file<br>ga-&gt; d temp2m<br>Notice:  Automatic Grid Interpolation Taking Place<br><b><i>NetCDF Error (gancrow, nc_get_vara_double): NetCDF: Index exceeds dimension bound</i></b><br>
Data Request Error:  Error for variable &#39;temp2m&#39;<br>  Error ocurred at column 1<br>DISPLAY error:  Invalid expression<br>  Expression = temp2m<br><br>I have also tried altering the line<br>temp2m  1  y,x 2-m temperature (F)<br>
by the line<br>temp2m  1  z,y,x 2-m temperature (F)<br>in accordance with the output from ncdump.  No avail.<br><br>Please help me determine the reason for this error and how to fix it.  Thanks.<br><br>Jeff Duda<br>-- <br>
Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>