You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Circuitscape.read_raster overwrites NoData in the rasters with -9999. In (possibly rare) cases, the range of possible values for the condition rasters being fed into Omniscape could include -9999, so setting NoData pixels to -9999 in the array representation would mess things up.
I'm not sure the best way to handle this. One less-than-ideal option comes to mind:
Impose restrictions on the range of acceptable values for the condition layers so that -9999 is far enough away from the minimum value that it won't interfere with source-target matching.
For now, I'll update the docs to reflect this issue, but I will leave this open until I arrive at a better solution.
EDIT: Duh 🤦 I'll using missing.
The text was updated successfully, but these errors were encountered:
Currently,
Circuitscape.read_raster
overwrites NoData in the rasters with -9999. In (possibly rare) cases, the range of possible values for the condition rasters being fed into Omniscape could include -9999, so setting NoData pixels to -9999 in the array representation would mess things up.I'm not sure the best way to handle this. One less-than-ideal option comes to mind:
For now, I'll update the docs to reflect this issue, but I will leave this open until I arrive at a better solution.
EDIT: Duh 🤦 I'll using
missing
.The text was updated successfully, but these errors were encountered: