You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot open DEM file ./N38E050.hgt for reading.
API open (R): ./demLat_N37_N39_Lon_E048_E051.dem
API close: ./demLat_N37_N39_Lon_E048_E051.dem
Writing geotrans to VRT for ./demLat_N37_N39_Lon_E048_E051.dem
GDAL open (R): ./demLat_N37_N39_Lon_E048_E051.dem.vrt
ERROR 1: Invalid dataset dimensions : 10800 x -1
terminate called after throwing an instance of 'std::runtime_error'
what(): Cannot open the file ./demLat_N37_N39_Lon_E048_E051.dem.vrt in read mode.
Aborted
It does not find the file N38E050.hgt. The reason is that N38E050.SRTMGL1.hgt.zip unzips to N38E050.SRTMGL1.hgt instead of N38E050.hgt:
dem.py
can give an error because of wrong name of unzipped tile. For examplesays:
It does not find the file
N38E050.hgt
. The reason is thatN38E050.SRTMGL1.hgt.zip
unzips toN38E050.SRTMGL1.hgt
instead ofN38E050.hgt
:This gets clear from the listing of unzipped files:
This seems to happen primarily (possibly only) over water.
I will submit a PR that renames the unzipped tile if needed (
N38E050.SRTMGL1.hgt
toN38E050.hgt
).The text was updated successfully, but these errors were encountered: