com7Regional.splitInputs.splitByScenarios
- splitByScenarios(dirList, outputDir)[source]
Split release areas into separate shapefiles based on their scenario attribute.
- Parameters
dirList (list) – list of dictionaries containing dirName and list of geometries
outputDir (pathlib.Path object) – path to output directory
- Return type
none
Notes
If a feature has no scenario attribute or it’s empty, it will be marked as ‘NULL’ and grouped together with other ‘NULL’ features
Intermediate shapefiles are deleted or renamed after scenario splitting