Add a get_nan_array
method to the Raster class.
#277
Labels
enhancement
Feature improvement or request
get_nan_array
method to the Raster class.
#277
Currently, to convert the masked_array in
self.data
to a regular array with Nans, one can use the function in spatial_toolsget_array_and_mask
. It would be easier to make it a method of the Raster class directly.I suggest naming it
Raster.get_nan_array
, unless there are other suggestions?One might need to consider an equivalent for
get_mask
too.The text was updated successfully, but these errors were encountered: