dmit.stats.fss module
- dmit.stats.fss.calculate_fss(obs, mod, percentile=None, threshold=None, nmax=50)[source]
Calculates FSS
- Parameters
obs (array) – Input array of truth (eg. observations)
mod (array) – Input array of model (eg. model data)
percentile (float (optional)) – Which percentile to use. Defaults to None
threshold (float (optional)) – Which threshold to use. Defaults to None
nmax (integer (optional)) – How many gridpoints to consider. Defaults to 50.
- Returns
FSS (list) – List with FSS for different scales
f0 (float) – FSS value for random values
Notes
Either percentile or threshold should be set.