in2Trans.transfromFields.convertDepthToThickness
- convertDepthToThickness(depthDict, demDict)[source]
convert depthField to thicknessField, using a DEM to compute the slope angle required for transformation also writes field to a new directory called transformed where depthFile is located :Parameters: * demDict (dict) – dictionary with dem header and rasterData (numpy nd array of z values)
depthDict (dict) – dictionary with depthField header and rasterData (numpy nd array of depth values)
- Returns
thicknessField – dictionary with header and thickness field numpy array as rasterData key
- Return type
dict