Skip to content

Release v1.6.0

Compare
Choose a tag to compare
@dbrakenhoff dbrakenhoff released this 15 Aug 13:45
· 52 commits to master since this release
20a579d

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

Full Changelog: v1.5.0...v1.6.0