[ncl-talk] different RMSE values calculated by NCL and CDO

LI Qi liqi123sh at qq.com
Thu Nov 19 07:04:26 MST 2015


Dear NCL community,


I would like to calculate spatial RMSE of simulations and observations.


the NCL function I use is:
rmse = dim_rmsd_n(obs, sim, (/1,2/))
where (/1,2/) represents the spatial dimensions lon,lat




while the CDO command is:
cdo sqrt -fldmean -sqr -sub sim.nc obs.nc rmse.nc


However, the CDO output (64.44424) is different from the NCL one (63.95646), and I couldn't figure out why.


Attached are the two .nc files (sim var=rain_tot(time, lat, lon); obs var=crain(time, lat, lon))


Any hint is much appreciated!


Best, 
Qi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151119/63bffbcb/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: obs-crain12d-zoom-rmp2wrf30.nc
Type: application/octet-stream
Size: 29132 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151119/63bffbcb/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sim04-wrfd02-sel-rain12d-rmp-zoom-rmp2wrf30.nc
Type: application/octet-stream
Size: 30364 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151119/63bffbcb/attachment-0001.obj 


More information about the ncl-talk mailing list