digger.compare.deposit

Module Contents

Functions

rmse

Calculate root mean squared error (RMSE) of observed and simulated deposit thickness.

API

digger.compare.deposit.rmse(data, model, count_zeros=True)

Calculate root mean squared error (RMSE) of observed and simulated deposit thickness.

Inputs:
dataPath

Rasterio-readable file containing observed deposit depth.

modelPath

Rasterio-readable file containing simulated deposit depth.

count_zerosbool

If True the RMSE will consider all grid cells in the data file. If False it will consider only grid cell in which either model or data different from zero.

Returns:
rmsefloat

Root mean squared error of the difference between observed and simulated deposits.