ana5Utils.preparePathGeneral.updateSZProfile

updateSZProfile(profile, dem)[source]

for given coordinates (of the talweg) read z values from DEM and compute distance between coordinates

Parameters
  • profile (dict) – contains at least x and y coordinates

  • dem (dict) – contains dem data

Returns

profile – profile with added a and z values

Return type

dict