in1Data.getInput.getAndCheckInputFiles¶
- getAndCheckInputFiles(inputDir, folder, inputType)[source]¶
Fetch input shape files and check them
Raises error if there is more than one shape file.
- Parameters
inputDir (str) – path to avalanche input directory
folder (str) – subfolder name where the shape file should be located (SECREL, ENT or RES)
inputType (str) – type of input (used for the logging messages). Secondary release or Entrainment or Resistance
- Returns
OutputFile (str) – path to file checked
available (str) – Yes or No depending of if there is a shape file available (if No, OutputFile is None)