Changeset 12775


Ignore:
Timestamp:
01/27/12 08:41:33 (13 years ago)
Author:
tbretz
Message:
Print a warning if MJDREF is missing; call SetReadyToSave when data was retrieved.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mreport/MReportFitsRead.cc

    r12741 r12775  
    115115    fMjdRef = fIn->HasKey("MJDREF") ? fIn->GetUInt("MJDREF") : 0;
    116116
     117    if (!fIn->HasKey("MJDREF"))
     118        *fLog << warn << "MJDREF header key missing... assuming MJDREF==0" << endl;
     119
    117120    return
    118121        fIn->SetRefAddress("QoS",  fBufQos)  &&
     
    142145
    143146    time.SetMjd(fBufTime+fMjdRef);
     147    time.SetReadyToSave();
    144148
    145149    // return -1: This is the special case: out of time limit
     
    150154
    151155    const Int_t rc = fReport->InterpreteFits(*fIn);
     156
    152157
    153158    /*
Note: See TracChangeset for help on using the changeset viewer.