Skip to content

Releases: GNS-Science/nzshm-common-py

v0.8.4

06 Dec 03:10
e7b4e9b
Compare
Choose a tag to compare
Pre release (#61)

* new within_polygon helper function and test coverage
* Maori place name mapping
* import `location.location` functions into base package init for ease of use

v0.8.1

03 Jul 02:20
Compare
Choose a tag to compare
Bump version: 0.8.0 → 0.8.1

v0.8.0

02 Jul 22:02
8a81790
Compare
Choose a tag to compare
Pre release (#49)

* API improvements (#41)

0.8.0-alpha pre-release

 - new LatLon type definition for a (latitude, longitude) named tuple
 - nzshm_common.constants.DEFAULT_RESOLUTION (0.001 degree)
 - sorting for CodedLocation objects (N->S then W->E)
 - get_location_grid and get_location_grid_names functions for grids
 - get_location_list and get_location_list_names functions for location lists
 - CodedLocation (and new LatLon) can be imported directly from nzshm_common
 - several function signatures now use LatLon instead of Tuple[float, float]

 - a variety of documentation strings and typo fixups
 - included grids.region_grid in docs config
 - improving test coverage
 - does_not_raise test context manager moved into tests/helpers.py
 - housekeeping on some imports

* Add binning of CodedLocation objects into a CodedLocationBin at coarser resolution.

* Added 0.8.0-alpha.1 Changelog

* Refactored get_location_grid to use native RegionGrid resolution. (#48)

* update changelog; remove empty usage docs form mkdocs index.

* Bump version: 0.7.0 → 0.8.0

---------

Co-authored-by: David Thompson <[email protected]>
Co-authored-by: David Thompson <[email protected]>

v0.7.0

14 Apr 21:39
bd2f056
Compare
Choose a tag to compare
36 get locations (#37)

* get_locations
* type hints
* test fixtures
* docs
* contributing
* test get_locations
* update changelog
* Bump version: 0.6.1 → 0.7.0
* change type hint
* more robust handling of paths
* A bit of tidying.
* Adding test_resolution_bounds to check assertions.
* Fixing a couple of docstrings.

---------

Co-authored-by: David Thompson <[email protected]>

v0.6.1

09 Jan 21:32
Compare
Choose a tag to compare
update workflows to GNS scripts

v0.6.0

19 Apr 00:46
599f3eb
Compare
Choose a tag to compare
backarc function returns shapely Polygon object loaded from text (#32)

* backarc function returns shapely Polygon object loaded from text, rename function
* remove geopandas dependency
* Bump version: 0.5.1 → 0.6.0
* update changelog
* backarc test dependent on optional shapely package

v0.5.1

18 Apr 00:49
fb4a154
Compare
Choose a tag to compare
Fix/29 remove backarc polygon (#31)

* updated project ; removed constant declaration;
* changelog
* Bump version: 0.5.0 → 0.5.1

v0.5.0

17 Apr 04:08
Compare
Choose a tag to compare
update readme w badges; fix GHA script;

v0.4.0

27 Sep 00:13
Compare
Choose a tag to compare

Changed

  • updated temporary codes (xxN) used for some locations to use Z prefix

Added

  • added Whangarei to locations list

v0.3.2

17 Aug 21:37
Compare
Choose a tag to compare

Added

  • extras [geometry] to provide geometry helper

Changed

  • github actions config
  • tox setup
  • project metadata

Removed

  • python 3.7 support (pandas)