Skip to content

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

@phargogh

Description

@phargogh

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingin progressThis issue is actively being worked on

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions