GeoObject

GeoObject is a base class for Band, BandCollection and other raster classes. It is an abstract class which contains all the georeference fields and features.

class aeronet.dataset.raster.geoobject.GeoObject[source]

Bases: object

Geo spatial object base interface.

Represents a set of metadata for the georeferenced raster object

bounds

Georeferenced bounds - bounding box in the CRS of the image, based on transform and shape

count

(int) number of channels/bands.

crs

Geographic coordinate reference system of the object Returns a rasterio.CRS

height

Height of the raster data object in pixels

nodata

The value that should be interpreted as ‘No data’. May be None or a value within dtype range

profile

A joint representation of the main properties

Returns:{ ‘crs’: crs, ‘nodata’: nodata, ‘transform’: transform }
Return type:Dict
reproject(dst_crs)[source]
reproject_to_utm()[source]
res

Resolution (or ground sampling distance) along X and Y axes in units of the CRS. Tuple (x_resolution, y_resolution)

resample(dst_res)[source]
sample(y, x, height, width)[source]
shape

(count, height, width); or (height, width)

Type:Dimensions of the raster in pixels, a tuple of int
transform

Transform matrix as the affine.Affine object. This transform maps pixel row/column coordinates to coordinates in the dataset’s coordinate reference system.

width

Width of the raster data object in pixels