Add tests+functionality to assess the interchangeability of Raster
s and arrays
#178
Labels
enhancement
Feature improvement or request
priority
Needs to be fixed rapidly
test-suite
Issue related to testing
Brought up by @rhugonnet in #175.
Here is the conversation:
Since,
geoutils==0.0.3
,Raster
s implement the array interface, so they should be possible to use interchangeably with ndarrays. The tests don't cover that "should" part, however, andRaster
s are not consistently returned if provided as an argument. For now, all functions that show aRaster
/RasterType
argument/return type hint returns aRasterType
if given aRasterType
, and those who don't will return anndarray
/masked_array
.Long story short, the only way to validate how interchangeable they are is to include more tests!!
The text was updated successfully, but these errors were encountered: