All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- function
get_name_with_macrons
to map place names to correct Māori spelling with macrons
- moved
location
package resources to sub-package and import withimportlib.resources
- import
location.location
functions into base package init for ease of use
- docstring for function
nzshm_common.location.location_by_id
- within_polygon helper function
bumpversion required to trigger updated build pipeline
official 0.8.0 release
- CodedLocationBin class
- bin_locations for collecting coded locations at a coarser resolution
- Illustration of bin_locations applied to a grid dataset
- More documentation and examples
- Fixture for sampling on a reduced set of NZ_0_1_NB_1_0
- location/code_location.py is renamed to coded_location for consistency
- 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]
- non-breaking change; they are functionally equivalent in runtime
- get_locations function
- documentation
- optional shapely dependency moved to main dependency group
- geopandas dependency
- function get_backarc_polygon() renamed to backarc_polygon()
- BACKARC_POLYGON no longer declared in geometry.py see #29
- updated project dependency group geometry
- update optional geopandas version
- location_by_id() retuns None if code doesn't exist
- LOCATIONS and LOCATION_LISTS
- included support for python 3.10
- add Hawkes Bay locatons with vs30s
- add SRWG214 locations
- function to create backarc polygon
- backarc polygon
- add BACKARC_POLYGON constant (note requires optional geopandas dependency)
- updated temporary codes (xxN) used for some locations to use Z prefix
- added Whangarei to locations list
- extras [geometry] to provide geometry helper
- github actions config
- tox setup
- project metadata
- python 3.7 support (pandas)
- util.compression module
- tox setup
- ROT Rotorua to LOCATIONS
- Added ROT to NZ main cities
- fix lat-lon order for grid enums
- move to semantic versioning next logical version was 1.1.0, but this is not appropriate, as the public API is still fluid (see https://devhints.io/semver)
- NZ_0_1_NB_1_0 0.1 grid ENUM matching the CSV data used before this release
- NZ_0_1_NB_1_1 0.1 grid ENUM matching the new latest generation data.
- added this changelog file.