NRCan / geo-deep-learning

Deep learning applied to georeferenced datasets
https://geo-deep-learning.readthedocs.io/en/latest/
MIT License
150 stars 49 forks source link

geoutils.py: force BIGTIFF #526

Closed remtav closed 1 year ago

remtav commented 1 year ago

fixes #525

In the GDAL doc, nothing seems problematic with always writing BIGTIFF. The only requirement is to have libtiff > 4.0, which has also been the case in our conda envs. I check all our conda envs and docker images and they all include libtiff >4.0.

This solution also uses tiled=True and defines blocksizes in the tif, as suggested by this SO post.

remtav commented 1 year ago

Having trouble with my rebasing. Lots of duplicate commits. They will be squashed anyways but I'll try to handle things better next time...