j-haacker / cryoswath

Swath process CryoSat-2 to glacier elevation change maps and geodetic mass loss time series for mountain glaciers and ice caps.
MIT License
4 stars 1 forks source link

`get_dem_reader` ignores argument and returns ArcticDEM #27

Closed j-haacker closed 5 months ago

j-haacker commented 5 months ago

Describe the bug See title.

Function currently is:

def get_dem_reader(data: any = None) -> rasterio.DatasetReader:
    return rasterio.open(os.path.join(dem_path, "arcticdem_mosaic_100m_v4.1_dem.tif"))