WarpOptions¶
- class geodesic.tesseract.components.WarpOptions(*args, **kwargs)[source]¶
Bases:
geodesic.bases._APIObject
- shape¶
the shape of the output for this asset (rows, columns)
Descriptor:
_TupleDescr
TupleDescr is a tuple field (immutable), such as image shape. This raises an attribute error
- Args:
item_type (type): Type to validate all elements in this tuple against
min_len (int): The minimum allowed length for this tuple to be instantiated
max_len (int): The maximum allowed length for this tuple
- Methods:
__get__: returns the tuple, creating it on the base object if necessary
__set__: sets the tuple after validating that it is a tuple
- pixel_size¶
the size of each pixel in the output SRS (x, y)
Descriptor:
_TupleDescr
TupleDescr is a tuple field (immutable), such as image shape. This raises an attribute error
- Args:
item_type (type): Type to validate all elements in this tuple against
min_len (int): The minimum allowed length for this tuple to be instantiated
max_len (int): The maximum allowed length for this tuple
- Methods:
__get__: returns the tuple, creating it on the base object if necessary
__set__: sets the tuple after validating that it is a tuple
- resample¶
resampling method to use, one of nearest, bilinear, cubic, cubicspline, lanczos, average, mode, max, min, median, q1, q3, sum, NEAREST, BILINEAR, CUBIC, CUBICSPLINE, LANCZOS, AVERAGE, MODE, MAX, MIN, MEDIAN, Q1, Q3, SUM
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- defer_search¶
False
Descriptor:
_BoolDescr
BoolDescr is an bool field, raises attribute error if the bool isn’t set
- Methods:
__get__: returns the bool
__set__: sets the bool after validating that it is an bool
- Type
if set to True, Tesseract won’t check if the data exists at this tile and instead use Boson directly to obtain the pixel data. (default
- order_by¶
order by a field in the inputs because mosaicing/reducing the outputs
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- reduce¶
if multiple images are used for input, reduce specifies how to aggregate. If this is empty, all are mosaiced in order.
Descriptor:
_TypeConstrainedDescr
TypeConstrainedDescr creates an arbitrary field that must be constrained to a specific type
- Args:
type (type): the type you want to constrain this too
coerce (bool): the stored/retrieved result will be coerced to the type (or the first type in a tuple of types)
- Methods:
__get__: returns the object as is, AttributeError if missing
__set__: sets the object as is, validating against the specified type constraint