Last change
on this file since 836 was 830, checked in by mar637, 19 years ago |
added getEntry to support export for STWriter.
|
File size:
1.3 KB
|
Line | |
---|
1 | //
|
---|
2 | // C++ Interface: STWeather
|
---|
3 | //
|
---|
4 | // Description:
|
---|
5 | //
|
---|
6 | //
|
---|
7 | // Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
|
---|
8 | //
|
---|
9 | // Copyright: See COPYING file that comes with this distribution
|
---|
10 | //
|
---|
11 | //
|
---|
12 | #ifndef ASAPSTWeaTHER_H
|
---|
13 | #define ASAPSTWeaTHER_H
|
---|
14 |
|
---|
15 | #include <casa/aips.h>
|
---|
16 | #include <casa/BasicSL/String.h>
|
---|
17 | #include <tables/Tables/Table.h>
|
---|
18 | #include <tables/Tables/ScalarColumn.h>
|
---|
19 |
|
---|
20 | #include "STSubTable.h"
|
---|
21 |
|
---|
22 | namespace asap {
|
---|
23 |
|
---|
24 | /**
|
---|
25 | The Weather subtable of the Scantable
|
---|
26 |
|
---|
27 | @author Malte Marquarding
|
---|
28 | */
|
---|
29 | class STWeather : public STSubTable {
|
---|
30 | public:
|
---|
31 | STWeather( casa::Table::TableType tt = casa::Table::Memory);
|
---|
32 |
|
---|
33 | virtual ~STWeather();
|
---|
34 |
|
---|
35 | casa::uInt addEntry( casa::Float temperature, casa::Float pressure,
|
---|
36 | casa::Float humidity,
|
---|
37 | casa::Float windspeed, casa::Float windaz);
|
---|
38 |
|
---|
39 | void getEntry( casa::Float& temperature, casa::Float& pressure,
|
---|
40 | casa::Float& humidity,
|
---|
41 | casa::Float& windspeed, casa::Float& windaz,
|
---|
42 | casa::uInt id);
|
---|
43 |
|
---|
44 | private:
|
---|
45 | void setup();
|
---|
46 | static const casa::String name_;
|
---|
47 | //casa::Table table_;
|
---|
48 | //casa::ScalarColumn<casa::uInt> freqidCol_;
|
---|
49 | casa::ScalarColumn<casa::Float> pressureCol_, temperatureCol_,
|
---|
50 | humidityCol_,
|
---|
51 | windspeedCol_, windazCol_;
|
---|
52 | };
|
---|
53 |
|
---|
54 | }
|
---|
55 |
|
---|
56 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.