Skip to content

Commit

Permalink
Merge pull request #1637 from emilyanndavis/bugfix/1615-hq-reprojecte…
Browse files Browse the repository at this point in the history
…d-access-vector

HQ: Use reprojected access vector in rasterization task
  • Loading branch information
dcdenu4 authored Oct 8, 2024
2 parents af8ce8b + 759cb83 commit 16737e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion src/natcap/invest/habitat_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16737e9

Please sign in to comment.