Project

General

Profile

How to calculate (IoA, R, RMSE, MEAN, STD, MAE) by CDO.

Added by Muhammad Abid Khan almost 2 years ago

How to calculate (IoA, R, RMSE, MEAN, STD, MAE) by CDO.
I have two data set simulations and observations.
1- sim.nc
2- obc.nc

1- Index of agreement (IoA)
2- correlation coefficient (R)
3- root-mean-square error (RMSE))
4- climatological mean (MEAN)
5- standard deviation (STD)
6- mean absolute error (MAE)

If anyone's method can not solve by CDO kindly let us know another software platform how to calculate.
Thank you in advance.


Replies (1)

RE: How to calculate (IoA, R, RMSE, MEAN, STD, MAE) by CDO. - Added by Karin Meier-Fleischer almost 2 years ago

Hi Muhammad,

First, you should take a look at the CDO User Guide

Search in the User Guide 'correlation coefficient' and tada you find the Correlation and co. chapter.
https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#section.2.9

Another way is to simply google your question with cdo as first search word.

My Google search of 'cdo compute rmse' leads me to the following CDO forum issue:
https://code.mpimet.mpg.de/boards/2/topics/5461

To compute RMSE:

cdo -sqrt -fldmean -sqr -sub simfile obsfile RMSE.nc

Mean and standard deviation computation depends on what you want to compute, the mean over time, the mean of the horizontal field, yearly-mean, daily mean? Climatology can also be a 30-years time series. CDO provides a lot of mean and std operators (see User Guide).

    (1-1/1)