Last change
on this file since 3124 was 1603, checked in by TakTsutsumi, 15 years ago |
New Development: No, merge with asap2.3.1
JIRA Issue: Yes CAS-1450
Ready to Release: Yes/No
Interface Changes: Yes/No
What Interface Changed: Please list interface changes
Test Programs: List test programs
Put in Release Notes: Yes
Module(s): single dish
Description: Upgrade of alma branch based on ASAP2.2.0
(rev.1562) to ASAP2.3.1 (rev.1561)
|
File size:
1.5 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() {;}
|
---|
32 | explicit STWeather(casa::Table tab);
|
---|
33 | explicit STWeather(const Scantable& parent);
|
---|
34 |
|
---|
35 | virtual ~STWeather();
|
---|
36 |
|
---|
37 | STWeather& operator=(const STWeather& other);
|
---|
38 |
|
---|
39 | casa::uInt addEntry( casa::Float temperature, casa::Float pressure,
|
---|
40 | casa::Float humidity,
|
---|
41 | casa::Float windspeed, casa::Float windaz);
|
---|
42 |
|
---|
43 | void getEntry( casa::Float& temperature, casa::Float& pressure,
|
---|
44 | casa::Float& humidity,
|
---|
45 | casa::Float& windspeed, casa::Float& windaz,
|
---|
46 | casa::uInt id) const;
|
---|
47 |
|
---|
48 | const casa::String& name() const { return name_; }
|
---|
49 |
|
---|
50 | private:
|
---|
51 | void setup();
|
---|
52 | static const casa::String name_;
|
---|
53 | //casa::Table table_;
|
---|
54 | //casa::ScalarColumn<casa::uInt> freqidCol_;
|
---|
55 | casa::ScalarColumn<casa::Float> pressureCol_, temperatureCol_,
|
---|
56 | humidityCol_,
|
---|
57 | windspeedCol_, windazCol_;
|
---|
58 | };
|
---|
59 |
|
---|
60 | }
|
---|
61 |
|
---|
62 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.