<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif" color="#000000" style="font-size: 16pt; background-color: rgb(255, 255, 255);">Dear users,</font><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><font face="Calibri,sans-serif" color="#000000" style="line-height: normal; font-size: 16pt;"><br style="line-height: 30.2933px;"></font></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">I'm confused with the calculation of RATIO (normalized root-mean-saquare (RMS) differences)</span><span style="line-height: 30.2933px; font-size: 21.3333px;">, relation to Taylor Diagram, the comments that I have read here in the group, it was suggested calculated in 3 ways:</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">1) Use of the function: dim_rmsd</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">or </span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">2) RATIO</span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; temporal variance at each grid point [local] </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; vref_var_T = dim_variance_n(rdata, 0 ) ; (lat,lon) </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; vcase_var_T = dim_variance_n(cdata, 0 ) </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; ; wgted areal *local* temporal variance </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; wvar_ref_T = sum(wgt_S*vref_var_T)/sumwgt_S </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; wvar_case_T = sum(wgt_S*vcase_var_T)/sumwgt_S </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"> ; sqrt of ratio of spatially weighted variances </span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px;"><span style="line-height: 30.2933px; font-size: 21.3333px;">; wvar_ratio_T = (wvar_case_T/wvar_ref_T)^0.5 </span></div></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">I did not understand what would that </span><span style="line-height: 30.2933px; font-size: 21.3333px;">sumwgt_S ?</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">or 3) more explicitly, for xc and xo on the same grid: wgtc=wgto</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; wgtc = conform_dims(dimsizes(xc), gw, 0) ; make 2d for gw[*]</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; xavgc = sum(wgtc*xc)/sum(wgtc) ; control centered mean</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; xavgo = sum(wgtc*xo)/sum(wgtc)</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; (b) compute the sum of the centered area weighted variances.</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; dc2 = sum(wgtc*(xc-xavgc)^2) ; control ; centered about xavgc</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; do2 = sum(wgtc*(xo-xavgo)^2)</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">; rat = sqrt(do2/dc2) </span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">xc and xo is the variance or datasets?</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">I would like to know the step by step to correct this calculation RATIO, if someone can help me, please.</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;">Thanks</span></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><span style="line-height: 30.2933px; font-size: 21.3333px;"><br style="line-height: 30.2933px;"></span></div>                                            </div></body>
</html>