-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requestflowPyDevIdeas for future developmentIdeas for future development
Description
We now have the outputFiles option in [PATHS] in the (local_)com4FlowPyCfg.ini, but up to now only use it in com4FlowPy.py -> mergeAndWriteResults() to select which result-Rasters are finally written to disk as .tif or .asc files.
However, regardless of the options provided in outputFiles we still do all the calculations for all possible result rasters (i.e. we calculate routFluxSum, depFluxSum and everything else, even if we don't write it to disk later).
- Potentially we can save some CPU-time/RAM/HD-Space by only initializing and calculating the result arrays, that are specified in [PATHS] 'outputFiles' option -- e.g. by passing the option to calculation() and return None for all the arrays, that are not specified in the .ini
This will be increasingly important (1) if we plan to introduce additional output rasters in the future and (2) for any regional scale application
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestflowPyDevIdeas for future developmentIdeas for future development