xdem.DEM.from_array#

classmethod DEM.from_array(data, transform, crs, nodata=None, vcrs=None)[source]#

Create a DEM from a numpy array and the georeferencing information.

Parameters
Return type

DEM

Returns

DEM created from the provided array and georeferencing.