Skip to content

v0.12.2

Choose a tag to compare

@github-actions github-actions released this 15 Jan 17:56
· 630 commits to main since this release

Release Notes

New Features

  • Add a new DEM source to elevation_bycoords to get elevation from the National Map's 3DEP WMS service. This can replace the tnm source since tnm is not stable.
  • Add a new function called check_3dep_availability to check the availability of 3DEP's native resolutions within an area of interest. It returns a dict with keys corresponding to the available resolutions and its values are boolean values indicating whether the resolution is available or not.
  • Replace no data values of slope in deg2mm with np.nan, so they do not get converted to another values. The output of this function has np.float64 type.

Internal Changes

  • Refactor ElevationByCoords by using __post_init__ for validating the input parameters rather than pydantic's validators.
  • Refactor elevation_bygrid by using get_map to get DEM and rioxarray for re-projection.
  • Add type checking with typeguard and fixed typing issues raised by typeguard.
  • Refactor show_versions to ensure getting correct versions of all dependencies.