casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDWeatherHandler Class Reference

More...

#include <SDWeatherHandler.h>

Public Member Functions

 SDWeatherHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDWeatherHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - mark fields in row as handled More...
 
 SDWeatherHandler (const SDWeatherHandler &other)
 copy ctor More...
 
 ~SDWeatherHandler ()
 
SDWeatherHandleroperator= (const SDWeatherHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS, mark fields in row as handled More...
 
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS More...
 
void fill (const Record &row, Int antennaId, Double time, Vector< Double > &timeRange)
 fill - a new row is added as necessary, there is no lookback to see if a row could be reused. More...
 

Private Member Functions

void clearAll ()
 cleanup everything More...
 
void clearRow ()
 cleanup row-related stuff More...
 
void initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 initialize everything More...
 
void initRow (Vector< Bool > &handledCols, const Record &row)
 intialize the row related stuff More...
 

Private Attributes

MSWeathermsWeather_p
 
MSWeatherColumnsmsWeatherCols_p
 
Int rownr_p
 
Int humidityId_p
 
Int tambientId_p
 
Int pressureId_p
 
Int dewpointId_p
 
Int windspeeId_p
 
Int winddireId_p
 
RORecordFieldPtr< FloatH2OField_p
 additional fields from an SDFITS file that had a previous life as a MS More...
 
RORecordFieldPtr< FloationosElectronField_p
 
RORecordFieldPtr< FloatpressureField_p
 
RORecordFieldPtr< FloathumidityField_p
 
RORecordFieldPtr< FloattemperatureField_p
 
RORecordFieldPtr< FloatwindDirField_p
 
RORecordFieldPtr< FloatwindSpeedField_p
 
RORecordFieldPtr< DoubletimeField_p
 
RORecordFieldPtr< DoubleintervalField_p
 

Detailed Description

Intended use:

Internal or

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 86 of file SDWeatherHandler.h.

Constructor & Destructor Documentation

◆ SDWeatherHandler() [1/3]

casacore::SDWeatherHandler::SDWeatherHandler ( )

default ctor is not attached to a MS and hence is useless until attached

◆ SDWeatherHandler() [2/3]

casacore::SDWeatherHandler::SDWeatherHandler ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach this to a MS - mark fields in row as handled

◆ SDWeatherHandler() [3/3]

casacore::SDWeatherHandler::SDWeatherHandler ( const SDWeatherHandler other)

copy ctor

◆ ~SDWeatherHandler()

casacore::SDWeatherHandler::~SDWeatherHandler ( )
inline

Definition at line 98 of file SDWeatherHandler.h.

References clearAll().

Member Function Documentation

◆ attach()

void casacore::SDWeatherHandler::attach ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

attach to a MS, mark fields in row as handled

◆ clearAll()

void casacore::SDWeatherHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDWeatherHandler().

◆ clearRow()

void casacore::SDWeatherHandler::clearRow ( )
private

cleanup row-related stuff

◆ fill()

void casacore::SDWeatherHandler::fill ( const Record row,
Int  antennaId,
Double  time,
Vector< Double > &  timeRange 
)

fill - a new row is added as necessary, there is no lookback to see if a row could be reused.

Only the current row might be reused.

◆ initAll()

void casacore::SDWeatherHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)
private

initialize everything

◆ initRow()

void casacore::SDWeatherHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
)
private

intialize the row related stuff

◆ operator=()

SDWeatherHandler& casacore::SDWeatherHandler::operator= ( const SDWeatherHandler other)

assignment operator, uses copy semantics

◆ resetRow()

void casacore::SDWeatherHandler::resetRow ( const Record row)

reset internals given indicated row, use the same MS

Member Data Documentation

◆ dewpointId_p

Int casacore::SDWeatherHandler::dewpointId_p
private

Definition at line 118 of file SDWeatherHandler.h.

◆ H2OField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::H2OField_p
private

additional fields from an SDFITS file that had a previous life as a MS

Definition at line 121 of file SDWeatherHandler.h.

◆ humidityField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::humidityField_p
private

Definition at line 122 of file SDWeatherHandler.h.

◆ humidityId_p

Int casacore::SDWeatherHandler::humidityId_p
private

Definition at line 118 of file SDWeatherHandler.h.

◆ intervalField_p

RORecordFieldPtr<Double> casacore::SDWeatherHandler::intervalField_p
private

Definition at line 123 of file SDWeatherHandler.h.

◆ ionosElectronField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::ionosElectronField_p
private

Definition at line 121 of file SDWeatherHandler.h.

◆ msWeather_p

MSWeather* casacore::SDWeatherHandler::msWeather_p
private

Definition at line 113 of file SDWeatherHandler.h.

◆ msWeatherCols_p

MSWeatherColumns* casacore::SDWeatherHandler::msWeatherCols_p
private

Definition at line 114 of file SDWeatherHandler.h.

◆ pressureField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::pressureField_p
private

Definition at line 121 of file SDWeatherHandler.h.

◆ pressureId_p

Int casacore::SDWeatherHandler::pressureId_p
private

Definition at line 118 of file SDWeatherHandler.h.

◆ rownr_p

Int casacore::SDWeatherHandler::rownr_p
private

Definition at line 116 of file SDWeatherHandler.h.

◆ tambientId_p

Int casacore::SDWeatherHandler::tambientId_p
private

Definition at line 118 of file SDWeatherHandler.h.

◆ temperatureField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::temperatureField_p
private

Definition at line 122 of file SDWeatherHandler.h.

◆ timeField_p

RORecordFieldPtr<Double> casacore::SDWeatherHandler::timeField_p
private

Definition at line 123 of file SDWeatherHandler.h.

◆ winddireId_p

Int casacore::SDWeatherHandler::winddireId_p
private

Definition at line 118 of file SDWeatherHandler.h.

◆ windDirField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::windDirField_p
private

Definition at line 122 of file SDWeatherHandler.h.

◆ windSpeedField_p

RORecordFieldPtr<Float> casacore::SDWeatherHandler::windSpeedField_p
private

Definition at line 122 of file SDWeatherHandler.h.

◆ windspeeId_p

Int casacore::SDWeatherHandler::windspeeId_p
private

Definition at line 118 of file SDWeatherHandler.h.


The documentation for this class was generated from the following file: