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
I don't manage to reproduce the bug with this map, but it happened to me once with another map.
I think it is due to a too heavy recursion in the water quantity algorithm, in function set_water. It covers every river from its estuary to the source of tributaries, so the recursion depth is equal to the length of the river, that can easily exceed 2000.
I'm looking for a way to re-implement this without recursion.
Attempting to generate world using STRM data for grid 39_01 (http://srtm.csi.cgiar.org/SRT-ZIP/SRTM_V41/SRTM_Data_GeoTiff/srtm_39_01.zip) results in segfault at end of river calculation.
The application runs through all river calculations and segfaults on "Calculating water quantity".
I've successfully generated world data for areas with little water bodies, but nothing as large as the baltic area. (eg STRM area 67_18 works fine).
System:
Arch Linux
Linux cobalt 4.15.7-1-ARCH #1 SMP PREEMPT Wed Feb 28 19:01:57 UTC 2018 x86_64 GNU/Linux
i7-4770 + 32GB RAM + SSD as primary storage.
python 3.6.4
gdal v2.2.3
Steps to replicate:
The text was updated successfully, but these errors were encountered: