From 436ec8e3c0179d4547072a9d31f74d49ffd8ff69 Mon Sep 17 00:00:00 2001 From: Emily Davis Date: Fri, 4 Oct 2024 11:05:48 -0600 Subject: [PATCH 1/2] Use reprojected access vector in rasterization task --- src/natcap/invest/habitat_quality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/natcap/invest/habitat_quality.py b/src/natcap/invest/habitat_quality.py index 2bf024fe4..301c18cfc 100644 --- a/src/natcap/invest/habitat_quality.py +++ b/src/natcap/invest/habitat_quality.py @@ -555,7 +555,7 @@ def execute(args): rasterize_access_task = task_graph.add_task( func=pygeoprocessing.rasterize, - args=(args['access_vector_path'], access_raster_path), + args=(reprojected_access_path, access_raster_path), kwargs={ 'option_list': ['ATTRIBUTE=ACCESS'], 'burn_values': None From 759cb83da168d7d85265d90e95262b55d55f970c Mon Sep 17 00:00:00 2001 From: Emily Davis Date: Mon, 7 Oct 2024 15:29:04 -0600 Subject: [PATCH 2/2] Update HISTORY --- HISTORY.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index dfa49b302..5ab3fd411 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -48,6 +48,9 @@ Unreleased Changes * Fixed a bug that, in certain scenarios, caused a datastack to be saved with relative paths when the Relative Paths checkbox was left unchecked (https://github.com/natcap/invest/issues/1609) +* Habitat Quality + * Access raster is now generated from the reprojected access vector. + (https://github.com/natcap/invest/issues/1615) 3.14.2 (2024-05-29) -------------------