Skip to content

Releases: pastas/pastastore

Release v0.7.0

30 Mar 00:43
27a70b6
Compare
Choose a tag to compare

What's Changed

  • Set timeseries checking option to True by default. Pastastore will first check whether timeseries in a pastas Model match stored copies.
  • Add upsert methods (update if series exists, otherwise insert), for lazy people who don't feel like checking if something exists.
  • Add ModelAccessor object. Allows accessing and adding models through a dict-like interface, i.e. ml = pstore.models["model1"] or pstore.models["model2"] = ml2. Addtionally support iterating over pstore.models.
  • Do not show NaN values in data availability plots
  • Add a oseries-model object that keeps track of which models belong to which oseries. Useful for finding models for a certian location (without having to loop over all models). Work in Progress.
  • Add support for TarsoModel
  • Add option to ignore errors in pstore.get_statistics() and pstore.get_parameters()
  • Add stress-links map, showing which stresses are used by which models.
  • Add cumulative histogram plot, showing which percentage of models exceed a certain statistic value.
  • Lots of minor improvements.

Full Changelog: v0.6.1...v0.7.0

Release v0.6.1

06 Oct 09:43
82eaf25
Compare
Choose a tag to compare

Minor update

  • remove pandas max dependency
  • minor fixes, see #45

Release v0.6.0

03 Sep 15:36
13bd833
Compare
Choose a tag to compare

Major internal refactoring of code, moved all general code to BaseConnector class, all specific code kept in specific Connector classes.

Add features:

  • add update methods for timeseries (for adding new data)
  • add some basic support for adding pastas.TimeSeries
  • add copy_database function
  • add plot and map methods (see notebook)
  • add rudimentary search timeseries method (for lazy people who only want to see metadata but only type the first few letters)
  • add option to check whether timeseries in a pastas.Model are exactly the same as in the store (see PastaStore.set_check_model_series_values(), by default off)
  • minor(bug)fixes and improvements

Release v0.5.0

17 Jun 09:30
72e5bd3
Compare
Choose a tag to compare

Improvements and fixes:

  • improve support for RechargeModel
  • automatic updating of tmin/tmax in timeseries settings and models
  • add option to retrieve metadata in pstore.get_oseries() and pstore.get_stresses()
  • improve get_oseries_distances to exclude self
  • improve reading database from zipfiles
  • add option to pass name for added RechargeModel

Release 0.4.0

16 Mar 15:02
76c167a
Compare
Choose a tag to compare
  • Add PasConnector object for storing timeseries and models as Pastas .pas-files on disk. Simplest method to store pastas data on disk without any external dependencies (only pastastore and pastas required).
  • Add method for detailed comparison of pastas Models: pastastore.util.compare_models()
  • Add method to export all timeseries in a model as CSV-files.
  • Add support for models using RechargeModel
  • Add benchmarks
  • Bug fixes:
    • Improve reading/writing zipfiles
    • Check for unsupported characters in metadata dictionaries
    • and more...

Release 0.3.2

15 Dec 12:28
f3317b0
Compare
Choose a tag to compare

Minor update:

  • new maxdist argument for PastaStore.get_nearest
  • allow multiple entries for kind keyword argument in PastaStore methods
  • improve messaging when linking to existing databases
  • add names="all" as option to get all series/stresses/models
  • add methods in utils for emptying databases, improve method for deleting databases
  • fix for getting nearest stresses when x, y coordinates are NaN
  • some improvements in documentation

Release 0.3.1

31 Jul 16:22
Compare
Choose a tag to compare

Changes relative to v0.3.0:

  • Small update for PyPI

In this release (v0.3.0):

  • Improved example notebooks (specially for users coming from pastas.Projects
  • Improved naming timeseries logic (removed support for multi-column DataFrames)
  • Improved consistency between Connector objects.
  • Add get_parameters() and get_statistics() methods to PastaStore.
  • Bug fix for storing and loading from zipfiles.
  • Add checks when adding models and improve error messages if stuff goes wrong.
  • Support for pastas 0.15.0 (refactor of internal methods)

Release 0.3.0

31 Jul 15:29
0200d9e
Compare
Choose a tag to compare

In this release:

  • Improved example notebooks (specially for users coming from pastas.Projects
  • Improved naming timeseries logic (removed support for multi-column DataFrames)
  • Improved consistency between Connector objects.
  • Add get_parameters() and get_statistics() methods to PastaStore.
  • Bug fix for storing and loading from zipfiles.
  • Add checks when adding models and improve error messages if stuff goes wrong.
  • Support for pastas 0.15.0 (refactor of internal methods)

pastastore v0.2.0

14 Jul 16:20
d5d016e
Compare
Choose a tag to compare

New functionality:

  • save store content to zip-file (a simple method to share data) and load data into PastaStore from zipfile (#3 and #9, #10): Pastastore.to_zip() and PastaStore.from_zip()
  • added PastaStore.get_parameters() and PastaStore.get_statistics() methods (Fixes #3)
  • Allow pastas.Models to be read and added to databases in dictionary/json form. When the functionality of the pastas Model is not required, it is faster to access the models as dictionaries. This update allows the user to handle models in the PastaStore this way.
  • When adding a model based on timeseries that are not already in the PastaStore, the oseries and stresses are added to the PastaStore automatically and a warning is shown.

Improvements:

  • DictConnector now explained in readme (#8)
  • Connector methods (e.g. store.conn.get_oseries() are now available directly from the PastaStore object, i.e. store.get_oseries().
  • formatted docstrings with docformatter
  • improve docker-compose file for using MongoDB
  • and quite a few minor improvements...

Minor update v0.1.1

27 Mar 15:30
6475f0e
Compare
Choose a tag to compare

Fix to pastastore.get_tmin_tmax()