importers.cathy_inputs.read_dem

Contents

importers.cathy_inputs.read_dem#

importers.cathy_inputs.read_dem(demfile, dtm_13file)[source]#

Read dem file and infer number of altitudes in the DEM

Parameters:
  • demfile (str) – filename (including abs path).

  • dtm_13file (str) – filename (including abs path).

Returns:

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

  • dict – Header of the dem file