Closed khendrickx closed 1 year ago
is_srtm_raster will be a list of None if none of the files match FILENAME_TILE_REGEX, causing an exception for np.argmin. This commit replaces those None values with False.
is_srtm_raster
None
FILENAME_TILE_REGEX
np.argmin
False
Thanks for this fix! I've merged it into the dev branch, and will include it in the next release when I figure out how to fix https://github.com/ajnisbet/opentopodata/issues/68
dev
is_srtm_raster
will be a list ofNone
if none of the files matchFILENAME_TILE_REGEX
, causing an exception fornp.argmin
. This commit replaces thoseNone
values withFalse
.