Last active
March 19, 2019 01:25
-
-
Save robbibt/5d83dccab2f9569bda2192463295b573 to your computer and use it in GitHub Desktop.
Optimised GDAL parameters for continental mosaicing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !gdalbuildvrt /g/data/r78/rt1527/nidem/output_data/mosaics/NIDEM_uncertainty.vrt ../output_data/geotiff/nidem_uncertainty/NIDEM_uncertainty*.tif | |
| !gdal_translate \ | |
| -co COMPRESS=DEFLATE \ | |
| -co ZLEVEL=9 \ | |
| -co PREDICTOR=1 \ | |
| -co TILED=YES \ | |
| -co BLOCKXSIZE=1024 \ | |
| -co BLOCKYSIZE=1024 \ | |
| /g/data/r78/rt1527/nidem/output_data/mosaics/NIDEM.vrt /g/data/r78/rt1527/nidem/output_data/mosaics/NIDEM_mosaic.tif | |
| !gdaladdo --config COMPRESS_OVERVIEW DEFLATE -r AVERAGE /g/data/r78/rt1527/nidem/output_data/mosaics/NIDEM_mosaic.tif 4 8 16 32 64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment