com4FlowPy.com4FlowPy.deleteTempFolder

deleteTempFolder(tempFolderPath)[source]

delete tempFolder containing the pickled np.arrays of the input and output data tiles or other .pickle files. should be called after all merged model results are written to disk. performs a few checks to make sure the folder is indeed a com4FlowPy tempFolder, i.e.

  • does not contain subfolders

  • no other file-extensions than ‘.npy’, ‘.pickle’ and ‘’

Parameters

tempFolderPath (str) – path to temp folder