Open a Raster with GDAL

Lesson Code

from osgeo import gdal

fn = r"..\data\input\USGS_one_meter_x64y486_ID_FEMAHQ_2018.tif"
ds = gdal.Open(fn) # 0 (default) read-only, 1 update
print(type(ds))