smash.tools.raster_handler.get_bbox#

smash.tools.raster_handler.get_bbox(dataset)[source]#

Function to get the bbox from a raster dataset opened with Gdal

Parameters:
dataset: gdal object
Returns:
dic containing the bbox of the dataset

Examples

dataset=gdal_raster_open(filename) bbox_dataset=get_bbox(dataset)