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

rios.rioserrors.GdalWarpNotFoundError: Unable to run gdalwarp #19

Closed
gillins opened this issue Oct 12, 2017 · 3 comments
Closed

rios.rioserrors.GdalWarpNotFoundError: Unable to run gdalwarp #19

gillins opened this issue Oct 12, 2017 · 3 comments
Labels
bug Something isn't working minor

Comments

@gillins
Copy link
Member

gillins commented Oct 12, 2017

Original report by Nathan Thomas (Bitbucket: nathanmthomas, GitHub: nathanmthomas).


I've installed rios using the instructions on rsgislib.org using 'conda install -c conda-forge -c rios scikit-learn rios tuiview h5py'. When using rios to mask one image by another, it gives an error that the images are not on the same grid (although their metadata says that they are).

It tries to correct this but throws the error:

rios.rioserrors.GdalWarpNotFoundError: Unable to run gdalwarp

Any ideas why rios can't find gdal? Ive not changed the environment, just installed using the command above. I have also tried a separate environment with just rios in it but I get the error:

Reason: Incompatible library version: libgdal.20.dylib requires version 1.4.7 or later, but libkea.1.4.7.dylib provides version 1.4.0

@gillins
Copy link
Member Author

gillins commented Oct 12, 2017

Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).


Hi Nathan,

The "Incompatible library" error was a conda-forge problem, but has been fixed ~16 hrs ago. Can you run 'conda update --all' and confirm that the problem goes away...

Do the images have the same projection?

Sam.

@gillins
Copy link
Member Author

gillins commented Oct 13, 2017

Original comment by Nathan Thomas (Bitbucket: nathanmthomas, GitHub: nathanmthomas).


Great, thats fixed it. Thanks

@gillins
Copy link
Member Author

gillins commented Oct 13, 2017

Original comment by Nathan Thomas (Bitbucket: nathanmthomas, GitHub: nathanmthomas).


Related to an previous bug which was resolved

@gillins gillins closed this as completed Oct 13, 2017
@gillins gillins added minor bug Something isn't working labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor
Projects
None yet
Development

No branches or pull requests

1 participant