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