xdem.DEM.to_vcrs#
- DEM.to_vcrs(dst_vcrs, src_vcrs=None)[source]#
Convert the DEM to another vertical coordinate reference system.
- Parameters:
dst_vcrs (
Union
[Literal
['Ellipsoid'
,'EGM08'
,'EGM96'
],str
,Path
,VerticalCRS
,int
]) – Destination vertical CRS. Either as a name (“WGS84”, “EGM08”, “EGM96”), an EPSG code or pyproj.crs.VerticalCRS, or a path to a PROJ grid file (OSGeo/PROJ-data)src_vcrs (
Union
[Literal
['Ellipsoid'
,'EGM08'
,'EGM96'
],str
,Path
,VerticalCRS
,int
,None
]) – Force a source vertical CRS (uses metadata by default). Same formats as for dst_vcrs.
- Return type:
- Returns: