StationType

class StationType(stationType)[source]

Bases: object

A class for the StationType enumeration.

Attributes Summary

ANTENNA_PAD

MAINTENANCE_PAD

WEATHER_STATION

Methods Summary

from_int(i)

Return a StationType from an integration matching an enumeration.

getName()

Return the name of this enumeration.

getValue()

Return the integer value of this enumeration.

literal(name)

Return the StationType enumerator value given a string

name(stationType)

Returns the string form of stationType

names()

Return the list of all known StationType enumeration names

newStationType(name)

Equivalent to the literal method

revision()

revision as a string.

size()

the number of known enumerators in StationType

version()

the major version number as an int.

Attributes Documentation

ANTENNA_PAD = <pyasdm.enumerations.StationType.StationType object>
MAINTENANCE_PAD = <pyasdm.enumerations.StationType.StationType object>
WEATHER_STATION = <pyasdm.enumerations.StationType.StationType object>

Methods Documentation

static from_int(i)[source]

Return a StationType from an integration matching an enumeration.

getName()[source]

Return the name of this enumeration.

getValue()[source]

Return the integer value of this enumeration.

static literal(name)[source]

Return the StationType enumerator value given a string

static name(stationType)[source]

Returns the string form of stationType

static names()[source]

Return the list of all known StationType enumeration names

static newStationType(name)[source]

Equivalent to the literal method

static revision()[source]

revision as a string.

static size()[source]

the number of known enumerators in StationType

static version()[source]

the major version number as an int.