Emsarray

Latest version: v0.6.1

Safety actively analyzes 623694 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.0

* Use ‘ravel’ and ‘wind’ as antonyms instead of ‘ravel’ and ‘unravel’. English is weird. ‘Ravel’ and ‘unravel’ mean the same thing!. ([pull request 100](https://github.com/csiro-coasts/emsarray/pull/100), [pull request #104](https://github.com/csiro-coasts/emsarray/pull/104)).
* Added new [emsarray.conventions.DimensionConvention](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.DimensionConvention) subclass. For conventions with multiple grids defined on unique subsets of dimensions this base class will provide a number of default method implementations. All existing conventions have been updated to build off this base class. ([pull request 100](https://github.com/csiro-coasts/emsarray/pull/100))
* Remove workaround for [pydata/xarray6049](https://github.com/pydata/xarray/pull/6049) ([pull request #101](https://github.com/csiro-coasts/emsarray/pull/101)).
* Add [Convention.wind()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.wind) method as the inverse to [Convention.ravel()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.ravel) ([pull request 102](https://github.com/csiro-coasts/emsarray/pull/102), [pull request #104](https://github.com/csiro-coasts/emsarray/pull/104)).
* Add [Convention.strtree()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.strtree) spatial index, deprecate [Convention.spatial_index()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.spatial_index). The old attribute was a compatibility shim around Shapely 1.8.x STRtree implementation. Now that the minimum version of Shapely is 2.0, the STRtree can be used directly. ([pull request 103](https://github.com/csiro-coasts/emsarray/pull/103)).
* Add [emsarray.plot.add_landmarks()](https://emsarray.readthedocs.io/en/stable/api/plot/#emsarray.plot.add_landmarks) and landmarks parameter to Convention.plot() and related functions. ([pull request 107](https://github.com/csiro-coasts/emsarray/pull/107)).
* Make the positive_down and deep_to_shallow parameters optional for [normalize_depth_variables()](https://emsarray.readthedocs.io/en/stable/api/operations/depth/#emsarray.operations.depth.normalize_depth_variables). If not supplied, that feature of the depth variable is not normalized. This is a breaking change if you previously relied on the default value of True for these parameters. ([pull request 108](https://github.com/csiro-coasts/emsarray/pull/108)).
* Add new module [emsarray.transect](https://emsarray.readthedocs.io/en/stable/api/transect/#module-emsarray.transect) for making transect plots. This feature is considered experimental and may change significantly in future releases. ([pull request 110](https://github.com/csiro-coasts/emsarray/pull/110)).
* Fix an issue with plotting variables with no long_name attribute. ([issue 105](https://github.com/csiro-coasts/emsarray/issues/105), [pull request #111](https://github.com/csiro-coasts/emsarray/pull/111)).

0.5.0

* Add missing_points parameter to [emsarray.operations.point_extraction.extract_points()](https://emsarray.readthedocs.io/en/stable/api/operations/point_extraction/#emsarray.operations.point_extraction.extract_points) and [emsarray.operations.point_extraction.extract_dataframe()](https://emsarray.readthedocs.io/en/stable/api/operations/point_extraction/#emsarray.operations.point_extraction.extract_dataframe). Callers can now choose whether missing points raise an exception, are dropped from the returned dataset, or filled with a sensible fill value ([pull request 90](https://github.com/csiro-coasts/emsarray/pull/90)).
* Align automatic coordinate detection of time and depth with CF Conventions. Add [Convention.time_coordinate](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.time_coordinate) and [Convention.depth_coordinate](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.depth_coordinate), deprecate [Convention.get_times()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.get_times) and [Convention.get_depths()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.get_depths) ([pull request 92](https://github.com/csiro-coasts/emsarray/pull/92)).
* Add [Convention.select_variables()](https://emsarray.readthedocs.io/en/stable/api/conventions/interface/#emsarray.conventions.Convention.select_variables) ([pull request 93](https://github.com/csiro-coasts/emsarray/pull/93), [pull request #94](https://github.com/csiro-coasts/emsarray/pull/94)).
* Fix various small issues with the docs. Use newer version of sphinx-book-theme for documentation ([pull request 91](https://github.com/csiro-coasts/emsarray/pull/91)).
* Remove shorthand imports such as `import xarray as xr` ([pull request 95](https://github.com/csiro-coasts/emsarray/pull/95)).
* Drop Python 3.8 support. Bump minimum dependency versions to those released in the past 18 months ([pull request 96](https://github.com/csiro-coasts/emsarray/pull/96)).

0.4.3

* Fix an issue with negative coordinates in [bounds_argument()](https://emsarray.readthedocs.io/en/v0.4.3/api/cli/#emsarray.cli.utils.bounds_argument) ([pull request 74](https://github.com/csiro-coasts/emsarray/pull/74)).
* Add a new emsarray plot subcommand to the emsarray command line interface ([pull request 76](https://github.com/csiro-coasts/emsarray/pull/76)).
* Use [matplotlib.collections.PolyCollection](https://matplotlib.org/stable/api/collections_api.html#matplotlib.collections.PolyCollection) rather than [PatchCollection](https://matplotlib.org/stable/api/collections_api.html#matplotlib.collections.PatchCollection) for significant speed improvements ([pull request 77](https://github.com/csiro-coasts/emsarray/pull/77)).
* Added [emsarray.utils.timed_func()](https://emsarray.readthedocs.io/en/v0.4.3/api/utils/#emsarray.utils.timed_func) for easily logging some performance metrics ([pull request 79](https://github.com/csiro-coasts/emsarray/pull/79)).
* Add [Convention.bounds](https://emsarray.readthedocs.io/en/v0.4.3/api/conventions/interface/#emsarray.conventions.Convention.bounds) and [Convention.geometry](https://emsarray.readthedocs.io/en/v0.4.3/api/conventions/interface/#emsarray.conventions.Convention.geometry) attributes ([pull request 83](https://github.com/csiro-coasts/emsarray/pull/83)).
* Fix a number of numpy warnings about unsafe casts ([pull request 85](https://github.com/csiro-coasts/emsarray/pull/85)).
* Follow CF Conventions properly when finding latitude / longitude coordinate variables ([issue 84](https://github.com/csiro-coasts/emsarray/issues/84), [pull request #86](https://github.com/csiro-coasts/emsarray/pull/86))
* Include a py.typed file in built packages ([issue 80](https://github.com/csiro-coasts/emsarray/issues/80), [pull request #87](https://github.com/csiro-coasts/emsarray/pull/87)).

0.4.2

* Fixed an issue with `_FillValue` / `missing_value` and variables with non-float types such as timedelta64 ([pull request 71](https://github.com/csiro-coasts/emsarray/pull/71))

0.4.1

* Fix licence vs license confusion ([pull request 63](https://github.com/csiro-coasts/emsarray/pull/63))

0.4.0

* Add CF Convention attributes to coordinate variables when extracting points ([pull request 34](https://github.com/csiro-coasts/emsarray/pull/34))
* Reworked how command line entrypoints are discovered ([pull request 35](https://github.com/csiro-coasts/emsarray/pull/35))
* Added brief tutorial on writing command line Python scripts using emsarray ([pull request 35](https://github.com/csiro-coasts/emsarray/pull/35))
* Various documentation fixes ([pull request 42](https://github.com/csiro-coasts/emsarray/pull/42), [pull request #43](https://github.com/csiro-coasts/emsarray/pull/43), [pull request #52](https://github.com/csiro-coasts/emsarray/pull/52), [pull request #58](https://github.com/csiro-coasts/emsarray/pull/58))
* Added Python 3.11 support to CI ([pull request 44](https://github.com/csiro-coasts/emsarray/pull/44))
* Allow manual binding of conventions to datasets ([pull request 45](https://github.com/csiro-coasts/emsarray/pull/45))
* Renamed Format to [Convention](https://emsarray.readthedocs.io/en/v0.4.0/api/conventions/interface/#emsarray.conventions.Convention) ([pull request 46](https://github.com/csiro-coasts/emsarray/pull/46))
* Used [shapely.polygons()](https://shapely.readthedocs.io/en/stable/reference/shapely.polygons.html#shapely.polygons) when generating geometry. This results in a massive performance improvement. The minimum version of Shapely has been bumped to 2.0.0 ([pull request 47](https://github.com/csiro-coasts/emsarray/pull/47))
* Add [emsarray export-geometry](https://emsarray.readthedocs.io/en/v0.4.0/cli/#emsarray-export-geometry) command ([pull request 48](https://github.com/csiro-coasts/emsarray/pull/48))
* Use coordinate bounds from the dataset when making polygons ([pull request 49](https://github.com/csiro-coasts/emsarray/pull/49))
* Fix a bug in Ugrid.drop_geometry() ([pull request 50](https://github.com/csiro-coasts/emsarray/pull/50))
* Relicense to BSD 3-Clause ([issue 55](https://github.com/csiro-coasts/emsarray/issues/55), [pull request #56](https://github.com/csiro-coasts/emsarray/pull/56))
* Automate most of the release process ([pull request 60](https://github.com/csiro-coasts/emsarray/pull/60))
* Add a CITATION.cff file and example citation to the [FAQ](https://emsarray.readthedocs.io/en/v0.4.0/getting-started/faq/) ([issue #37](https://github.com/csiro-coasts/emsarray/issues/37), [pull request #38](https://github.com/csiro-coasts/emsarray/pull/38))

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.