Skip to content

v0.15.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 May 22:37
· 230 commits to main since this release

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 to pynhd.nhdplus_l48 when reading the NHDPlus dataset. This speeds up the process since pyarrow is installed.
  • In nhdplus_l48 make layer option so sql parameter of pyogrio.read_dataframe can also be used. This is necessary since pyogrio.read_dataframe does not support passing both layer and sql 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 supporting shapley>=2.

Bug Fixes

  • Remove unnecessary conversion of id_col and toid_col to Int64 in nhdflw2nx and vector_accumulation. This ensures that the input data types are preserved.
  • Fix an issue in nhdplus_l48, where if the input data_dir is not absolute py7zr fails to extract the file.