I had assumed that (and it had seemed like) only rasters with explicit nodata values were read in as masked arrays. I encountered a raster that has a nodata value of 'None', but src.read_band(<band no>) is a masked array, and is therefore "unmasked" (as arrays with no mask are fudged with an empty mask to simplify later processing).
I had assumed that (and it had seemed like) only rasters with explicit nodata values were read in as masked arrays. I encountered a raster that has a nodata value of 'None', but
src.read_band(<band no>)
is a masked array, and is therefore "unmasked" (as arrays with no mask are fudged with an empty mask to simplify later processing).