Releases: creare-com/pydem
Releases · creare-com/pydem
1.1.0
1.0.0
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
totraitlets
- Migrated from
gdal
torasterio
Pits, Flats, Arrays inputs, and bug fixes
Features
- Added
fill_flats
option inDEMProcessor
.- 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 inDEMProcessor
- 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
- Added documentation for the