<div dir="ltr"><div><div>This part of your var entries probably has errors:<br><br>
pH2SO4=>ph2so4 25 <u><b>28,t,z,y,x</b></u> pH2SO4 (the underline and bold portion)<br></div><br></div>That entry needs to reflect the order in which the array is built in the netCDF file. The order can be seen when examining output from ncdump -h (look at the entry for each particular array). I'm going to guess that first integer you have listed should not be there (unless your data has a fifth dimension that is somehow a function of some other variable such that it is that different between the different arrays).<br>
<br>If you need further help with this, please send output from ncdump -h on your file.<br><br>Jeff Duda<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 4, 2014 at 12:51 AM, Naseema Beegum Shyju <span dir="ltr"><<a href="mailto:Nshyju@masdar.ac.ae" target="_blank">Nshyju@masdar.ac.ae</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:#000000;margin:0">
Dear all,<br>
<br>
I am trying to read netcdf file in grads (did not work sdfopen). I have created a ctl file as given below, after noting down the dimensions and variables using ncview.
<br>
<br>
But while displaying it shows the error message " Index exceeds dimension bound Data Request Error:"<br>
<br>
Please help me..<br>
<br>
<br>
SET ^<a href="http://out.20140312_20140316_M12.nc" target="_blank">out.20140312_20140316_M12.nc</a><br>
DTYPE netCDF<br>
UNDEF 1.e35<br>
XDEF 86 LINEAR 48.5 0.10<br>
YDEF 75 LINEAR 22.0 0.10<br>
ZDEF 8 LINEAR 1 1<br>
TDEF 25 LINEAR 00Z12mar2014 1HR<br>
VARS 36<br>
H2O2=>h2o2 25 0,x,y,z,t H2O2<br>
HCNM=>hcnm 25 1,t,z,y,x HCNM<br>
HNO3=>hno3 25 2,t,z,y,x HNO3<br>
HONO=>hono 25 3,t,z,y,x HONO<br>
HOX=>hox 25 4,t,z,y,x HOX<br>
NO=>no 25 5,t,z,y,x NO<br>
NO2=>no2 25 6,t,z,y,x NO2<br>
NOX=>nox 25 7,t,z,y,x NOX<br>
NOY=>noy 25 8,t,z,y,x NOY<br>
O3=>o3 25 9,t,z,y,x O3<br>
OX=>ox 25 10,t,z,y,x OX<br>
PAN=>pan 25 11,t,z,y,x PAN<br>
PM10=>pm10 25 12,t,z,y,x PM10<br>
PM10ant=>pm10ant 25 13,t,z,y,x PM10ant<br>
PM10bio=>pm10bio 25 14,t,z,y,x PM10bio<br>
PM25=>pm25 25 15,t,z,y,x PM25<br>
PM25ant=>pm25ant 25 16,t,z,y,x PM25ant<br>
PM25bio=>pm25bio 25 17,t,z,y,x PM25bio<br>
ROOH=>rooh 25 18,t,z,y,x ROOH<br>
SO2=>so2 25 19,t,z,y,x SO2<br>
TOTPAN=>totpan 25 20,t,z,y,x TOTPAN<br>
airm=>airm 25 21,t,z,y,x airm<br>
hlay=>hlay 25 22,t,z,y,x hlay<br>
pAnA10=>pana10 25 23,t,z,y,x pAn10<br>
pAnBmp=>panbmp 25 24,t,z,y,x pAnBmp<br>
pBiA10=>pbia10 25 25,t,z,y,x pBiA10<br>
pBiBmP=>pbibmp 25 26,t,z,y,x pBiBmP<br>
pDust=>pdust 25 27,t,z,y,x pDust<br>
pH2SO4=>ph2so4 25 28,t,z,y,x pH2SO4<br>
phno3=>pHNO3 25 29,t,z,y,x pHNO3<br>
pISOPA1=>pisopa1 25 30,t,z,y,x pISOPA1<br>
pNH3=>pnh3 25 31,t,z,y,x pNH3<br>
pPPM=>pppm 25 32,t,z,y,x pPPM<br>
pWATER=>pwater 25 33,t,z,y,x pWATER<br>
relh=>relh 25 34,t,z,y,x relh<br>
temp=>temp 25 35,t,z,y,x temp<br>
ENDVARS</div>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>