com7Regional.splitInputs.clipAndMoveOptionalInput

clipAndMoveOptionalInput(allSimInputFiles, outputDir, groupExtents)[source]

Clip and move ENT and RES files based on group DEM extent.

Parameters
  • allSimInputFiles (dict) – With all input information for a com1DFA sim

  • outputDir (pathlib.Path) – Path to output directory where clipped files will be saved

  • groupExtents (dict) – Dictionary with dirName as key and (xMin, xMax, yMin, yMax) as value, containing the DEM clipping extents for each group

Returns

groupFeatures – Dictionary containing clipped features for each group and type {dirName: {‘ENT’: […], ‘RES’: […]}}

Return type

dict