Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading MODIS HDF files is not working when GDAL is not installed #57

Closed
kalxas opened this issue Jul 16, 2016 · 8 comments
Closed

Comments

@kalxas
Copy link
Contributor

kalxas commented Jul 16, 2016

I have tried to use master to download some files on Ubuntu Xenial.
Installation through pip fails due to GDAL, I had to remove GDAL from setup.py
But then, I find that download function is not working because of this:
https://github.com/lucadelu/pyModis/blob/master/pymodis/__init__.py#L5-L6
I had to comment out those lines to get download working again.

@lucadelu
Copy link
Owner

Yes in that two modules GDAL is mandatory, could we change the setup.py with a try condition? Maybe someone could need only download and MRT capabilities

@kalxas
Copy link
Contributor Author

kalxas commented Jul 19, 2016

@lucadelu does this library work with GDAL 2.x?
I tested with python-gdal 2.1.0 and did not seem to recognize it.

@lucadelu
Copy link
Owner

@kalxas yes, I have python-gdal 2.1.0 and I have no problem

@kalxas
Copy link
Contributor Author

kalxas commented Jul 21, 2016

@lucadelu which OS are you on?

@lucadelu
Copy link
Owner

@kalxas I'm on Debian testing

@kalxas
Copy link
Contributor Author

kalxas commented Jul 23, 2016

Thanks, will look into it

@lucadelu
Copy link
Owner

I added this test be24b5b, problably we could close this ticket

@kalxas
Copy link
Contributor Author

kalxas commented Oct 20, 2016

Thanks.

@kalxas kalxas closed this as completed Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants