New features
- Hydropandas integration, easily download KNMI and BRO observations using the `pstore.hpd` extension. To use this extension, activate it as follows:
python
from pastastore.extensions import activate_hydropandas_extension
activate_hydropandas_extension()
download precipitation
pstore.hpd.download_knmi_precipitation(stn=260)
download groundwater observations
pstore.hpd.download_bro_gmw(
extent=(117850, 118180, 439550, 439900), tmin="2022-01-01", tmax="2022-01-02"
)
- Create Pastas stressmodels directly from the pastastore. Usage:
python
get stressmodel
sm = pstore.get_stressmodel("well", rfunc="Exponential", up=False, settings="well") use name of stress to build stressmodel
ml.add_stressmodel(sm)
add directly to model
pstore.add_stressmodel(ml, "nearest prec") supports nearest lookups, added directly to model
pstore.add_stressmodel(ml, ["nearest prec", "nearest evp"], stressmodel="RechargeModel") add linear recharge model
What's Changed
* Add hydropandas extension by dbrakenhoff in https://github.com/pastas/pastastore/pull/130
* Improve hpd by dbrakenhoff in https://github.com/pastas/pastastore/pull/132
* Add helper functions to get stressmodels from pastastore by dbrakenhoff in https://github.com/pastas/pastastore/pull/134