in2Trans.transfromFields

ASCII file reader and handler

Functions

convertDepthToThickness

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)

fetchPointValuesFromField

derive field values at xyPoints using a interpMethod (options: nearest and bilinear)