Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.8.0 #67

Merged
merged 147 commits into from
Jun 20, 2022
Merged

Release v0.8.0 #67

merged 147 commits into from
Jun 20, 2022

Conversation

dbrakenhoff
Copy link
Member

New features:

  • YAML interface, store and load timeseries models as YAML files. See the notebook here.
  • Add library that stores oseries -> models relationship. Use to easily find which models exist for a certain oseries.
  • Add model accessor object, allowing looping over pstore.models or dict-like access, i.e. pstore.models["my_first_model"].
  • Add upsert methods (update or if timeseries does not exist, insert it into the database)
  • Add stresslinks plot, linking models with stresses on a map.
  • Add cumulative histogram plot.
  • Add optional dependencies in setup with i.e. pip install pastastore[all]

Notes:

  • set default option for checking if model timeseries are contained in pastastore to True
  • add option to drop NaNs in data availability plots
  • support for storing and loading models with TarsoModel
  • small plot improvements
  • improve search feature to search for substrings in timeseries or model names
  • improve testing using teardowns
  • and lots more small improvements and fixes...

dbrakenhoff and others added 30 commits October 6, 2021 11:44
As ne treats nans as unequal
Change default value of check_model_series_values to True
- with and without timeseries values checks
- update or insert timeseries
(for lazy people who dont feel like checking if a series is already stored)
- add iter_* methods for looping over contents in library
- add tests
- some minor changes (docstrings, etc.)
Add upsert and iter methods
- allows models to be obtained with dict-like selection from pstore.models
- allows models to be added to store with dict-like assign method
- allows iteration over models
Don't show timesteps with NaNs in data availability plot
- keep a list of model names per oseries
- list is updated when models are added deleted
- accessor has dict-like access
- initialized when instantiating connector (2 ms per model for arctic)
- add test
add oseries models accessor
- add option to ignore errors in get_statistics and get_parameters
- add _modelnames_cache property to store
dbrakenhoff and others added 29 commits May 3, 2022 12:09
Install Optional Dependencies Directly
- add method for minimal dictionary
- add method for replacing timeseries with names or "nearest"
- add support for lists in _convert_dict_dtypes_for_yaml
- add minimal_yaml and use_nearest options for exports
- add tests for minimal_yaml and use_nearest
- update notebook showcasing minimal_yaml and use_nearest
improve yaml interface
- use optimal param instead of initial
This reverts commit 6fd48dc.
@dbrakenhoff dbrakenhoff merged commit 3e6dd14 into master Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants