PyGeometryData

class awips.dataaccess.PyGeometryData.PyGeometryData(geoDataRecord, geometry)[source]
getGeometry()[source]

Gets the geometry of the data.

Returns:

a shapely geometry

getNumber(param)[source]

Gets the number value of the specified param.

Args:

param: the string name of the param

Returns:

the number value of the param

getParameters()[source]

Gets the parameters of the data.

Returns:

a list of strings of the parameter names

getString(param)[source]

Gets the string value of the specified param.

Args:

param: the string name of the param

Returns:

the string value of the param

getType(param)[source]

Gets the type of the param.

Args:

param: the string name of the param

Returns:

a string of the type of the parameter, such as “STRING”, “INT”, “LONG”, “FLOAT”, or “DOUBLE”

getUnit(param)[source]

Gets the unit of the specified param.

Args:

param: the string name of the param

Returns:

the string abbreviation of the unit of the param