Release v1.6.0
New features
- Hydropandas integration, easily download KNMI and BRO observations using the
pstore.hpd
extension. To use this extension, activate it as follows:
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:
# 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 #130
- Improve hpd by @dbrakenhoff in #132
- Add helper functions to get stressmodels from pastastore by @dbrakenhoff in #134
- Release v1.6.0 by @dbrakenhoff in #133
Full Changelog: v1.5.0...v1.6.0