Skip to content

v0.11.1

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jul 06:09
· 800 commits to main since this release

Release Notes

The first highlight of this release is a major refactor of
elevation_bycoords by adding support for the Bulk Point Query Service
and improving overall performance of the function. Another highlight is
support for performing depression filling in elevation_bygrid prior to
sampling the underlying DEM.

New Features

  • Refactor elevation_bycoords function to add support for getting elevations of a list of coordinates via The National Map's Point Query Service. This service is more accurate than Airmap but it's limited to the US only. You can select the source via a new argument called source. You can set it to source=tnm to use the TNM service. The default is tnm.
  • Refactor elevation_bygrid function to add a new capability via
    fill_depressions argument for filling depressions in the obtained DEM before extracting elevation data for the input grid points.. This is achieved via RichDEM that needs to be installed if this functionality is desired. You can install it via pip or conda (mamba).

Internal Changes

  • Migrate to using AsyncRetriever for handling communications with web services.
  • Handle the interpolation step in elevation_bygrid function more
    efficiently using xarray.