[gradsusr] RMSE for magnitude of wind

Lee Byerle lbyerle at yahoo.com
Mon May 6 13:54:13 EDT 2013


Lyndon,
Here is an example for the wind field rmse, with u and v wind as variables in the model files.

open file1.ctl
open file2.ctl
 
define diffu=u-u.2
define diffv=v-v.2

define varu=pow(diffu,2)
define varv=pow(diffv,2)
define rmse=sqrt(varu+varv)
 
display variable rmse

Best wishes,
Lee
 

From: Lyndon Mark Olaguera <olagueralyndonmark429 at gmail.com>
To: gradsusr at gradsusr.org 
Sent: Monday, May 6, 2013 4:55 AM
Subject: [gradsusr] RMSE for magnitude of wind



Hi all, 
I would like to make a script to find the rmse between a model and a nudged file..I can find the rmse for the U and V component, but how do I make an RMSE for the magnitude of the wind;mag(u,v)?

Thanks a lot,
Lyndon Mark
_______________________________________________
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/20130506/b76dd1c7/attachment-0003.html 


More information about the gradsusr mailing list