New answers tagged


Do the files at the paths filea and fileb exist? Try: filea = r'C:/Users/claudio/workspace/test/test1/rasa.tif' fileb = r'C:/Users/claudio/workspace/test/test1/rasb.tif'


I think I may have figured it out. If one resets the Nodata value in the original files to -9999 with: gdalwarp -dstnodata -9999 tmean1_16.tif tmean1_16_error999.tif and then uses gdalmerge specifying both the input nodata value and the output nodatavalue: -v -n -9999 -a_nodata -9999 -o tmean1_06_16.tif tmean1_06_error999.tif ...

Top 50 recent answers are included