diagnostic.functions.root_mean_square_error#
- root_mean_square_error(da_mod: DataArray, da_ref: DataArray) float [source]#
Calculate the Root Mean Square Error (RMSE) between model data and reference data.
- Parameters:
da_mod (xr.DataArray) – The model data to compare (should match the shape of da_ref).
da_ref (xr.DataArray) – The reference data to compare against (should match the shape of da_mod).
- Returns:
The Root Mean Square Error (RMSE) between the model and reference data.
- Return type:
float