-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Context:
In most recent Google Colab update (2/17/23) gdal
was updated from version 3.0.4 to 3.3.2
Issue:
Running build_vrt
in create_map.ipynb
does not result in vrts being built from .nc prediction files.
build_vrt
call togdal_cmd
terminates with exit code 1- Manually calling
gdalbuildvrt
results in a warning that images are ungeoreferenced and is skipped.
Temporary Fix:
Add following to a cell in create_map.ipynb
to downgrade gdal
back to 3.0.4 which makes build_vrt
work prior to the GC update.
%%shell
yes | add-apt-repository ppa:ubuntugis/ppa
apt-get update
apt-get install python3-gdal=3.0.4+dfsg-1build3
apt-get install gdal-bin=3.0.4+dfsg-1build3
apt-get install libgdal-dev=3.0.4+dfsg-1build3
C_INCLUDE_PATH=/usr/include/gdal
CPLUS_INCLUDE_PATH=/usr/include/gdal
python -m pip install GDAL==3.0.4
Potential Solution:
Investigate changed behavior with gdalbuildvrt
from version 3.0.4 and 3.3.2.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working