-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
@JackReevesEyre-NOAA reported the problem of having NaNs
for general metrics (I'd guess cr
principally) when using higher quantile values in get_stats()
.
There is a confusion on the default quantile used (currently 0).
Although there is a Usage example at the end of the README:
from seastats import get_stats, GENERAL_METRICS_ALL, STORM_METRICS_ALL
general = get_stats(sim, obs, metrics = GENERAL_METRICS)
storm = get_stats(sim, obs, quantile = 0.99, metrics = STORM_METRICS) # we use a different quantile for PoT selection
pd.DataFrame(dict(general, **storm), index=['abed'])
it'd be less confusing:
- to add a DISCLAIMER warning users at the beginning,
- or even spit the current
get_stats()
in 2 separate API calls- one for storms
- one for general metrics
JackReevesEyre-NOAA
Metadata
Metadata
Assignees
Labels
No labels