<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The units field of your variable declaration is incorrect -- it needs to have a comma-delimited list of the varying dimensions of the variable, something like t,y,x or t,z,y,x. Also, you are aliasing ET to ET -- change that to ET=&gt;et (GrADS wants lower case alphanumeric characters). If you are still having problems, please send the output from ncdump.h as well as your descriptor. GrADS version would also be useful.&nbsp;<div><div>--Jennifer<br><div>p.s. Please read the documentation at&nbsp;<a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a>&nbsp;</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><br><div><div>On Sep 29, 2013, at 10:46 AM, Celso Bandeira de Melo Ribeiro wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hello,<br><br>Could someone please help me out?<br><br>I am using a netcdf file that I created using matlab. However, I am still<br>having trouble defining the .ctl file. The file contains just one variable<br>i.e. ET. I am having trouble defining 'VARS' in the .ctl file. I am<br>attaching my file with this email. Following is the .ctl file that I was<br>trying to use<br><br>DSET ^ET_2000M01.nc<br>UNDEF -3277<br>XDEF length 652 LINEAR -80.05 0.05<br>YDEF rows 527 LINEAR -20.25 0.05<br>*XDEF dimension1 651 LINEAR -80.05 0.05<br>*YDEF dimension2 526 LINEAR -20.25 0.05<br>*DTYPE netcdf<br>VARS 1<br>ET=&gt;ET 1 99 ET<br>ENDVARS <br><br>When I try to display ET, I get the following error<br><br>gancgrid error: nc_get_vara_double failed; NetCDF: Start+count exceeds<br>dimension bound<br>Data Request Error: &nbsp;Error for variable 'et'<br> &nbsp;Error ocurred at column 1<br>DISPLAY error: &nbsp;Invalid expression <br> &nbsp;Expression = et<br><br>Thank you very much,<br>Celso<br><br><br>____________________________________________<br>Prof. Celso Bandeira de Melo Ribeiro<br>Universidade Federal de Juiz de Fora - UFJF<br>Faculdade de Engenharia, Plataforma 4<br>Departamento de Engenharia Ambiental e Sanitaria<br>Bairro Martelos, Juiz de Fora (MG) CEP. 36036-900<br>tel. (32) 2102-3400<span>&lt;ET_2000M01.nc&gt;</span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div></div></div></div></body></html>