adi_py.constants

This module provides a variety of symbolic constants that can be used to find/select allowable values without hardcoding strings.

Classes

ADIAtts

ADIDatasetType

Used to easily reference different types of ADI datasets.

BitAssessment

Used to easily reference bit assessment values used in ADI QC

SpecialXrAttributes

Enumerates the special XArray variable attributes that are assigned

SplitMode

Enumerates the split mode which is used to define the output file size

TransformAttributes

Used to easily reference transformation metadata attrs used in ADI QC

class adi_py.constants.ADIAtts
ANCILLARY_VARIABLES = ancillary_variables
DESCRIPTION = description
FILL_VALUE = ['_FillValue']
LONG_NAME = long_name
MISSING_VALUE = missing_value
STANDARD_NAME = standard_name
UNITS = units
VALID_MAX = valid_max
VALID_MIN = valid_min
class adi_py.constants.ADIDatasetType

Bases: enum.Enum

Used to easily reference different types of ADI datasets.

OUTPUT = 3
RETRIEVED = 1
TRANSFORMED = 2
class adi_py.constants.BitAssessment

Bases: enum.Enum

Used to easily reference bit assessment values used in ADI QC

BAD = Bad
INDETERMINATE = Indeterminate
class adi_py.constants.SpecialXrAttributes

Enumerates the special XArray variable attributes that are assigned temporarily to help sync data between xarray and adi.

COORDINATE_SYSTEM = __coordsys_name
DATASET_TYPE = __dataset_type
DATASTREAM_DSID = __datastream_dsid
OBS_INDEX = __obs_index
OUTPUT_TARGETS = __output_targets
SOURCE_DS_NAME = __source_ds_name
SOURCE_VAR_NAME = __source_var_name
class adi_py.constants.SplitMode

Bases: enum.Enum

Enumerates the split mode which is used to define the output file size used when storing values. See dsproc.set_datastream_split_mode().

SPLIT_ON_DAYS
SPLIT_ON_HOURS
SPLIT_ON_MONTHS
SPLIT_ON_STORE
class adi_py.constants.TransformAttributes

Used to easily reference transformation metadata attrs used in ADI QC

CELL_TRANSFORM = cell_transform