PyData

class awips.dataaccess.PyData.PyData(dataRecord)[source]
getAttribute(key)[source]

Gets an attribute of the data.

Args:

key: the key of the attribute

Returns:

the value of the attribute

getAttributes()[source]

Gets the valid attributes for the data.

Returns:

a list of strings of the attribute names

getDataTime()[source]

Gets the data time of the data.

Returns:

the data time of the data, or None if no time is associated

getLevel()[source]

Gets the level of the data.

Returns:

the level of the data, or None if no level is associated

getLocationName()[source]

Gets the location name of the data.

Returns:

the location name of the data, or None if no location name is associated