[gdal-dev] Preserve Source Raster Resolution When Merging

2016-08-24 Thread Sam Wilson
Hi, I’m attempting to merge (or maybe the proper term is mosaic) overlapping raster datasets of varying resolutions. I’d like to have the higher resolution datasets override the lower resolution datasets where available. I’ve been able to get close using various methods i.e. gdal_merge.py or by

Re: [gdal-dev] gdal_calc.py floating point arithmetic

2016-07-15 Thread Sam Wilson
Thank you Andrew! That did it. Cheers, Sam On 7/14/16, 11:12 PM, "Andrew C Aitchison" wrote: >On Fri, 15 Jul 2016, Sam Wilson wrote: > >> Hi, >> >> I¹m attempting to linearly interpolate two geotiff files using >>gdal_calc.py. The geotiff files are 3

[gdal-dev] gdal_calc.py floating point arithmetic

2016-07-14 Thread Sam Wilson
Hi, I’m attempting to linearly interpolate two geotiff files using gdal_calc.py. The geotiff files are 3 hours apart, so for example hour 0 and hour 3. I’d like to end up with hourly data, so I need hours 1 and 2. Below are the commands I’m using: gdal_calc.py -A hour0.tif -B hour3.tif —outf