[gradsusr] Weighting in Ensemble Dimension

Tom Hultquist weathertom at gmail.com
Sun Apr 20 15:23:37 EDT 2014

Thanks Jeff. I had been doing things "manually" via summing with different weights then dividing to get the average. Was looking to simplify by using the ensemble dimension and built in functions. So, I'll play around with creating a function to vary the weighting. 

On April 20, 2014 2:14:25 PM CDT, Jeff Duda <jeffduda319 at gmail.com> wrote:
>I think you can create a weighting function and then use it in the
>command.  So it would look like
>(define weight field somehow as wgt)
>'d ave(wgt*product,e=1,e=8)'
>The tricky part is creating a weighting field that is a function of
>ensemble member.  I haven't tried this to see if it works or not, but
>you set your dimension environment so that ensemble dimension is
>you could then try defining the field, possibly using the
>function.  If that doesn't work, you'll have to create a separate
>function for each ensemble member and display the product using a
>average, i.e.,
>'define sum = weight1*member1 + weight2*member2 + ... +
>'define totalweight = weight1+weight2 + ... + weightN'
>'d sum/totalweight'
>If you're using a script to do this, the sums can be handled using a
>loop to make them much more tractable.
>Good luck. Let me know if you have more questions.
>On Sun, Apr 20, 2014 at 1:24 PM, Tom Hultquist <weathertom at gmail.com>
>> Is there a way to adjust the weighting of members when using the
>> dimension? I'd like to use the ave function across and ensemble (e=1,
>> but want different weighting for members 1-4 vs members 5-8.
>> _______________________________________________
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140420/73495bb2/attachment.html 

More information about the gradsusr mailing list