BandInfo

class caris.coverage.Category

Contains possible band categories.

  • SCALAR
  • STRING
  • STRING_TABLE
  • DATE
  • TIME
  • DATE_TIME
  • COLOR
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.

category

The type of attributes stored in this band

Type:Category
color_format

The color format when category is COLOR

Type:ColorFormat
direction

Unit direction

Type:Direction
follow_band_name

Band to follow with follow level policy

Type:str
level_policy

Policy for handling lower resolution levels

Type:LevelPolicy
maximum

A tuple/value of size tuple_length containing the maximum value

minimum

A tuple/value of size tuple_length containing the minimum value

name

Band name

Type:str
ndv

A tuple of size tuple_length containing the no-data-value

string_table

String table

Type:list of str
tuple_length

Number of items in each point attribute for this band.

Type:int
type

Band type

Type:DataType
units

Unit measurement (ex: “m”, “f”)

Type:str