|
|
@ -72,10 +72,10 @@ def process(yaml_name):
|
|
|
|
raise ValueError('No previous survey date provided')
|
|
|
|
raise ValueError('No previous survey date provided')
|
|
|
|
|
|
|
|
|
|
|
|
# Set paths for raster files
|
|
|
|
# Set paths for raster files
|
|
|
|
current_raster = os.path.join(input_tif_dir, base_name + '.tif')
|
|
|
|
current_raster = os.path.join(input_tif_dir, base_name + '_DEM.tif')
|
|
|
|
previous_base_name = re.sub('\d+', previous_date, base_name)
|
|
|
|
previous_base_name = re.sub('\d+', previous_date, base_name)
|
|
|
|
previous_raster = os.path.join(input_tif_dir, previous_base_name + '.tif')
|
|
|
|
previous_raster = os.path.join(input_tif_dir, previous_base_name + '_DEM.tif')
|
|
|
|
heatmap_raster = os.path.join(output_tif_dir, base_name + '.tif')
|
|
|
|
heatmap_raster = os.path.join(output_tif_dir, base_name + '_heatmap.tif')
|
|
|
|
|
|
|
|
|
|
|
|
print('processing {}'.format(beach))
|
|
|
|
print('processing {}'.format(beach))
|
|
|
|
|
|
|
|
|
|
|
|