<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Hello Toshiya,<div><br></div><div>Your increment value of 4.0 (degrees) for xdef and ydef is much too large. The resulting domain will cover 4000x1000 degrees, which is absurd (the entire globe is 360x180). Try using a much smaller value such as 0.02 (domain will be roughly 20x5 degrees). Since you have a Cartesian grid that's not associated with any geographic coordinate system, the domain's location and map background won't really matter.</div><div><br></div><div>Best regards,<br><br><div><span name="x"></span>Eric L. Altshuler<br>Research Associate<br>Center for Ocean-Land-Atmosphere Studies<br>253 Research Hall, Mail Stop 6C5<div>George Mason University</div><div>4400 University Drive<br>Fairfax, VA 22030 USA<br><br>E-mail: ela@cola.iges.org<br>Phone: (703) 993-5725<br>Fax: (703) 993-5770</div><span name="x"></span><br></div><br><hr id="zwchr"><b>From: </b>"吉田 敏哉" &lt;yoshida_t@storm.dpri.kyoto-u.ac.jp&gt;<br><b>To: </b>gradsusr@gradsusr.org<br><b>Sent: </b>Thursday, June 11, 2015 3:04:55 AM<br><b>Subject: </b>[gradsusr] ave function error<br><br><div dir="ltr">Dear users,<div><br></div><div>I am using CFD output computed on Cartesian coordinates.</div><div>My ctl.file is as follows:</div><div><br></div><div>--------------------------------------------------</div><div><div>DSET &nbsp; &nbsp;^data10</div><div>TITLE &nbsp; LES</div><div>UNDEF &nbsp; -9.99E33</div><div>OPTIONS byteswapped&nbsp;</div><div>XDEF &nbsp; &nbsp;1000 LINEAR 0.000 4.000</div><div>YDEF &nbsp; &nbsp;250 LINEAR 2.000 4.000</div><div>ZDEF &nbsp; &nbsp;105 LEVELS</div><div>0.500 &nbsp; &nbsp; &nbsp;1.550 &nbsp; &nbsp; &nbsp;2.705 &nbsp; &nbsp; &nbsp;3.976 &nbsp; &nbsp;... &nbsp; &nbsp;</div><div>TDEF &nbsp; &nbsp;1 LINEAR 00:01z01jan2000 1mn</div><div>VARS &nbsp; &nbsp;3</div><div>u &nbsp; &nbsp; &nbsp; 105 99 u winds</div><div>w &nbsp; &nbsp; &nbsp; 105 99 w winds</div><div>v &nbsp; &nbsp; &nbsp; 105 99 v winds</div><div>ENDVARS</div></div><div>--------------------------------------------------------</div><div><br></div><div>When I use ave function for Y-axis direction, I have the following error:</div><div><br></div><div><div>ga-&gt; d ave(u,y=24,y=250)</div><div>Averaging. &nbsp;dim = 1, start = 24, end = 250</div><div>Error from AVE: &nbsp;Internal logic check 100</div><div>Operation Error: &nbsp;Error from ave function</div><div>&nbsp; Error ocurred at column 1</div><div>DISPLAY error: &nbsp;Invalid expression&nbsp;</div><div>&nbsp; Expression = ave(u,y=24,y=250)</div></div><div><br></div><div>If I change "ave(u,y=24,y=250)" to "ave(u,y=1,y=250)" , it work&nbsp;normally.</div><div>In addition,&nbsp;"ave(u,y=1,y=250)" and&nbsp;"ave(u,y=1,y=23)" are exactly the same value so</div><div>I think ave function isn't working normally more than y=23.</div><div><br></div><div>I confirmed the CFD output was correct with GrADS and<br></div><div>this error only occur when I use ave function for&nbsp;Y-axis direction.&nbsp;</div><div><br></div><div>I tried using 2.0.21,2.0.2, 2.0.a9 and 2.1.a2 versions but all of them don't work normally.</div><div>I didn't know what to do, do you have any ideas?<br></div><div><br></div><div><br></div><div><div>Thank you for being patient with my English.</div><div>Toshiya</div></div></div>
<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div></body></html>