awi-response / macs_processing

all elements (scripts, workflows, descriptions, ...) needed for processing macs images for publication
0 stars 0 forks source link

DSM mosaic no Data #18

Closed initze closed 1 year ago

initze commented 1 year ago

Big DSM mosaics (processed in WBT) have big holes on the bottom:

potential issues

grafik

initze commented 1 year ago

working on branch fix_DSM

initze commented 1 year ago

Issue is caused during gdal_translate

File size reduced after export (no issue before) grafik

initze commented 1 year ago

Replicated error source

gdal_translate with compression but no explicit BIGTIFF statement: E:\MACS_Batch_Processing\WA_SewardPeninsulaCentral_11_20210710_10cm\04_pix4d\WA_SewardPeninsulaCentral_11_20210710_10cm\2_densification\point_cloud>gdal_translate -a_srs EPSG:32603 -co COMPRESS=DEFLATE merged_nir_IDW_filled.tif merged_nir_IDW_filled_projected_compressed.tif

Error Message: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option.

initze commented 1 year ago

COG creation

initze commented 1 year ago

Test most likely solution E:\MACS_Batch_Processing\WA_SewardPeninsulaCentral_11_20210710_10cm\04_pix4d\WA_SewardPeninsulaCentral_11_20210710_10cm\2_densification\point_cloud>gdal_translate -a_srs EPSG:32603 -co COMPRESS=DEFLATE -co BIGTIFF=YES -co NUM_THREADS=ALL_CPUS merged_nir_IDW_filled.tif merged_nir_IDW_filled_projected_compressed_bigtiff.tif

initze commented 1 year ago

fixed with #19