PyGridData

class awips.dataaccess.PyGridData.PyGridData(gridDataRecord, nx, ny, latLonGrid=None, latLonDelegate=None)[source]
getLatLonCoords()[source]

Gets the lat/lon coordinates of the grid data.

Returns:

a tuple where the first element is a numpy array of lons, and the second element is a numpy array of lats

getParameter()[source]

Gets the parameter of the data.

Returns:

the parameter of the data

getRawData(unit=None)[source]

Gets the grid data as a numpy array.

Returns:

a numpy array of the data

getUnit()[source]

Gets the unit of the data.

Returns:

the string abbreviation of the unit, or None if no unit is associated