odc.geo.Resolution

class odc.geo.Resolution(x, y=None)[source]

Resolution for X/Y dimensions.

__init__(x, y=None)[source]

Methods

__init__(x[, y])

Attributes

lat

Access Latitude value (Y).

latlon

Convert to tuple in Latitude,Longitude order.

lon

Access Longitude value (X).

lonlat

Convert to tuple in Longitude,Latitude order.

shape

Interpret as shape (Y, X) order.

wh

Interpret as width, height, (X, Y) order.

x

Access X value.

xy

Convert to tuple in X,Y order.

y

Access Y value.

yx

Convert to tuple in Y,X order.