Skip to content

Update mask to allow use of native nodata value #249

@robbibt

Description

@robbibt

Currently the .odc.mask() method uses .where() to set pixels to NaN:
https://github.com/opendatacube/odc-geo/blob/develop/odc/geo/_xr_interop.py#L311-L359

It would be good to allow the function to set pixels to the native nodata value of the data instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions