[gradsusr] Unknown source of errors

juan pablo sierra perez elviejojuanpi at hotmail.com
Fri Nov 1 17:47:25 EDT 2013


Thanks Jeff, it solved my problem, yes that is weird but it is true that errors appears operating directly in the average commmand.
thanks again
Juan Sierra

Date: Thu, 31 Oct 2013 21:21:51 -0500
From: jeffduda319 at gmail.com
To: gradsusr at gradsusr.org
Subject: Re: [gradsusr] Unknown source of errors

That does sound odd.  Try using a separate script variable to store the final value of each time index and use those index values in the expression instead of computing the math within the expression.  By that I mean, 

n2 = 14T1 = n2-11T2 = n2-9'define s = ave('var',t='T1',t='T2')
See if that relieves the ambiguity.

Jeff Duda

On Thu, Oct 31, 2013 at 8:27 PM, juan pablo sierra perez <elviejojuanpi at hotmail.com> wrote:




Hello everyone 
I have found differences in the results in this two ways to proceed:
First one: n2=14'define s=ave('var', t='n2'-11, t='n2'-9)' 

Second one:'define s=ave('var', t=3, t=5)' 
How can I use the "average" command with a math expression used to define the times values avoiding the errors?
Why is this error produced?
Thanks in advance!
Regrets
Juan  		 	   		  


_______________________________________________

gradsusr mailing list

gradsusr at gradsusr.org

http://gradsusr.org/mailman/listinfo/gradsusr




-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms



_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131101/7abba974/attachment.html 


More information about the gradsusr mailing list