CalAmpliRow

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

Bases: object

The CalAmpliRow class is a row of a CalAmpliTable.

Generated from model’s revision -1, branch

Methods Summary

antennaNameFromBin(row, eis)

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

apertureEfficiencyErrorFromBin(row, eis)

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

apertureEfficiencyFromBin(row, eis)

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

atmPhaseCorrectionFromBin(row, eis)

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

basebandNameFromBin(row, eis)

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

clearCorrectionValidity()

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

compareNoAutoInc(antennaName, …)

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

compareRequiredValue(numReceptor, …)

correctionValidityFromBin(row, eis)

Set the optional correctionValidity 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.

frequencyRangeFromBin(row, eis)

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

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.

getApertureEfficiency()

Get apertureEfficiency.

getApertureEfficiencyError()

Get apertureEfficiencyError.

getAtmPhaseCorrection()

Get atmPhaseCorrection.

getBasebandName()

Get basebandName.

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

getCorrectionValidity()

Get correctionValidity, which is optional.

getEndValidTime()

Get endValidTime.

getFrequencyRange()

Get frequencyRange.

getNumReceptor()

Get numReceptor.

getPolarizationTypes()

Get polarizationTypes.

getReceiverBand()

Get receiverBand.

getStartValidTime()

Get startValidTime.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

isAdded()

isCorrectionValidityExists()

The attribute correctionValidity is optional.

numReceptorFromBin(row, eis)

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

polarizationTypesFromBin(row, eis)

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

receiverBandFromBin(row, eis)

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

setAntennaName(antennaName)

Set antennaName with the specified str value.

setApertureEfficiency(apertureEfficiency)

Set apertureEfficiency with the specified float [] value.

setApertureEfficiencyError(…)

Set apertureEfficiencyError with the specified float [] value.

setAtmPhaseCorrection(atmPhaseCorrection)

Set atmPhaseCorrection with the specified AtmPhaseCorrection value.

setBasebandName(basebandName)

Set basebandName with the specified BasebandName value.

setCalDataId(calDataId)

Set calDataId with the specified Tag value.

setCalReductionId(calReductionId)

Set calReductionId with the specified Tag value.

setCorrectionValidity(correctionValidity)

Set correctionValidity with the specified bool value.

setEndValidTime(endValidTime)

Set endValidTime with the specified ArrayTime value.

setFrequencyRange(frequencyRange)

Set frequencyRange with the specified Frequency [] value.

setFromXML(xmlrow)

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

setNumReceptor(numReceptor)

Set numReceptor with the specified int value.

setPolarizationTypes(polarizationTypes)

Set polarizationTypes with the specified PolarizationType [] value.

setReceiverBand(receiverBand)

Set receiverBand with the specified ReceiverBand value.

setStartValidTime(startValidTime)

Set startValidTime with the specified ArrayTime value.

startValidTimeFromBin(row, eis)

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

Methods Documentation

static antennaNameFromBin(row, eis)[source]

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

static apertureEfficiencyErrorFromBin(row, eis)[source]

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

static apertureEfficiencyFromBin(row, eis)[source]

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

static atmPhaseCorrectionFromBin(row, eis)[source]

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

static basebandNameFromBin(row, eis)[source]

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

clearCorrectionValidity()[source]

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

compareNoAutoInc(antennaName, atmPhaseCorrection, receiverBand, basebandName, calDataId, calReductionId, numReceptor, polarizationTypes, startValidTime, endValidTime, frequencyRange, apertureEfficiency, apertureEfficiencyError)[source]

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

compareRequiredValue(numReceptor, polarizationTypes, startValidTime, endValidTime, frequencyRange, apertureEfficiency, apertureEfficiencyError)[source]
static correctionValidityFromBin(row, eis)[source]

Set the optional correctionValidity 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 frequencyRangeFromBin(row, eis)[source]

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

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

getApertureEfficiency()[source]

Get apertureEfficiency. return apertureEfficiency as float []

getApertureEfficiencyError()[source]

Get apertureEfficiencyError. return apertureEfficiencyError as float []

getAtmPhaseCorrection()[source]

Get atmPhaseCorrection. return atmPhaseCorrection as AtmPhaseCorrection

getBasebandName()[source]

Get basebandName. return basebandName as BasebandName

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

getCorrectionValidity()[source]

Get correctionValidity, which is optional. return correctionValidity as bool raises ValueError If correctionValidity does not exist.

getEndValidTime()[source]

Get endValidTime. return endValidTime as ArrayTime

getFrequencyRange()[source]

Get frequencyRange. return frequencyRange as Frequency []

getNumReceptor()[source]

Get numReceptor. return numReceptor as int

getPolarizationTypes()[source]

Get polarizationTypes. return polarizationTypes as PolarizationType []

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getStartValidTime()[source]

Get startValidTime. return startValidTime as ArrayTime

getTable()[source]

Return the table to which this row belongs.

static initFromBinMethods()[source]
isAdded()[source]
isCorrectionValidityExists()[source]

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

static numReceptorFromBin(row, eis)[source]

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

static polarizationTypesFromBin(row, eis)[source]

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

static receiverBandFromBin(row, eis)[source]

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

setApertureEfficiency(apertureEfficiency)[source]

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

setApertureEfficiencyError(apertureEfficiencyError)[source]

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

setAtmPhaseCorrection(atmPhaseCorrection)[source]

Set atmPhaseCorrection with the specified AtmPhaseCorrection value. atmPhaseCorrection The AtmPhaseCorrection value to which atmPhaseCorrection 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.

setBasebandName(basebandName)[source]

Set basebandName with the specified BasebandName value. basebandName The BasebandName value to which basebandName 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.

setCorrectionValidity(correctionValidity)[source]

Set correctionValidity with the specified bool value. correctionValidity The bool value to which correctionValidity 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.

setFrequencyRange(frequencyRange)[source]

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

setNumReceptor(numReceptor)[source]

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

setPolarizationTypes(polarizationTypes)[source]

Set polarizationTypes with the specified PolarizationType [] value. polarizationTypes The PolarizationType [] value to which polarizationTypes is to be set.

setReceiverBand(receiverBand)[source]

Set receiverBand with the specified ReceiverBand value. receiverBand The ReceiverBand value to which receiverBand 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.

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.

static startValidTimeFromBin(row, eis)[source]

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