Changeset 18946 for trunk/Mars/fact
- Timestamp:
- 02/09/18 23:10:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/processing/magicweather.C
r18943 r18946 17 17 18 18 UInt_t offset = file.GetUInt("MJDREF"); 19 //cout << "offset: " << offset << endl;20 19 if (beg < 30000) 21 20 beg+=offset; … … 49 48 { 50 49 time += offset; 51 //cout << time << " " << temp << endl;52 50 53 51 if (time>end) … … 96 94 if (cnt==0) 97 95 { 98 if (diff>5./24/3600) 96 //only give output if values within 45 sec before/after are available 97 // weather reports come every ~30 sec 98 if (diff<0 || diff>45./24/3600) 99 99 return; 100 100 101 //only give output if values within 5 min before/after are available102 101 cout << "result " << last_t << " 0 " << last_h << " 0 " 103 102 << last_p << " 0 " << last_d << " 0 "
Note:
See TracChangeset
for help on using the changeset viewer.