WeatherRow¶
-
class
WeatherRow(table, row=None)[source]¶ Bases:
objectThe WeatherRow class is a row of a WeatherTable.
Generated from model’s revision -1, branch
Methods Summary
clearCloudMonitor()Mark cloudMonitor, which is an optional field, as non-existent.
clearDewPoint()Mark dewPoint, which is an optional field, as non-existent.
clearLayerHeight()Mark layerHeight, which is an optional field, as non-existent.
clearNumLayer()Mark numLayer, which is an optional field, as non-existent.
clearNumWVR()Mark numWVR, which is an optional field, as non-existent.
clearPressure()Mark pressure, which is an optional field, as non-existent.
clearRelHumidity()Mark relHumidity, which is an optional field, as non-existent.
clearTemperature()Mark temperature, which is an optional field, as non-existent.
clearTemperatureProfile()Mark temperatureProfile, which is an optional field, as non-existent.
clearWater()Mark water, which is an optional field, as non-existent.
clearWindDirection()Mark windDirection, which is an optional field, as non-existent.
clearWindMax()Mark windMax, which is an optional field, as non-existent.
clearWindSpeed()Mark windSpeed, which is an optional field, as non-existent.
clearWvrTemp()Mark wvrTemp, which is an optional field, as non-existent.
cloudMonitorFromBin(row, eis)Set the optional cloudMonitor in row from the EndianInput (eis) instance.
compareNoAutoInc(stationId, timeInterval)Compare each attribute except the autoincrementable one of this WeatherRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue()dewPointFromBin(row, eis)Set the optional dewPoint in row from the EndianInput (eis) instance.
equalByRequiredValue(otherRow)Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
fromBin(eis, table, attributesSeq)Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.
getCloudMonitor()Get cloudMonitor, which is optional.
getDewPoint()Get dewPoint, which is optional.
getLayerHeight()Get layerHeight, which is optional.
getNumLayer()Get numLayer, which is optional.
getNumWVR()Get numWVR, which is optional.
getPressure()Get pressure, which is optional.
getRelHumidity()Get relHumidity, which is optional.
getStationId()Get stationId.
getStationUsingStationId()Returns the row in the Station table having Station.stationId == stationId
getTable()Return the table to which this row belongs.
getTemperature()Get temperature, which is optional.
getTemperatureProfile()Get temperatureProfile, which is optional.
getTimeInterval()Get timeInterval.
getWater()Get water, which is optional.
getWindDirection()Get windDirection, which is optional.
getWindMax()Get windMax, which is optional.
getWindSpeed()Get windSpeed, which is optional.
getWvrTemp()Get wvrTemp, which is optional.
initFromBinMethods()isAdded()isCloudMonitorExists()The attribute cloudMonitor is optional.
isDewPointExists()The attribute dewPoint is optional.
isLayerHeightExists()The attribute layerHeight is optional.
isNumLayerExists()The attribute numLayer is optional.
isNumWVRExists()The attribute numWVR is optional.
isPressureExists()The attribute pressure is optional.
isRelHumidityExists()The attribute relHumidity is optional.
isTemperatureExists()The attribute temperature is optional.
isTemperatureProfileExists()The attribute temperatureProfile is optional.
isWaterExists()The attribute water is optional.
isWindDirectionExists()The attribute windDirection is optional.
isWindMaxExists()The attribute windMax is optional.
isWindSpeedExists()The attribute windSpeed is optional.
isWvrTempExists()The attribute wvrTemp is optional.
layerHeightFromBin(row, eis)Set the optional layerHeight in row from the EndianInput (eis) instance.
numLayerFromBin(row, eis)Set the optional numLayer in row from the EndianInput (eis) instance.
numWVRFromBin(row, eis)Set the optional numWVR in row from the EndianInput (eis) instance.
pressureFromBin(row, eis)Set the optional pressure in row from the EndianInput (eis) instance.
relHumidityFromBin(row, eis)Set the optional relHumidity in row from the EndianInput (eis) instance.
setCloudMonitor(cloudMonitor)Set cloudMonitor with the specified Temperature value.
setDewPoint(dewPoint)Set dewPoint with the specified Temperature value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setLayerHeight(layerHeight)Set layerHeight with the specified Length [] value.
setNumLayer(numLayer)Set numLayer with the specified int value.
setNumWVR(numWVR)Set numWVR with the specified int value.
setPressure(pressure)Set pressure with the specified Pressure value.
setRelHumidity(relHumidity)Set relHumidity with the specified Humidity value.
setStationId(stationId)Set stationId with the specified Tag value.
setTemperature(temperature)Set temperature with the specified Temperature value.
setTemperatureProfile(temperatureProfile)Set temperatureProfile with the specified Temperature [] value.
setTimeInterval(timeInterval)Set timeInterval with the specified ArrayTimeInterval value.
setWater(water)Set water with the specified float value.
setWindDirection(windDirection)Set windDirection with the specified Angle value.
setWindMax(windMax)Set windMax with the specified Speed value.
setWindSpeed(windSpeed)Set windSpeed with the specified Speed value.
setWvrTemp(wvrTemp)Set wvrTemp with the specified Temperature [] value.
stationIdFromBin(row, eis)Set the stationId in row from the EndianInput (eis) instance.
temperatureFromBin(row, eis)Set the optional temperature in row from the EndianInput (eis) instance.
temperatureProfileFromBin(row, eis)Set the optional temperatureProfile in row from the EndianInput (eis) instance.
timeIntervalFromBin(row, eis)Set the timeInterval in row from the EndianInput (eis) instance.
toBin(eos)Write this row out to the EndianOutput instance, eos.
toXML()Return this row in the form of an XML string.
waterFromBin(row, eis)Set the optional water in row from the EndianInput (eis) instance.
windDirectionFromBin(row, eis)Set the optional windDirection in row from the EndianInput (eis) instance.
windMaxFromBin(row, eis)Set the optional windMax in row from the EndianInput (eis) instance.
windSpeedFromBin(row, eis)Set the optional windSpeed in row from the EndianInput (eis) instance.
wvrTempFromBin(row, eis)Set the optional wvrTemp in row from the EndianInput (eis) instance.
Methods Documentation
-
clearTemperatureProfile()[source]¶ Mark temperatureProfile, which is an optional field, as non-existent.
-
static
cloudMonitorFromBin(row, eis)[source]¶ Set the optional cloudMonitor in row from the EndianInput (eis) instance.
-
compareNoAutoInc(stationId, timeInterval)[source]¶ Compare each attribute except the autoincrementable one of this WeatherRow with the corresponding parameters and return True if there is a match and False otherwise.
-
static
dewPointFromBin(row, eis)[source]¶ Set the optional dewPoint in row from the EndianInput (eis) instance.
-
equalByRequiredValue(otherRow)[source]¶ Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
-
static
fromBin(eis, table, attributesSeq)[source]¶ Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.
The new row object is returned.
-
getCloudMonitor()[source]¶ Get cloudMonitor, which is optional. return cloudMonitor as Temperature raises ValueError If cloudMonitor does not exist.
-
getDewPoint()[source]¶ Get dewPoint, which is optional. return dewPoint as Temperature raises ValueError If dewPoint does not exist.
-
getLayerHeight()[source]¶ Get layerHeight, which is optional. return layerHeight as Length [] raises ValueError If layerHeight does not exist.
-
getNumLayer()[source]¶ Get numLayer, which is optional. return numLayer as int raises ValueError If numLayer does not exist.
-
getNumWVR()[source]¶ Get numWVR, which is optional. return numWVR as int raises ValueError If numWVR does not exist.
-
getPressure()[source]¶ Get pressure, which is optional. return pressure as Pressure raises ValueError If pressure does not exist.
-
getRelHumidity()[source]¶ Get relHumidity, which is optional. return relHumidity as Humidity raises ValueError If relHumidity does not exist.
-
getStationUsingStationId()[source]¶ Returns the row in the Station table having Station.stationId == stationId
-
getTemperature()[source]¶ Get temperature, which is optional. return temperature as Temperature raises ValueError If temperature does not exist.
-
getTemperatureProfile()[source]¶ Get temperatureProfile, which is optional. return temperatureProfile as Temperature [] raises ValueError If temperatureProfile does not exist.
-
getWater()[source]¶ Get water, which is optional. return water as float raises ValueError If water does not exist.
-
getWindDirection()[source]¶ Get windDirection, which is optional. return windDirection as Angle raises ValueError If windDirection does not exist.
-
getWindMax()[source]¶ Get windMax, which is optional. return windMax as Speed raises ValueError If windMax does not exist.
-
getWindSpeed()[source]¶ Get windSpeed, which is optional. return windSpeed as Speed raises ValueError If windSpeed does not exist.
-
getWvrTemp()[source]¶ Get wvrTemp, which is optional. return wvrTemp as Temperature [] raises ValueError If wvrTemp does not exist.
-
isCloudMonitorExists()[source]¶ The attribute cloudMonitor is optional. Return True if this attribute exists. return True if and only if the cloudMonitor attribute exists.
-
isDewPointExists()[source]¶ The attribute dewPoint is optional. Return True if this attribute exists. return True if and only if the dewPoint attribute exists.
-
isLayerHeightExists()[source]¶ The attribute layerHeight is optional. Return True if this attribute exists. return True if and only if the layerHeight attribute exists.
-
isNumLayerExists()[source]¶ The attribute numLayer is optional. Return True if this attribute exists. return True if and only if the numLayer attribute exists.
-
isNumWVRExists()[source]¶ The attribute numWVR is optional. Return True if this attribute exists. return True if and only if the numWVR attribute exists.
-
isPressureExists()[source]¶ The attribute pressure is optional. Return True if this attribute exists. return True if and only if the pressure attribute exists.
-
isRelHumidityExists()[source]¶ The attribute relHumidity is optional. Return True if this attribute exists. return True if and only if the relHumidity attribute exists.
-
isTemperatureExists()[source]¶ The attribute temperature is optional. Return True if this attribute exists. return True if and only if the temperature attribute exists.
-
isTemperatureProfileExists()[source]¶ The attribute temperatureProfile is optional. Return True if this attribute exists. return True if and only if the temperatureProfile attribute exists.
-
isWaterExists()[source]¶ The attribute water is optional. Return True if this attribute exists. return True if and only if the water attribute exists.
-
isWindDirectionExists()[source]¶ The attribute windDirection is optional. Return True if this attribute exists. return True if and only if the windDirection attribute exists.
-
isWindMaxExists()[source]¶ The attribute windMax is optional. Return True if this attribute exists. return True if and only if the windMax attribute exists.
-
isWindSpeedExists()[source]¶ The attribute windSpeed is optional. Return True if this attribute exists. return True if and only if the windSpeed attribute exists.
-
isWvrTempExists()[source]¶ The attribute wvrTemp is optional. Return True if this attribute exists. return True if and only if the wvrTemp attribute exists.
-
static
layerHeightFromBin(row, eis)[source]¶ Set the optional layerHeight in row from the EndianInput (eis) instance.
-
static
numLayerFromBin(row, eis)[source]¶ Set the optional numLayer in row from the EndianInput (eis) instance.
-
static
numWVRFromBin(row, eis)[source]¶ Set the optional numWVR in row from the EndianInput (eis) instance.
-
static
pressureFromBin(row, eis)[source]¶ Set the optional pressure in row from the EndianInput (eis) instance.
-
static
relHumidityFromBin(row, eis)[source]¶ Set the optional relHumidity in row from the EndianInput (eis) instance.
-
setCloudMonitor(cloudMonitor)[source]¶ Set cloudMonitor with the specified Temperature value. cloudMonitor The Temperature value to which cloudMonitor is to be set. The value of cloudMonitor can be anything allowed by the Temperature constructor.
-
setDewPoint(dewPoint)[source]¶ Set dewPoint with the specified Temperature value. dewPoint The Temperature value to which dewPoint is to be set. The value of dewPoint can be anything allowed by the Temperature constructor.
-
setFromXML(xmlrow)[source]¶ Fill the values of this row from an XML string that was produced by the toXML() method. If xmlrow is a minidom.Element with a nodeName of row then it will be used as is. Anything else that is not a string is an error.
-
setLayerHeight(layerHeight)[source]¶ Set layerHeight with the specified Length [] value. layerHeight The Length [] value to which layerHeight is to be set. The value of layerHeight can be anything allowed by the Length [] constructor.
-
setNumLayer(numLayer)[source]¶ Set numLayer with the specified int value. numLayer The int value to which numLayer is to be set.
-
setNumWVR(numWVR)[source]¶ Set numWVR with the specified int value. numWVR The int value to which numWVR is to be set.
-
setPressure(pressure)[source]¶ Set pressure with the specified Pressure value. pressure The Pressure value to which pressure is to be set. The value of pressure can be anything allowed by the Pressure constructor.
-
setRelHumidity(relHumidity)[source]¶ Set relHumidity with the specified Humidity value. relHumidity The Humidity value to which relHumidity is to be set. The value of relHumidity can be anything allowed by the Humidity constructor.
-
setStationId(stationId)[source]¶ Set stationId with the specified Tag value. stationId The Tag value to which stationId is to be set. The value of stationId can be anything allowed by the Tag constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
setTemperature(temperature)[source]¶ Set temperature with the specified Temperature value. temperature The Temperature value to which temperature is to be set. The value of temperature can be anything allowed by the Temperature constructor.
-
setTemperatureProfile(temperatureProfile)[source]¶ Set temperatureProfile with the specified Temperature [] value. temperatureProfile The Temperature [] value to which temperatureProfile is to be set. The value of temperatureProfile can be anything allowed by the Temperature [] constructor.
-
setTimeInterval(timeInterval)[source]¶ Set timeInterval with the specified ArrayTimeInterval value. timeInterval The ArrayTimeInterval value to which timeInterval is to be set. The value of timeInterval can be anything allowed by the ArrayTimeInterval constructor.
Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.
-
setWater(water)[source]¶ Set water with the specified float value. water The float value to which water is to be set.
-
setWindDirection(windDirection)[source]¶ Set windDirection with the specified Angle value. windDirection The Angle value to which windDirection is to be set. The value of windDirection can be anything allowed by the Angle constructor.
-
setWindMax(windMax)[source]¶ Set windMax with the specified Speed value. windMax The Speed value to which windMax is to be set. The value of windMax can be anything allowed by the Speed constructor.
-
setWindSpeed(windSpeed)[source]¶ Set windSpeed with the specified Speed value. windSpeed The Speed value to which windSpeed is to be set. The value of windSpeed can be anything allowed by the Speed constructor.
-
setWvrTemp(wvrTemp)[source]¶ Set wvrTemp with the specified Temperature [] value. wvrTemp The Temperature [] value to which wvrTemp is to be set. The value of wvrTemp can be anything allowed by the Temperature [] constructor.
-
static
stationIdFromBin(row, eis)[source]¶ Set the stationId in row from the EndianInput (eis) instance.
-
static
temperatureFromBin(row, eis)[source]¶ Set the optional temperature in row from the EndianInput (eis) instance.
-
static
temperatureProfileFromBin(row, eis)[source]¶ Set the optional temperatureProfile in row from the EndianInput (eis) instance.
-
static
timeIntervalFromBin(row, eis)[source]¶ Set the timeInterval in row from the EndianInput (eis) instance.
-
static
waterFromBin(row, eis)[source]¶ Set the optional water in row from the EndianInput (eis) instance.
-
static
windDirectionFromBin(row, eis)[source]¶ Set the optional windDirection in row from the EndianInput (eis) instance.
-
static
windMaxFromBin(row, eis)[source]¶ Set the optional windMax in row from the EndianInput (eis) instance.
-