CalWVRRow

class CalWVRRow(table, row=None)[source]

Bases: object

The CalWVRRow class is a row of a CalWVRTable.

Generated from model’s revision -1, branch

Methods Summary

antennaNameFromBin(row, eis)

Set the antennaName in row from the EndianInput (eis) instance.

calDataIdFromBin(row, eis)

Set the calDataId in row from the EndianInput (eis) instance.

calReductionIdFromBin(row, eis)

Set the calReductionId in row from the EndianInput (eis) instance.

chanFreqFromBin(row, eis)

Set the chanFreq in row from the EndianInput (eis) instance.

chanWidthFromBin(row, eis)

Set the chanWidth in row from the EndianInput (eis) instance.

clearTauBaseline()

Mark tauBaseline, which is an optional field, as non-existent.

compareNoAutoInc(antennaName, calDataId, …)

Compare each attribute except the autoincrementable one of this CalWVRRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(startValidTime, …)

dryPathFromBin(row, eis)

Set the dryPath in row from the EndianInput (eis) instance.

endValidTimeFromBin(row, eis)

Set the endValidTime 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.

getAntennaName()

Get antennaName.

getCalDataId()

Get calDataId.

getCalDataUsingCalDataId()

Returns the row in the CalData table having CalData.calDataId == calDataId

getCalReductionId()

Get calReductionId.

getCalReductionUsingCalReductionId()

Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId

getChanFreq()

Get chanFreq.

getChanWidth()

Get chanWidth.

getDryPath()

Get dryPath.

getEndValidTime()

Get endValidTime.

getInputAntennaNames()

Get inputAntennaNames.

getNumChan()

Get numChan.

getNumInputAntennas()

Get numInputAntennas.

getNumPoly()

Get numPoly.

getPathCoeff()

Get pathCoeff.

getPolyFreqLimits()

Get polyFreqLimits.

getRefTemp()

Get refTemp.

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

getTauBaseline()

Get tauBaseline, which is optional.

getWater()

Get water.

getWetPath()

Get wetPath.

getWvrMethod()

Get wvrMethod.

initFromBinMethods()

inputAntennaNamesFromBin(row, eis)

Set the inputAntennaNames in row from the EndianInput (eis) instance.

isAdded()

isTauBaselineExists()

The attribute tauBaseline is optional.

numChanFromBin(row, eis)

Set the numChan in row from the EndianInput (eis) instance.

numInputAntennasFromBin(row, eis)

Set the numInputAntennas in row from the EndianInput (eis) instance.

numPolyFromBin(row, eis)

Set the numPoly in row from the EndianInput (eis) instance.

pathCoeffFromBin(row, eis)

Set the pathCoeff in row from the EndianInput (eis) instance.

polyFreqLimitsFromBin(row, eis)

Set the polyFreqLimits in row from the EndianInput (eis) instance.

refTempFromBin(row, eis)

Set the refTemp in row from the EndianInput (eis) instance.

setAntennaName(antennaName)

Set antennaName with the specified str value.

setCalDataId(calDataId)

Set calDataId with the specified Tag value.

setCalReductionId(calReductionId)

Set calReductionId with the specified Tag value.

setChanFreq(chanFreq)

Set chanFreq with the specified Frequency [] value.

setChanWidth(chanWidth)

Set chanWidth with the specified Frequency [] value.

setDryPath(dryPath)

Set dryPath with the specified float [] value.

setEndValidTime(endValidTime)

Set endValidTime with the specified ArrayTime value.

setFromXML(xmlrow)

Fill the values of this row from an XML string that was produced by the toXML() method.

setInputAntennaNames(inputAntennaNames)

Set inputAntennaNames with the specified str [] value.

setNumChan(numChan)

Set numChan with the specified int value.

setNumInputAntennas(numInputAntennas)

Set numInputAntennas with the specified int value.

setNumPoly(numPoly)

Set numPoly with the specified int value.

setPathCoeff(pathCoeff)

Set pathCoeff with the specified float [] [] [] value.

setPolyFreqLimits(polyFreqLimits)

Set polyFreqLimits with the specified Frequency [] value.

setRefTemp(refTemp)

Set refTemp with the specified Temperature [] [] value.

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

setTauBaseline(tauBaseline)

Set tauBaseline with the specified float value.

setWater(water)

Set water with the specified Length value.

setWetPath(wetPath)

Set wetPath with the specified float [] value.

setWvrMethod(wvrMethod)

Set wvrMethod with the specified WVRMethod value.

startValidTimeFromBin(row, eis)

Set the startValidTime in row from the EndianInput (eis) instance.

tauBaselineFromBin(row, eis)

Set the optional tauBaseline 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 water in row from the EndianInput (eis) instance.

wetPathFromBin(row, eis)

Set the wetPath in row from the EndianInput (eis) instance.

wvrMethodFromBin(row, eis)

Set the wvrMethod in row from the EndianInput (eis) instance.

Methods Documentation

static antennaNameFromBin(row, eis)[source]

Set the antennaName in row from the EndianInput (eis) instance.

static calDataIdFromBin(row, eis)[source]

Set the calDataId in row from the EndianInput (eis) instance.

static calReductionIdFromBin(row, eis)[source]

Set the calReductionId in row from the EndianInput (eis) instance.

static chanFreqFromBin(row, eis)[source]

Set the chanFreq in row from the EndianInput (eis) instance.

static chanWidthFromBin(row, eis)[source]

Set the chanWidth in row from the EndianInput (eis) instance.

clearTauBaseline()[source]

Mark tauBaseline, which is an optional field, as non-existent.

compareNoAutoInc(antennaName, calDataId, calReductionId, startValidTime, endValidTime, wvrMethod, numInputAntennas, inputAntennaNames, numChan, chanFreq, chanWidth, refTemp, numPoly, pathCoeff, polyFreqLimits, wetPath, dryPath, water)[source]

Compare each attribute except the autoincrementable one of this CalWVRRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(startValidTime, endValidTime, wvrMethod, numInputAntennas, inputAntennaNames, numChan, chanFreq, chanWidth, refTemp, numPoly, pathCoeff, polyFreqLimits, wetPath, dryPath, water)[source]
static dryPathFromBin(row, eis)[source]

Set the dryPath in row from the EndianInput (eis) instance.

static endValidTimeFromBin(row, eis)[source]

Set the endValidTime 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.

getAntennaName()[source]

Get antennaName. return antennaName as str

getCalDataId()[source]

Get calDataId. return calDataId as Tag

getCalDataUsingCalDataId()[source]

Returns the row in the CalData table having CalData.calDataId == calDataId

getCalReductionId()[source]

Get calReductionId. return calReductionId as Tag

getCalReductionUsingCalReductionId()[source]

Returns the row in the CalReduction table having CalReduction.calReductionId == calReductionId

getChanFreq()[source]

Get chanFreq. return chanFreq as Frequency []

getChanWidth()[source]

Get chanWidth. return chanWidth as Frequency []

getDryPath()[source]

Get dryPath. return dryPath as float []

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getInputAntennaNames()[source]

Get inputAntennaNames. return inputAntennaNames as str []

getNumChan()[source]

Get numChan. return numChan as int

getNumInputAntennas()[source]

Get numInputAntennas. return numInputAntennas as int

getNumPoly()[source]

Get numPoly. return numPoly as int

getPathCoeff()[source]

Get pathCoeff. return pathCoeff as float [] [] []

getPolyFreqLimits()[source]

Get polyFreqLimits. return polyFreqLimits as Frequency []

getRefTemp()[source]

Get refTemp. return refTemp as Temperature [] []

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getTable()[source]

Return the table to which this row belongs.

getTauBaseline()[source]

Get tauBaseline, which is optional. return tauBaseline as float raises ValueError If tauBaseline does not exist.

getWater()[source]

Get water. return water as Length

getWetPath()[source]

Get wetPath. return wetPath as float []

getWvrMethod()[source]

Get wvrMethod. return wvrMethod as WVRMethod

static initFromBinMethods()[source]
static inputAntennaNamesFromBin(row, eis)[source]

Set the inputAntennaNames in row from the EndianInput (eis) instance.

isAdded()[source]
isTauBaselineExists()[source]

The attribute tauBaseline is optional. Return True if this attribute exists. return True if and only if the tauBaseline attribute exists.

static numChanFromBin(row, eis)[source]

Set the numChan in row from the EndianInput (eis) instance.

static numInputAntennasFromBin(row, eis)[source]

Set the numInputAntennas in row from the EndianInput (eis) instance.

static numPolyFromBin(row, eis)[source]

Set the numPoly in row from the EndianInput (eis) instance.

static pathCoeffFromBin(row, eis)[source]

Set the pathCoeff in row from the EndianInput (eis) instance.

static polyFreqLimitsFromBin(row, eis)[source]

Set the polyFreqLimits in row from the EndianInput (eis) instance.

static refTempFromBin(row, eis)[source]

Set the refTemp in row from the EndianInput (eis) instance.

setAntennaName(antennaName)[source]

Set antennaName with the specified str value. antennaName The str value to which antennaName is to be set.

Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.

setCalDataId(calDataId)[source]

Set calDataId with the specified Tag value. calDataId The Tag value to which calDataId is to be set. The value of calDataId 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.

setCalReductionId(calReductionId)[source]

Set calReductionId with the specified Tag value. calReductionId The Tag value to which calReductionId is to be set. The value of calReductionId 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.

setChanFreq(chanFreq)[source]

Set chanFreq with the specified Frequency [] value. chanFreq The Frequency [] value to which chanFreq is to be set. The value of chanFreq can be anything allowed by the Frequency [] constructor.

setChanWidth(chanWidth)[source]

Set chanWidth with the specified Frequency [] value. chanWidth The Frequency [] value to which chanWidth is to be set. The value of chanWidth can be anything allowed by the Frequency [] constructor.

setDryPath(dryPath)[source]

Set dryPath with the specified float [] value. dryPath The float [] value to which dryPath is to be set.

setEndValidTime(endValidTime)[source]

Set endValidTime with the specified ArrayTime value. endValidTime The ArrayTime value to which endValidTime is to be set. The value of endValidTime can be anything allowed by the ArrayTime 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.

setInputAntennaNames(inputAntennaNames)[source]

Set inputAntennaNames with the specified str [] value. inputAntennaNames The str [] value to which inputAntennaNames is to be set.

setNumChan(numChan)[source]

Set numChan with the specified int value. numChan The int value to which numChan is to be set.

setNumInputAntennas(numInputAntennas)[source]

Set numInputAntennas with the specified int value. numInputAntennas The int value to which numInputAntennas is to be set.

setNumPoly(numPoly)[source]

Set numPoly with the specified int value. numPoly The int value to which numPoly is to be set.

setPathCoeff(pathCoeff)[source]

Set pathCoeff with the specified float [] [] [] value. pathCoeff The float [] [] [] value to which pathCoeff is to be set.

setPolyFreqLimits(polyFreqLimits)[source]

Set polyFreqLimits with the specified Frequency [] value. polyFreqLimits The Frequency [] value to which polyFreqLimits is to be set. The value of polyFreqLimits can be anything allowed by the Frequency [] constructor.

setRefTemp(refTemp)[source]

Set refTemp with the specified Temperature [] [] value. refTemp The Temperature [] [] value to which refTemp is to be set. The value of refTemp can be anything allowed by the Temperature [] [] constructor.

setStartValidTime(startValidTime)[source]

Set startValidTime with the specified ArrayTime value. startValidTime The ArrayTime value to which startValidTime is to be set. The value of startValidTime can be anything allowed by the ArrayTime constructor.

setTauBaseline(tauBaseline)[source]

Set tauBaseline with the specified float value. tauBaseline The float value to which tauBaseline is to be set.

setWater(water)[source]

Set water with the specified Length value. water The Length value to which water is to be set. The value of water can be anything allowed by the Length constructor.

setWetPath(wetPath)[source]

Set wetPath with the specified float [] value. wetPath The float [] value to which wetPath is to be set.

setWvrMethod(wvrMethod)[source]

Set wvrMethod with the specified WVRMethod value. wvrMethod The WVRMethod value to which wvrMethod is to be set.

static startValidTimeFromBin(row, eis)[source]

Set the startValidTime in row from the EndianInput (eis) instance.

static tauBaselineFromBin(row, eis)[source]

Set the optional tauBaseline in row from the EndianInput (eis) instance.

toBin(eos)[source]

Write this row out to the EndianOutput instance, eos.

toXML()[source]

Return this row in the form of an XML string.

static waterFromBin(row, eis)[source]

Set the water in row from the EndianInput (eis) instance.

static wetPathFromBin(row, eis)[source]

Set the wetPath in row from the EndianInput (eis) instance.

static wvrMethodFromBin(row, eis)[source]

Set the wvrMethod in row from the EndianInput (eis) instance.