dgketchum / IrrMapper

Computer Vision Approaches to Automate Mapping of Irrigated Lands
Apache License 2.0
11 stars 6 forks source link

Rasterio method deprecated #2

Open colligant opened 5 years ago

colligant commented 5 years ago

src.affine seems to have been replaced with src.transform.

dgketchum commented 5 years ago

You're exactly right. Make sure you're using my most recent packages (e.g., bounds, opendem, satellite_image), from github. I've gotten lazy about making so many updates to pypi, though I have been slowly changing code from src.affine to src.transform, do it like

pip install git+https://github.com/dgketchum/bounds

On Sat, Dec 22, 2018 at 12:15 PM tcolligan4 notifications@github.com wrote:

src.affine seems to have been replaced with src.transform.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dgketchum/IrrMapper/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ALg6MtW_1Lb0LGDU-8s_KM6DfHuF7IKsks5u7oTQgaJpZM4ZflRx .

-- David Ketchum Hydrologist, PhD Student Montana DNRC College of Forestry and Conservation, University of Montana Missoula, MT c. 8022227119

dgketchum commented 5 years ago

And if you find one that still needs the change, I can push it. If it's actually in IrrMapper, please fork, change, and push to master.