Skip to content

Commit

Permalink
Removing the watersheds mask path so taskgraph doesn't fail on us. RE:n…
Browse files Browse the repository at this point in the history
  • Loading branch information
phargogh committed Feb 6, 2024
1 parent 8535a02 commit bccab6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/natcap/invest/sdr/sdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@
'aligned_erodibility_path': 'aligned_erodibility.tif',
'aligned_erosivity_path': 'aligned_erosivity.tif',
'aligned_lulc_path': 'aligned_lulc.tif',
'watersheds_mask_path': 'watersheds_mask.tif',
'mask_path': 'mask.tif',
'masked_dem_path': 'masked_dem.tif',
'masked_drainage_path': 'masked_drainage.tif',
Expand Down Expand Up @@ -613,7 +612,6 @@ def execute(args):
target_sr_wkt = dem_raster_info['projection_wkt']
vector_mask_options = {
'mask_vector_path': args['watersheds_path'],
'mask_raster_path': f_reg['watersheds_mask_path'],
}
align_task = task_graph.add_task(
func=pygeoprocessing.align_and_resize_raster_stack,
Expand All @@ -626,7 +624,7 @@ def execute(args):
'raster_align_index': 0,
'vector_mask_options': vector_mask_options,
},
target_path_list=aligned_list + [f_reg['watersheds_mask_path']],
target_path_list=aligned_list,
task_name='align input rasters')

mutual_mask_task = task_graph.add_task(
Expand Down

0 comments on commit bccab6c

Please sign in to comment.