ubarsc / rios

A raster processing layer on top of GDAL
https://www.rioshome.org
GNU General Public License v3.0
14 stars 8 forks source link

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

Closed gillins closed 7 years ago

gillins commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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


Great, thats fixed it. Thanks

gillins commented 7 years ago

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


Related to an previous bug which was resolved