geotrellis / maml

Map Algebra Modeling Language: It's what we and whales are.
https://geotrellis.github.io/maml/
Apache License 2.0
16 stars 10 forks source link

Mask on LazyMultibandRasters directly #89

Closed jisantuc closed 5 years ago

jisantuc commented 5 years ago

Overview

This PR moves masking into methods on LazyMultiBandRaster and defers the masking implementation in the masking directive to the underlying LazyMultibandRaster. It supersedes #80, which only solved the problem for three specific counts of bands.

Testing

Works in Raster Foundry for single band, multiband, and analyses:

image

image

image

Also, new tests in CI for this behavior should pass

Closes #88