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[, string_table=None[, is_hidden=None[, true_pos_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)
minimum – A tuple/value of size tuple_length containing the minimum value (Optional)
maximum – 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_TABLEis_hidden (
bool, optional)) – Flag to hide this bandtrue_pos_band_name (
str, optional) – Band to use to get the true positions of the data
- property color_format#
The color format when category is COLOR
- Type:
Flag to hide this band.
- Type:
- property level_policy#
Policy for handling lower resolution levels
- Type:
- 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#
Data Type of numpy arrays returned for this band.
- Type: