com4FlowPy.splitAndMerge.mergeRaster
- mergeRaster(inDirPath, fName, method='max')[source]
Merges the results for each tile to one array using the method provided through the function parameters
- Parameters
inDirPath (str) – Path to the temporary files, that are results for each tile
fName (str) – file name of the parameter which should be merged from tile-results
method (str) – method, how the tiles should be merged (default: max) method ‘min’ calculates the minimum of input raster tiles, if the minimum is < 0, then 0 is used
- Returns
mergedRas – merged raster
- Return type
numpy array