odc.geo.geobox.GeoBox.from_rio

static GeoBox.from_rio(rdr)[source]

Construct GeoBox from rasterio.

Parameters:

rdr – Openned rasterio.DatasetReader

Return type:

GeoBox

Returns:

GeoBox