v0.15.0
Release Notes
From release 0.15 onward, all minor versions of HyRiver packages will be pinned. This ensures that previous minor versions of HyRiver packages cannot be installed with later minor releases. For example, if you have py3dep==0.14.x
installed, you cannot install pydaymet==0.15.x
. This is to ensure that the API is consistent across all minor versions.
New Features
- Add a new function, called
nhdplus_h12pp
, for retrieving HUC12 pour points across CONUS. - Add
use_arrow=True
topynhd.nhdplus_l48
when reading the NHDPlus dataset. This speeds up the process sincepyarrow
is installed. - In
nhdplus_l48
makelayer
option sosql
parameter ofpyogrio.read_dataframe
can also be used. This is necessary sincepyogrio.read_dataframe
does not support passing bothlayer
andsql
parameters. - Update the mainstems dataset link to version 2.0 in
mainstem_huc12_nx
. - Expose
NHDTools
class to the public API. - For now, retain compatibility with
shapely<2
while supportingshapley>=2
.
Bug Fixes
- Remove unnecessary conversion of
id_col
andtoid_col
toInt64
innhdflw2nx
andvector_accumulation
. This ensures that the input data types are preserved. - Fix an issue in
nhdplus_l48
, where if the inputdata_dir
is not absolutepy7zr
fails to extract the file.