<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Colleen --&nbsp;<div>I am unable to reproduce this problem. The result of a global aave() on a data variable and a defined variable are the same no matter what I try. One thing you didn't show was the output from 'q dims' -- I wonder if you had a funky dimension environment set. In any event, if this problem can be reliably reproduced with your file sfcdn_new.binary, please send it to me (not to gradsusr).&nbsp;</div><div>--Jennifer</div><div><br></div><div><br><div><div>On Sep 14, 2009, at 10:57 AM, Colleen Mikovitz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I am working though a script to do simple global maps of variables<br>with annotations of the global average. &nbsp;But I noticed that when I use<br>the define command, &nbsp;aave returns a different value on that newly<br>defined variable than on the original variable. &nbsp;I just installed the<br>newest release to see if that would correct it, but I get the same<br>thing.<br><br>Could someone look at the following to see if I am doing anything odd<br>or if this is a known/unknown problem?<br><br>Thanks,<br>Colleen<br><br>*********************<br>ga-&gt; q config<br>Config: v2.0.a7.1 little-endian readline printim grib2 netcdf hdf4-sds<br>hdf5 geotiff<br>Grid Analysis and Display System (GrADS) Version 2.0.a7.1<br>Copyright (c) 1988-2009 by Brian Doty and the<br>Institute for Global Environment and Society (IGES)<br>This program is distributed WITHOUT ANY WARRANTY<br>See file COPYRIGHT for more information.<br><br>Built Fri Aug &nbsp;7 18:15:20 EDT 2009 for i386-apple-darwin9.7.0<br><br>ga-&gt; q ctlinfo<br>dset /Users/colleen/lib/sfcdn_new.binary<br>title GLW<br>undef -999<br>xdef 360 linear 0.5 1<br>ydef 180 linear -89.5 1<br>zdef 1 linear 1000 1<br>tdef 1 linear 00Z01JAN2002 180mn<br>vars 1<br>prop &nbsp;1 &nbsp;0 &nbsp;check var<br>endvars<br><br><br>ga-&gt; d prop<br>Contouring: 100 to 450 interval 50<br>ga-&gt; define newvar=prop<br>Define memory allocation size = 527072 bytes<br>ga-&gt; d aave(prop,g)<br>Result value = 335.076<br>ga-&gt; d aave(newvar,g)<br>Result value = 324.465<br>ga-&gt; d prop-newvar<br>Constant field. &nbsp;Value = 0<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-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; border-spacing: 0px 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; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>