From 5b97aa08b26a0726e0962aacba7782e10be2afc8 Mon Sep 17 00:00:00 2001 From: Bart Schilperoort Date: Tue, 4 Apr 2023 15:07:44 +0200 Subject: [PATCH] Release 0.2.1 (#77) * Update bumpversion config * Bump version to 0.2.1 * Update the changelog * Add land cover to changelog * Pin pandas to <= 2 --- .bumpversion.cfg | 9 +-------- CITATION.cff | 2 +- PyStemmusScope/__init__.py | 2 +- docs/CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e05f795d..e794b578 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,17 +1,10 @@ [bumpversion] -current_version = 0.2.0 - -[comment] -comment = The contents of this file cannot be merged with that of setup.cfg until https://github.com/c4urself/bump2version/issues/185 is resolved +current_version = 0.2.1 [bumpversion:file:PyStemmusScope/__init__.py] search = __version__ = "{current_version}" replace = __version__ = "{new_version}" -[bumpversion:file:setup.cfg] -search = version = {current_version} -replace = version = {new_version} - [bumpversion:file:CITATION.cff] search = version: "{current_version}" replace = version: "{new_version}" diff --git a/CITATION.cff b/CITATION.cff index b9487fc7..cf0b514e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -20,7 +20,7 @@ authors: orcid: "https://orcid.org/0000-0002-1966-8460" date-released: 2022-11-24 doi: -version: "0.2.0" +version: "0.2.1" repository-code: "https://github.com/EcoExtreML/stemmus_scope_processing" keywords: - STEMMUS SCOPE Processing diff --git a/PyStemmusScope/__init__.py b/PyStemmusScope/__init__.py index c9db1cfc..6b1ebb0d 100644 --- a/PyStemmusScope/__init__.py +++ b/PyStemmusScope/__init__.py @@ -9,4 +9,4 @@ __author__ = "Sarah Alidoost" __email__ = "f.alidoost@esciencecenter.nl" -__version__ = "0.2.0" +__version__ = "0.2.1" diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 17e71415..00329519 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.1] - 2023-04-03 + +This version is only compatible with [STEMMUS_SCOPE 1.2.0](https://github.com/EcoExtreML/STEMMUS_SCOPE/releases/tag/1.2.0). + +### Added: +- LAI data can now be read by the global data routines ([#69](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/pull/69)). +- Land cover data can now be read by global data routines ([#73](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/pull/73)) +- Data validation checks (file existance, spatial & temporal bounds, ...) to global data read routines ([#71](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/pull/71)). + +### Changed: +- The project has been moved to a `pyproject.toml` + `hatch` setup, with ruff as the linter and mypy as type checker ([#68](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/pull/68)). + +### Fixed: +- The output netcdf file is again compatible to the model evaluation website ([#76](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/pull/76)). ## [0.2.0] - 2023-02-21 diff --git a/pyproject.toml b/pyproject.toml index 0cac27ea..984e6001 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ dependencies = [ "hdf5storage", "netcdf4<=1.5.8", "numpy", - "pandas", + "pandas<2", "xarray", "rioxarray", # required for interacting with .tiff files "scipy", # required for xarray's interpolate