in1Data.getInput.fetchReleaseFile

fetchReleaseFile(inputSimFiles, releaseScenario, cfgSim, releaseList)[source]

select release scenario, update configuration to only include thickness info of current scenario and return file path

Parameters
  • inputSimFiles (dict) – dictionary with info on input data

  • releaseScenario (str) – name of release scenario

  • cfgSim (conigparser object) – configuration of simulation

  • releaseList (list) – list of available release scenarios

Returns

  • releaseScenarioPath (pathlib path) – file path to release scenario shp file

  • cfgSim (configparser object) – updated cfg object, removed thickness info from not other release scenarios than used one and rename thickness values of chosen scenario to relThThickness, relThId, …