Ignore:
Timestamp:
02/23/13 10:57:43 (12 years ago)
Author:
tbretz
Message:
Added T3, T6, T9, T12 (preliminary)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/magiclidar.cc

    r14868 r14948  
    114114                if (line.substr(0, 3)=="ZEN")
    115115                    data.fZd = stoi(line.substr(3));
    116 
    117116                if (line.substr(0, 2)=="AZ")
    118117                    data.fAz = stof(line.substr(2));
     
    120119                if (line.substr(0, 3)=="PBL")
    121120                    data.fPBL = stof(line.substr(3));
    122 
    123121                if (line.substr(0, 3)=="CHE")
    124122                    data.fCHE = stof(line.substr(3));
    125 
    126123                if (line.substr(0, 3)=="COT")
    127124                    data.fCOT = stof(line.substr(3));
    128125
     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
    129135                if (line.substr(0, 4)=="HOUR")
    130136                    hh = stoi(line.substr(4));
    131 
    132137                if (line.substr(0, 6)=="MINUTS")
    133138                    mm = stoi(line.substr(6));
    134 
    135139                if (line.substr(0, 7)=="SECONDS")
    136140                    ss = stoi(line.substr(7));
     
    138142                if (line.substr(0, 4)=="YEAR")
    139143                    y = stoi(line.substr(4));
    140 
    141144                if (line.substr(0, 5)=="MONTH")
    142145                    m = stoi(line.substr(5));
    143 
    144146                if (line.substr(0, 3)=="DAY")
    145147                    d = stoi(line.substr(3));
     
    161163                << " CHE=" << data.fCHE
    162164                << " COT=" << data.fCOT
     165                << " T3-12=" << data.fT3
     166                << "/" << data.fT6
     167                << "/" << data.fT9
     168                << "/" << data.fT12
    163169                << " Zd="  << data.fZd  << "°"
    164170                << " Az="  << data.fAz  << "°";
     
    313319    ConnectionDimLidar(ba::io_service& ioservice, MessageImp &imp) :
    314320        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:")
    321331    {
    322332    }
Note: See TracChangeset for help on using the changeset viewer.