Skip to content

v1.0.1

Compare
Choose a tag to compare
@jakobwes jakobwes released this 25 Apr 09:41
· 58 commits to main since this release

First stable release of ibicus: v1.0.1

Meta

Changes include improvements in code robustness, as well as new features and syntax simplifications. There has also been a substantial review of the documentation.

ibicus.debias

Debiaser.apply

  • parallel option is now stable.
  • verbosity argument has been removed. Instead warnings relevant for the user are generated with the warnings.warning interface and logging is per default now done onto the library logger (“ibicus”) whose behavior can be controlled with the standard logging tools or set_verbosity_library_logger() in utils.
  • progressbar = True option has been added to activate and deactivate the progressbar.
  • failsafe option has been added to continue execution if an error is encountered at a location.
  • Seamless integration with dask as shown in a new notebook.

Debiasers:

  • DeltaChange: interface to initialize and apply debiaser now consistent with the other methods.
  • QuantileMapping, SDM & ECDFM: Added CDF thresholding and reduced the threshold in SDM.
  • CDFt: previously failed when there was no rain event in the running window, this has been fixed.
  • ISIMIP: previously inconsistent results for weibull and rice distribution (tasrange) in parallelization, this has been fixed.

ibicus.evaluate

Extension of the ThresholdMetrics class:

  • Thresholds can now be defined location-wise, with respect to certain months, seasons, days of year, and be initialized from quantiles in the observational period (for example a threshold defined as the 95th percentile of the season for this gridcell is now possible).

evaluate.marginal bias calculation:

  • Added option to calculate the absolute location-wise bias (in [physical unit] for statistics and [days / year] for threshold metrics), compared to previous default of percentage bias.

Visualizations in evaluate.marginal, evaluate.trend, evaluate.metrics and evaluate.multivariate

  • Plots that show distribution of biases across location improved - boxplots instead of violin plots, horizontal line at zero added and title fonts improved.
  • Bug in manual title setting corrected.
  • Outlier removal option removed from calculation function and added to plot function, serves the sole purpose of making plots more readable.
  • New visualization option for spatiotemporal clusters as empirical CDFs added, compared to the previous violin plots.
  • Spatial plots of conditional threshold exceedance added.