Changeset 1730 for trunk/src/Scantable.cpp
- Timestamp:
- 04/28/10 21:44:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r1728 r1730 279 279 rbeamCol_.attach(table_, "REFBEAMNO"); 280 280 281 mweatheridCol_.attach(table_,"WEATHER_ID"); 281 282 mfitidCol_.attach(table_,"FIT_ID"); 282 283 mfreqidCol_.attach(table_, "FREQ_ID"); … … 434 435 Table tab = table_.copyToMemoryTable(generateName()); 435 436 tab.deepCopy(inname, Table::New); 437 tab.markForDelete(); 438 436 439 } else { 437 440 table_.deepCopy(inname, Table::New); … … 1056 1059 } 1057 1060 1058 std::string asap::Scantable::getAntennaName() const1061 std::string Scantable::getAntennaName() const 1059 1062 { 1060 1063 String out; … … 1063 1066 } 1064 1067 1065 int asap::Scantable::checkScanInfo(const std::vector<int>& scanlist) const1068 int Scantable::checkScanInfo(const std::vector<int>& scanlist) const 1066 1069 { 1067 1070 String tbpath; … … 1131 1134 } 1132 1135 1133 std::vector<double> asap::Scantable::getDirectionVector(int whichrow) const1136 std::vector<double> Scantable::getDirectionVector(int whichrow) const 1134 1137 { 1135 1138 Vector<Double> Dir = dirCol_(whichrow).getAngle("rad").getValue(); … … 1139 1142 } 1140 1143 1144 std::vector<float> Scantable::getWeather(int whichrow) const 1145 { 1146 std::vector<float> out(5); 1147 //Float temperature, pressure, humidity, windspeed, windaz; 1148 weatherTable_.getEntry(out[0], out[1], out[2], out[3], out[4], 1149 mweatheridCol_(uInt(whichrow))); 1150 1151 1152 return out; 1153 } 1154 1141 1155 } 1142 1156 //namespace asap
Note: See TracChangeset
for help on using the changeset viewer.