importers.cathy_inputs.read_raster

Contents

importers.cathy_inputs.read_raster#

importers.cathy_inputs.read_raster(filename)[source]#

Applicable for all DEM type of CATHY outputs such as dtm_Ws1_sf_1, dtm_Ws1_sf_2, …

Parameters:

filename (str) – filename of the raster type file to read (including abs path).

Returns:

  • np.array([]) – 2d array containing the raster info.

  • dict – Header of the raster file