com1DFA.deriveParameterSet.checkSizeExtent

checkSizeExtent(inputField, demHeader, inputFile, fileType, rT)[source]

check if extent of an inputfield matches the extent of the DEM and also cellSize in case of RELTH files optionally within a specified threshold

Parameters
  • inputField (dict) – dictionary with header and data of input field

  • demHeader (dict) – header of DEM

  • inputFile (pathlib Path) – path to input field

  • fileType (str) – name of file type of input field

  • rT (float) – resize threshold

Returns

diffX0, diffX1, diffY0, diffY1 – differences of llcenter coordinates between inputField and DEM

Return type

float