creare-com / pydem

Python library for Global Hydrology Analysis. Used to calculate upstream contributing area, aspect, slope, and topographic wetness index.
Apache License 2.0
114 stars 35 forks source link

Check for python version before installing #8

Closed gastoneb closed 7 years ago

gastoneb commented 7 years ago

Pydem requires python 2.7 but somehow I was able to install and import the library using python 3.5. Needless to say my application failed.

Unrelated feature request: It would be useful to be able to instantiate DEMProcessor from a 2D numpy array rather than passing the name to a tif file.

mpu-creare commented 7 years ago

Agreed, should check python version. Will look into it.

Agreed. that would be a useful feature. Feel free to make a push request if manage to fix it.

mpu-creare commented 7 years ago

Added a requirement for python 2.7 in version 0.2.0 .

Added ability to instantiate a DEMProcessor from a 2D numpy array, rather than passing the name to a tif file.