Changeset 15396 for trunk/Mars


Ignore:
Timestamp:
04/21/13 01:41:59 (12 years ago)
Author:
Daniela Dorner
Message:
adapted query to allow for plots even when the ontime is not yet inserted in the DB
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/lightcurve.C

    r15395 r15396  
    6969    query+=Form(" WHERE fSourceKey=%d", sourcekey);
    7070    query+=Form(" AND fNight BETWEEN %s AND %s ", nightstart.Data(), nightstop.Data());
    71     query+=" AND NOT ISNULL(fOnTime) ";//to be checked why sometimes NULL
     71    //query+=" AND NOT ISNULL(fOnTime) ";//at the moment filled at ISDC
    7272    query+=" GROUP BY fNight ";
    7373    query+=" ORDER BY fNight ";
     
    129129        query+=Form(" WHERE fSourceKey=%d", sourcekey);
    130130        query+=Form(" AND fNight= %s ", (*row3)[0]);
    131         query+=" AND NOT ISNULL(fOnTime) ";//to be checked why sometimes NULL
     131        //query+=" AND NOT ISNULL(fOnTime) ";//at the moment filled at isdc
    132132        query+=" ORDER BY fRunId ";
    133133
Note: See TracChangeset for help on using the changeset viewer.