From 95b5768a671aac9a178d97249c778c02a92cb01f Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Thu, 7 Dec 2023 11:27:14 +1300 Subject: [PATCH] RLS: 0.5 --- CHANGELOG.md | 17 ++++++++++++++++- CITATION.cff | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 755f13a..37cc830 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [0.5] - 2023-12-07 +### Added +- Add vector (polygon) attributes and functions, including `cell_geoms` property, a `write_vector()` method. +- Add `cell_geoseries()` and `cell_geodataframe()` methods. +- Allow other geometry types to be used (not just polygon). +### Changed +- Change `array_from_vector` to use `refine=None`, to auto-select appropriate value. +- Change `mask_from_vector` to `use refine=1` and `all_touched=True`. +- Better filter for `Grid.from_vector` class method. +- Build Grid from FloPy `modelgrid` object. +### Fixed +- Allow write_raster to write bool array; fix issue with nodata. +- Fix resampling option for `array_from_raster` and `array_from_array`. + ## [0.4] - 2022-11-09 ### Added - Add `all_touched` option for `array_from_vector`. @@ -32,7 +46,8 @@ All notable changes to this project will be documented in this file. ### Added - Initial version. -[Unreleased]: https://github.com/mwtoews/gridit/compare/0.4...HEAD +[Unreleased]: https://github.com/mwtoews/gridit/compare/0.5...HEAD +[0.5]: https://github.com/mwtoews/gridit/compare/0.4...0.5 [0.4]: https://github.com/mwtoews/gridit/compare/0.3...0.4 [0.3]: https://github.com/mwtoews/gridit/compare/0.2...0.3 [0.2]: https://github.com/mwtoews/gridit/compare/0.1...0.2 diff --git a/CITATION.cff b/CITATION.cff index d253cc3..53a6425 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,8 +2,8 @@ cff-version: 1.2.0 message: "Please cite this software using these metadata." type: software title: "Gridit" -version: "0.4" -date-released: "2022-11-09" +version: "0.5" +date-released: "2023-12-07" doi: 10.5281/zenodo.7030428 abstract: "Gridit provides spatial tools to translate raster or vector geometry data to regular grids." repository-artifact: https://pypi.org/project/gridit