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

Checking for null/nodata in input raster #2

Open
juliaoshima opened this issue Oct 17, 2018 · 1 comment
Open

Checking for null/nodata in input raster #2

juliaoshima opened this issue Oct 17, 2018 · 1 comment
Assignees

Comments

@juliaoshima
Copy link

Hi would it be possible to include checking for null values in the input raster and then transform it to 0 values before calculating the landscape metrics?
Maybe using
grass.run_command('r.null', map = map_for_define_region, null = '0')

Thanks again!

@bniebuhr bniebuhr self-assigned this Nov 7, 2018
@bniebuhr
Copy link
Contributor

bniebuhr commented Nov 7, 2018

Thanks @juliaoshima for pointing that out.
We're going to take a look at that and update it here as soon as it is implemented.
My suggestion is to implement an option (to be checked on the GUI) to whether the user wants to trasnform the null area on zero or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants