BandInfo¶
-
class
caris.coverage.
Category
¶ Contains possible band categories.
SCALAR
STRING
STRING_TABLE
DATE
TIME
DATE_TIME
COLOR
FLAGSET
-
class
caris.coverage.
ColorFormat
¶ Contains possible color formats.
RGB
RGBA
-
class
caris.coverage.
DataType
¶ Contains the possible data types stored in the csar file.
FLOAT32
FLOAT64
INT8
UINT8
INT16
UINT16
INT32
UINT32
INT64
UINT64
-
class
caris.coverage.
Direction
¶ Contains unit direction types.
NAP
HEIGHT
DEPTH
GROUND
-
class
caris.coverage.
BandInfo
([name = ''[, type = DataType.FLOAT32[, tuple_length = 0[, direction = Direction.NAP[, units = ''[, category = Category.SCALAR[, color_format = ColorFormat.RGBA[, ndv = None[, minimum = None[, maximum = None[, level_policy = None[, follow_band_name = None]]]]]]]]]]]])¶ Band information
-
__init__
()¶ Constructor
- Keyword Arguments
name (
str
) – The band nametype (
DataType
, optional) –tuple_length (int) – Number of items in each point attribute for this band
direction (
Direction
) – Unit directionunits (
str
, optional) – Unit measurement (ex: “m”, “ft”)category (
Category
, optional) – The type of attributes stored in this bandcolor_format (
ColorFormat
, optional) – The color format when category is COLORndv – A tuple/value of size tuple_length containing the no-data-value (Optional)
min – A tuple/value of size tuple_length containing the minimum value (Optional)
max – A tuple/value of size tuple_length containing the maximum value (Optional)
level_policy (
LevelPolicy
, optional) – Policy for handling lower resolution levelsfollow_band_name (
str
, optional) – Band to follow with follow level policystring_table (list(
str
, optional)) – String table/list when the type is STRING_TABLE
-
property
color_format
¶ ColorFormat
: The color format when category is COLOR
-
property
follow_band_name
¶ str: Band to follow with follow level policy
-
property
level_policy
¶ LevelPolicy
: Policy for handling lower resolution levels
-
property
maximum
¶ A tuple / value of size tuple_length containing the maximum value
-
property
minimum
¶ A tuple/value of size tuple_length containing the minimum value
-
property
ndv
¶ A tuple of size tuple_length containing the no-data-value
-
property
numpy_dtype
¶ numpy.dtype
: Data Type of numpy arrays returned for this band.
-
property
tuple_length
¶ int: Number of items in each point attribute for this band
-