Changeset 14948 for trunk/FACT++/src
- Timestamp:
- 02/23/13 10:57:43 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersMagicLidar.h
r14868 r14948 24 24 float fPBL; 25 25 26 float fT3; 27 float fT6; 28 float fT9; 29 float fT12; 30 26 31 } __attribute__((__packed__)); 27 32 } -
trunk/FACT++/src/magiclidar.cc
r14868 r14948 114 114 if (line.substr(0, 3)=="ZEN") 115 115 data.fZd = stoi(line.substr(3)); 116 117 116 if (line.substr(0, 2)=="AZ") 118 117 data.fAz = stof(line.substr(2)); … … 120 119 if (line.substr(0, 3)=="PBL") 121 120 data.fPBL = stof(line.substr(3)); 122 123 121 if (line.substr(0, 3)=="CHE") 124 122 data.fCHE = stof(line.substr(3)); 125 126 123 if (line.substr(0, 3)=="COT") 127 124 data.fCOT = stof(line.substr(3)); 128 125 126 if (line.substr(0, 2)=="T3") 127 data.fT3 = stof(line.substr(2)); 128 if (line.substr(0, 2)=="T6") 129 data.fT6 = stof(line.substr(2)); 130 if (line.substr(0, 2)=="T9") 131 data.fT9 = stof(line.substr(2)); 132 if (line.substr(0, 3)=="T12") 133 data.fT12 = stof(line.substr(3)); 134 129 135 if (line.substr(0, 4)=="HOUR") 130 136 hh = stoi(line.substr(4)); 131 132 137 if (line.substr(0, 6)=="MINUTS") 133 138 mm = stoi(line.substr(6)); 134 135 139 if (line.substr(0, 7)=="SECONDS") 136 140 ss = stoi(line.substr(7)); … … 138 142 if (line.substr(0, 4)=="YEAR") 139 143 y = stoi(line.substr(4)); 140 141 144 if (line.substr(0, 5)=="MONTH") 142 145 m = stoi(line.substr(5)); 143 144 146 if (line.substr(0, 3)=="DAY") 145 147 d = stoi(line.substr(3)); … … 161 163 << " CHE=" << data.fCHE 162 164 << " COT=" << data.fCOT 165 << " T3-12=" << data.fT3 166 << "/" << data.fT6 167 << "/" << data.fT9 168 << "/" << data.fT12 163 169 << " Zd=" << data.fZd << "°" 164 170 << " Az=" << data.fAz << "°"; … … 313 319 ConnectionDimLidar(ba::io_service& ioservice, MessageImp &imp) : 314 320 ConnectionLidar(ioservice, imp), 315 fDimLidar("MAGIC_LIDAR/DATA", "F:1;F:1;F:1;F:1;F:1", 316 "|Zd[deg]:Pointing direction zenith distance" 317 "|Az[deg]:Pointing direction azimuth" 318 "|CHE[km]:Cloud height" 319 "|COT[1]:Cloud optical transparency at 532nm" 320 "|PBL[100]:Planetary boundary layer normalized to 100 for clear nights") 321 fDimLidar("MAGIC_LIDAR/DATA", "F:1;F:1;F:1;F:1;F:1;F:1;F:1;F:1;F:1", 322 "|Zd[deg]:Pointing direction zenith distance" 323 "|Az[deg]:Pointing direction azimuth" 324 "|CHE[km]:Cloud height" 325 "|COT[1]:Cloud optical transparency at 532nm" 326 "|PBL[100]:Planetary boundary layer normalized to 100 for clear nights" 327 "|T3:" 328 "|T6:" 329 "|T9:" 330 "|T12:") 321 331 { 322 332 }
Note:
See TracChangeset
for help on using the changeset viewer.