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 to gdal_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.
Context:
In most recent Google Colab update (2/17/23)
gdalwas updated from version 3.0.4 to 3.3.2Issue:
Running
build_vrtincreate_map.ipynbdoes not result in vrts being built from .nc prediction files.build_vrtcall togdal_cmdterminates with exit code 1gdalbuildvrtresults in a warning that images are ungeoreferenced and is skipped.Temporary Fix:
Add following to a cell in
create_map.ipynbto downgradegdalback to 3.0.4 which makesbuild_vrtwork prior to the GC update.Potential Solution:
Investigate changed behavior with
gdalbuildvrtfrom version 3.0.4 and 3.3.2.