Changeset 19583 for trunk/FACT++
- Timestamp:
- 09/01/19 11:21:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/scheduler.cc
r19555 r19583 751 751 } 752 752 753 // `Reschedule`: Start time before end time of ToO (type==data) 754 // `Following`: Start time after end time of ToO (type==any) 755 // `Delete`: Start time between start and end time of ToO (type==data) 756 753 757 vector<string> list; 754 758 755 int32_t firstdata = -1; 756 int32_t reschedule = -1; 757 int32_t following = -1; 758 int32_t last_resch = -1; 759 int32_t firstdata = -1; // First observation with type==data 760 int32_t reschedule = -1; // Last observation with: Start time before end time of ToO (type==data) 761 int32_t following = -1; // First observation with: Start time after end time of ToO (type==any) 762 int32_t last_resch = -1; // Last observation with: Start time before end time of ToO (type=data) and start time not between start and end time of ToO (type==any) 759 763 for (size_t i=0; i<resS.num_rows(); i++) 760 764 { … … 1103 1107 const CheckVisibility check(conditions, grb.ra, grb.dec); 1104 1108 1105 Info("Sun altitude: "+Tools::Form("%5.1f\u00b0 ", check.solarobj.fSunHrz.alt)+(check.valid_sun?"OK ":"failed")+Tools::Form(" [alt < %5.1f\u00b0]", conditions[kSunMax]));1109 Info("Sun altitude: "+Tools::Form("%5.1f\u00b0 ", check.solarobj.fSunHrz.alt)+(check.valid_sun?"OK ":"failed")+Tools::Form(" [alt < %5.1f\u00b0]", conditions[kSunMax])); 1106 1110 if (check.valid_sun) 1107 1111 { 1108 Info("Moon distance: "+Tools::Form("%5.1f\u00b0 ", check.moon_dist) +(check.valid_moon ?"OK ":"failed")+Tools::Form(" [%5.1f\u00b0 < d < %5.1f\u00b0]", conditions[kMoonMin], conditions[kMoonMax]));1109 Info("Zenith angle: "+Tools::Form("%5.1f\u00b0 ", check.position.zd)+(check.valid_zd ?"OK ":"failed")+Tools::Form(" [zd < %5.1f\u00b0]", conditions[kZenithMax]));1110 Info("Current: "+Tools::Form("%5.1f\u00b5A ", check.current) +(check.valid_current?"OK ":"failed")+Tools::Form(" [I < %5.1f\u00b5A]", conditions[kCurrentMax]));1112 Info("Moon distance: "+Tools::Form("%5.1f\u00b0 ", check.moon_dist) +(check.valid_moon ?"OK ":"failed")+Tools::Form(" [%5.1f\u00b0 < d < %5.1f\u00b0]", conditions[kMoonMin], conditions[kMoonMax])); 1113 Info("Zenith angle: "+Tools::Form("%5.1f\u00b0 ", check.position.zd)+(check.valid_zd ?"OK ":"failed")+Tools::Form(" [zd < %5.1f\u00b0]", conditions[kZenithMax])); 1114 Info("Current: "+Tools::Form("%5.1f\u00b5A ", check.current) +(check.valid_current?"OK ":"failed")+Tools::Form(" [I < %5.1f\u00b5A]", conditions[kCurrentMax])); 1111 1115 //Info(string("Rel. threshold: ")+(check.valid_threshold?"OK ":"failed")+" ["+Tools::Form("%5.1f", check.threshold)+"]"); 1112 1116 }
Note:
See TracChangeset
for help on using the changeset viewer.