hydro.exchange.flags#

A Collection of Flag Schemes.

Module Contents#

Classes#

ExchangeFlag

Enum where members are also (and must be) ints

ExchangeBottleFlag

Enum representing a WHP Bottle flag.

ExchangeSampleFlag

Enum where members are also (and must be) ints

ExchangeCTDFlag

Enum where members are also (and must be) ints

class hydro.exchange.flags.ExchangeFlag(flag)[source]#

Bases: enum.IntEnum

Enum where members are also (and must be) ints

property definition[source]#
property cf_def[source]#
property has_value[source]#
class hydro.exchange.flags.ExchangeBottleFlag(flag)[source]#

Bases: ExchangeFlag

Enum representing a WHP Bottle flag.

This flag represents information about the sampling device itself (i.e. the niskin bottle). It should only be used for “BTLNBR_FLAG_W” values and should never be used with CTD files.

property _no_data_flags[source]#
property _flag_definitions[source]#
NOFLAG = 0[source]#
NO_INFO = 1[source]#
GOOD = 2[source]#
LEAKING = 3[source]#
BAD_TRIP = 4[source]#
NOT_REPORTED = 5[source]#
DISCREPANCY = 6[source]#
UNKNOWN = 7[source]#
PAIR = 8[source]#
NOT_SAMPLED = 9[source]#
class hydro.exchange.flags.ExchangeSampleFlag(flag)[source]#

Bases: ExchangeFlag

Enum where members are also (and must be) ints

property _no_data_flags[source]#
property _flag_definitions[source]#
NOFLAG = 0[source]#
MISSING = 1[source]#
GOOD = 2[source]#
QUESTIONABLE = 3[source]#
BAD = 4[source]#
NOT_REPORTED = 5[source]#
MEAN = 6[source]#
CHROMA_MANUAL = 7[source]#
CHROMA_IRREGULAR = 8[source]#
NOT_SAMPLED = 9[source]#
class hydro.exchange.flags.ExchangeCTDFlag(flag)[source]#

Bases: ExchangeFlag

Enum where members are also (and must be) ints

property _no_data_flags[source]#
property _flag_definitions[source]#
NOFLAG = 0[source]#
UNCALIBRATED = 1[source]#
GOOD = 2[source]#
QUESTIONABLE = 3[source]#
BAD = 4[source]#
NOT_REPORTED = 5[source]#
INTERPOLATED = 6[source]#
DESPIKED = 7[source]#
NOT_SAMPLED = 9[source]#