<div dir="ltr">Since the dtype is netcdf, you need to add the units entry to the var entry. See <a href="http://www.iges.org/grads/gadoc/descriptorfile.html#VARS">this section of the gridded data description file documentation</a>, specifically the part labeled "units (dtype netcdf...)" to see how you should handle that. You'll need to do an ncdump -h on your data file to figure out the order of the dimensions.<br>
<br>Jeff Duda<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 9:58 AM, Stephen McMillan <span dir="ltr"><<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</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">Hi Neolia,<div>Did you try using 'd ozone'? I assume you got the error using 'd mda8_surfo3'.</div>
<div>Stephen Mc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Jul 24, 2014 at 10:06 AM, Noelia otero <span dir="ltr"><<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi everyone!<div><br></div><div>I have a problem when I try to display my variable from a ctl file. I also have the netcdf file, but I had some problem to open it, so I created a ctl:</div>
<div><div><br></div>
<div>dset <a href="http://mda8.surfO3.EU.2000.2009.nc" target="_blank">mda8.surfO3.EU.2000.2009.nc</a></div>
<div>undef -999</div><div>dtype netcdf</div><div>options yrev</div><div>xdef 48 linear -13 1</div><div>ydef 39 linear 19 1</div><div>zdef 1 levels 1000</div><div>tdef 3653 linear 01JAN2000 1dy</div><div>vars 1</div>
<div>
MDA8_SurfO3=>ozone 1 99 MDA8_SurfO3</div><div>endvars</div></div><div><br></div><div>I can open it without problems, but if I try to display the var I get the next error:</div><div><div>Syntax Error: Invalid Operand </div>
<div> 'mda8_surfo3' not a variable or function name</div><div> Error ocurred at column 1</div><div>DISPLAY error: Invalid expression </div><div> Expression = mda8_surfo3</div></div><div><br></div><div>I read some messages related to that, but I am not able to fix it ...</div>
<div>any idea?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Cheers,</div><div><br></div><div>Noelia </div></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div>
<pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
</pre><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>