Raster.mask or Raster.nodata_mask
Something that returns the boolean data mask for a raster. Default should probably be the data mask, as this is most useful for plotting via matplotlib
Something that returns the boolean data mask for a raster. Default should probably be the data mask, as this is most useful for plotting via matplotlib