com7Regional.splitInputs.writeScenarioShapefile

writeScenarioShapefile(outputShp, records, fields, fieldNames, srs)[source]

Write a shapefile for a specific scenario.

Parameters
  • outputShp (pathlib.Path) – Path where to write the shapefile

  • records (list) – List of shape records for this scenario

  • fields (list) – List of field definitions

  • fieldNames (list) – List of field names

  • srs (str) – Spatial reference system string