ufzLogo rdmLogo

FloatScheme#

class FloatScheme[source]#

Bases: TranslationScheme

Acts as the default Translator, provides a changeable subset of the internal float flags

Attributes Summary

DFILTER_DEFAULT

Methods Summary

__call__(flag)

Call self as a function.

toExternal(flags[, attrs])

Translate from 'internal flags' to 'external flags'

toInternal(flags)

Translate from 'external flags' to 'internal flags'

Attributes Documentation

DFILTER_DEFAULT = -inf#

Methods Documentation

__call__(flag)[source]#

Call self as a function.

Return type:

float

toExternal(flags, attrs=None)[source]#

Translate from ‘internal flags’ to ‘external flags’

Parameters:
  • flags (pd.DataFrame) – The external flags to translate

  • attrs (dict or None, default None) – global meta information of saqc-object

Return type:

pd.DataFrame

toInternal(flags)[source]#

Translate from ‘external flags’ to ‘internal flags’

Parameters:

flags (pd.DataFrame) – The external flags to translate

Return type:

Flags object