Pynhd

Latest version: v0.16.3

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

Scan your dependencies

Page 6 of 6

0.2.0

------------------

Breaking Changes
~~~~~~~~~~~~~~~~
- Re-wrote the ``NLDI`` function to use API v3 of the NLDI service.
- The ``crs`` argument of ``WaterData`` now is the target CRS of the output dataframe.
The service CRS is now ``EPSG:4269`` for all the layers.
- Remove the ``url_only`` argument of ``NLDI`` since it's not applicable anymore.

New Features
~~~~~~~~~~~~
- Added support for NHDPlus High Resolution for getting features by geometry, IDs, or
SQL where clause.
- The following functions are added to ``NLDI``:

* ``getcharacteristic_byid``: Getting characteristics of NHDPlus catchments.
* ``navigate_byloc``: Getting the nearest ComID to a coordinate and performing navigation.
* ``characteristics_dataframe``: Getting all the available catchment-scale characteristics
as a data frame.
* ``get_validchars``: Getting a list of available characteristic IDs for a specified
characteristic type.

- The following function is added to ``WaterData``:

* ``byfilter``: Getting data based on any valid CQL filter.
* ``bygeom``: Getting data within a geometry (polygon and multipolygon).

- Add support for Python 3.9 and tests for Windows.

Bug Fixes
~~~~~~~~~
- Refactored ``WaterData`` to fix the CRS inconsistencies (1).

0.1.3

------------------

- Replaced ``simplejson`` with ``orjson`` to speed-up JSON operations.

0.1.2

------------------

- Add ``show_versions`` function for showing versions of the installed deps.
- Improve documentation

0.1.1

------------------

- Improved documentation
- Refactored ``WaterData`` to improve readability.

0.1.0

------------------

- First release on PyPI.

Page 6 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.