Skip to content

Releases: creare-com/pydem

1.1.0

24 Jul 19:16
Compare
Choose a tag to compare

1.1.0

Features

  • Added a Dockerfile with some additional documentation
  • Improved/updated the installation instructions

1.0.0

07 May 11:58
Compare
Choose a tag to compare

1.0.0 Python 3 release

At long last, pydem uses Python 3 instead of Python 2. The new version of pydem drops support for Python 2 entirely.

Enhancements

  • ProcessManager:
    • Nearly a complete re-implementation
    • No longer depends on a file naming convension to process multiple elevation tiles
    • Now uses the zarr file format for intermediate computations
    • A single process oversees multiple workers, making it easy to stop or restart the processing
  • DEMProcessor:
    • Now uses raw elevation files and conditions them internally without simply filling flats
    • Interpolates flat areas to allow them to drain appropriately
    • Drains pits along a path of minimum elevation
    • Removed in-file chunking capability
  • Added basic unit tests (closer to integration tests)
  • Migrated from traits to traitlets
  • Migrated from gdal to rasterio

Pits, Flats, Arrays inputs, and bug fixes

26 Jul 15:59
Compare
Choose a tag to compare

Features

  • Added fill_flats option in DEMProcessor.
    • This will interpolate slopes between large flat regions when possible
    • This solve the issue of large flat regions due to integer precision of DEM data
  • Added drain_pits option in DEMProcessor
    • This will look for nearby pixels (up to a tolerance) for draining pits
    • The base algorithm only looks for directly adjacent pixels for draining, this extends this search window
    • This allows elevation files to be processed without pit filling beforehand
  • Added ability to instantiate DEMProcessor with a numpy array
  • Marginal optimization of slope/magnitude calculation

Bug Fixes

  • Now using consistent datatypes for all numpy arrays
    • cython functions should now work consistently across different platforms
  • removed numba dependency

Other

  • Improved README file
    • Added documentation for the DEMProcessor options/attributes
    • Added reference to the scipy conference paper