Write specific functions to collapse/rebuild input/outputs as Raster
, np.ma.masked_array
or np.ndarray
consistently
#293
Labels
priority
Needs to be fixed rapidly
We have tons of "wrapper" functions that can take either
Raster
,np.ma.masked_array
ornp.ndarray
as input, but then only work on thenp.ndarray
(and possibly some metadata), and for output rebuild aRaster
,np.ma.masked_array
ornp.ndarray
to match the input.Right now this is done semi-manually everywhere, we need to have consistent input/output functions for those conversions. Might be triggering issues in #291 due to GlacioHack/geoutils#265.
The text was updated successfully, but these errors were encountered: