Changeset 717 for trunk/src/SDReader.cc


Ignore:
Timestamp:
11/17/05 14:37:54 (19 years ago)
Author:
mar637
Message:

implemented use of SDLog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDReader.cc

    r570 r717  
    8989
    9090void SDReader::close() {
    91   cerr << "disabled" << endl;
     91  //cerr << "disabled" << endl;
    9292}
    9393
     
    125125  // Get basic parameters.
    126126  if (haveXPol_) {
    127     cout << "Cross polarization present" << endl;
     127    pushLog("Cross polarization present");
    128128    nPol_ += 2;                          // Convert Complex -> 2 Floats
    129129  }
     
    150150  if ((header_->obstype).matches("*SW*")) {
    151151    // need robust way here - probably read ahead of next timestamp
    152     cout << "Header indicates frequency switched observation.\n"
    153       "setting # of IFs = 1 " << endl;
     152    pushLog("Header indicates frequency switched observation.\n"
     153               "setting # of IFs = 1 ");
    154154    nIF_ = 1;
    155155  }
     
    259259          // EOF.
    260260          if (row > 0 && row < stepsize-1)
    261             cerr << "incomplete scan data.\n Probably means not all Beams/IFs/Pols within a scan are present." << endl;
     261            pushLog("incomplete scan data.\n Probably means not all Beams/IFs/Pols within a scan are present.");
    262262
    263263          // flush frequency table
Note: See TracChangeset for help on using the changeset viewer.