com4FlowPy.com4FlowPy.deleteTempFolder

deleteTempFolder(tempFolderPath)[source]

delete tempFolder containing the pickled np.arrays of the input data and output data tiles. 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’ and ‘’

Parameters

tempFolderPath (str) – path to temp folder