importers.cathy_inputs.read_root_map

Contents

importers.cathy_inputs.read_root_map#

importers.cathy_inputs.read_root_map(rootmapfile)[source]#

Read root map file and infer number of vegetations in the DEM

Parameters:

rootmapfile (str) – filename (including abs path).

Returns:

  • np.array([]) – 2d array containing the flag for the vegetation type.

  • dict – Header of the root map file