LEEClab / LS_METRICS

A tool for calculating landscape connectivity and other ecologically scaled landscape metrics
GNU General Public License v2.0
22 stars 9 forks source link

Checking for null/nodata in input raster #2

Open juliaoshima opened 6 years ago

juliaoshima commented 6 years ago

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 commented 6 years ago

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.