datacube.utils.geometry.Coordinate

class datacube.utils.geometry.Coordinate(values, units, resolution)

Create new instance of Coordinate(values, units, resolution)

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

resolution

Alias for field number 2

units

Alias for field number 1

values

Alias for field number 0

Methods:

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes:

resolution

Alias for field number 2

units

Alias for field number 1

values

Alias for field number 0

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

resolution

Alias for field number 2

units

Alias for field number 1

values

Alias for field number 0