Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Urban Nature Access assumes the LULC has a defined nodata value #1293

Closed
phargogh opened this issue May 2, 2023 · 0 comments · Fixed by #1631
Closed

Urban Nature Access assumes the LULC has a defined nodata value #1293

phargogh opened this issue May 2, 2023 · 0 comments · Fixed by #1631
Assignees
Labels
bug Something isn't working in progress This issue is actively being worked on

Comments

@phargogh
Copy link
Member

phargogh commented May 2, 2023

A user on the forums reported this exception, which points to an undefined nodata value when masking out certain classes:

Traceback (most recent call last):
Filenatcap\invest\utils.py”, line 164, in prepare_workspace
Fileinvest\cli.py”, line 469, in main
Filenatcap\invest\urban_nature_access.py”, line 781, in execute
Filetaskgraph\Task.py”, line 674, in add_task
Filetaskgraph\Task.py”, line 1093, in _call
Filenatcap\invest\urban_nature_access.py”, line 2615, in _mask_raster
Filepygeoprocessing\geoprocessing.py”, line 517, in raster_calculator
Filenatcap\invest\urban_nature_access.py”, line 2612, in _mask
TypeError: int() argument must be a string, a bytes-like object or a real number, notNoneType
@phargogh phargogh added bug Something isn't working in progress This issue is actively being worked on labels May 2, 2023
@phargogh phargogh self-assigned this May 2, 2023
phargogh added a commit to phargogh/invest that referenced this issue May 2, 2023
phargogh added a commit to phargogh/invest that referenced this issue May 2, 2023
phargogh added a commit to phargogh/invest that referenced this issue May 2, 2023
phargogh added a commit to phargogh/invest that referenced this issue May 3, 2023
phargogh added a commit to phargogh/invest that referenced this issue Sep 19, 2024
phargogh added a commit to phargogh/invest that referenced this issue Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress This issue is actively being worked on
Projects
None yet
1 participant