Releases: pastas/pastastore
Releases · pastas/pastastore
Release v1.10.0
New release with new methods:
pstore.maps.modelparam
pstore.maps.signature
pstore.check_models
Improvements
- legend for stresses map
- pretty representations of submodules that show available methods
- improved error messages
Fixes:
- bug in getting parameters when parameter is not in all models
- bug in
get_stressmodel
for WellModel with a single well - make axis equal when plotting (most) maps
- use absolute path in PasConnector .pastastore-file
What Changed in v1.9.0:
- Support Python 3.13 by @martinvonk in #153
- test latest release arcticdb w python 3.12, 3.13 by @dbrakenhoff in #159
- Allow loading pastastore from file by @dbrakenhoff in #158
- allow loading YAML directly from string by @dbrakenhoff in #156
- Add model metadata dataframe by @dbrakenhoff in #157
- Release v1.9.0 by @dbrakenhoff in #160
- Release v1.10.0 by @dbrakenhoff in #163
Full Changelog: v1.8.0...v1.10.0
Release v1.9.0
What's Changed
- Support Python 3.13 by @martinvonk in #153
- test latest release arcticdb w python 3.12, 3.13 by @dbrakenhoff in #159
- Allow loading pastastore from file by @dbrakenhoff in #158
- allow loading YAML directly from string by @dbrakenhoff in #156
- Add model metadata dataframe by @dbrakenhoff in #157
- Release v1.9.0 by @dbrakenhoff in #160
Full Changelog: v1.8.0...v1.9.0
Release v1.8.0
Features
- Parallel support, e.g. for solving models, getting statistics, etc. Works out of the box on linux, but there are methods to get it working on Windows/MacOS in a script with a
if __name__ == "__main__":
block. - Improve zipfile format to use pas files. Improves reading zipfiles when using
PasConnector
. - Other small improvements, e.g. searching for symbols across all libraries.
What's Changed
- allow searching in all libraries by @dbrakenhoff in #148
- Allow parallel solve of models using ArcticDBConnector by @dbrakenhoff in #147
- More parallel by @dbrakenhoff in #150
- Improve reading/writing zipfiles using .pas files everywhere by @dbrakenhoff in #152
- Release v1.8.0 by @dbrakenhoff in #149
Full Changelog: v1.7.2...v1.8.0
Pastastore v1.7.2
What's Changed
- Add methods for getting nearest knmi time series by @dbrakenhoff in #141
- Improve series comparison and some user feedback by @dbrakenhoff in #140
- Release v1.7.2 by @dbrakenhoff in #142
Full Changelog: v1.7.1...v1.7.2
Release v1.7.1
Release v1.7.0
What's Changed
- Solve models in parallel with multi processing by @martinvonk in #138
- Release v1.7.0 by @dbrakenhoff in #137
- Minor improvements to hydropandas extension
Full Changelog: v1.6.1...v1.7.0
Release v1.6.1
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
- small fix for tests :'( by @dbrakenhoff in #135
Full Changelog: v1.5.0...v1.6.1
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
Release v1.5.0
What's Changed
- Make get_tmin_tmax method work for models and add del_model method by @martinvonk in #118
- Make progressbar optional in frontiers checks by @OnnoEbbens in #115
- Deprecate PystoreConnector and ArcticConnector by @dbrakenhoff in #123
- PasConnector returns Series and maintains series dtype by @dbrakenhoff in #124
- Some minor fixes by @dbrakenhoff in #125
- Add ruff as GH actions step by @dbrakenhoff in #122
- Add support for Python 3.12 and clean up ini files by @martinvonk in #114
- Release v1.5.0 by @dbrakenhoff in #126
Full Changelog: v1.4.0...v1.5.0
Release v1.4.0
What's Changed
- fix for #111 by @OnnoEbbens in #112
- Release pastastore 1.4.0 by @dbrakenhoff in #110
Full Changelog: v1.3.0...v1.4.0