Usage#
Servers#
There’s a running instance of the backend at http://pavics.ouranos.ca/portail-ing-backend
The user interface prototype runs on http://pavics.ouranos.ca/portail-ing-frontend
If any of those links return 404 errors, please contact pavics@ouranos.ca
Library#
To use the peach library in a project, start with importing the risk package.
from peach import risk
Modules of interest:
bootstrapResample data using bootstraping
priorsDefine the priors over models and scenarios
xmixtureDefines the
XMixtureDistributionclass facilitating the evaluation of mixture statistics fromxr.DataArrayof statistical distribution parameters and weights.
Modules idf and wl define dummy xclim indicators designed to access pre-computed data on the storage server. Other indicators use precipitation and temperature as input variables, run computations, and return indicator results. Sub-daily extreme precipitations and extreme hourly water levels have been pre-computed, so the indicators only need to fetch the values directly. The indicators are essentially empty placeholders storing metadata used in the frontend.