// ENTER CAID, CAMPN, and Analyst WITHIN THE QUOTES IN THE FOLLOWING 2 LINES ...
$caid="961"; // e.g. $caid = "90";
$campn="J"; // e.g. $campn = "D2" or $campn = "Q" or $campn="meta";
$analyst="J Keene, J Morrison, B Wheation"; // e.g. $analyst="D. Kelly";
// YOU CAN SKIP DOWN TO THE OUTCOME SECTION NOW.
include ("IOC_connect.php"); // this line isn't for you
include ("IOC_log_fns.php"); // this line isn't for you
$db = ioc_db_connect();
$query="select * from ioc_tasks where camp_crnt = '$campn' and caid = $caid ";
$result = mysql_query($query);
if (mysql_num_rows($result) < 1) {
echo "
There is a problem w/ your write-up. Check that you have valied entries
for \$CAID and \$Campn in your analysis.php file. If that checks out, then
Contact Stansberry";
return ;
}
// get first matching task
$row = mysql_fetch_array($result);
$title = $row["title"];
$princ = $row["principal"];
$deputy= $row["deputy"];
$campn0 = $row["campn0"];
$aorkeys = $row["aorkeys"];
// get real name of principal, deputies
$princ = ioc_get_person($princ);
$princ = $princ[0];
$deps = explode(",",$deputy);
foreach ($deps as $depty) {
$depty = trim($depty);
$depty = ioc_get_person($depty);
$depty = $depty[0];
$depty = explode(",",$depty);
$depty = $depty[0]; // last names only
$deplist[] = $depty;
}
$deplist = implode(", ", $deplist);
$caid = sprintf("%03d",$caid);
$file = "mips-".$caid.$campn.".analysis.php";
// if more matches, append the AORKEYS from those
$numrows = mysql_num_rows($result);
if ($numrows > 1) {
$aorkeys = " " . $numrows . " Task Executions: ". $aorkeys;
for ($i=0;$i < mysql_num_rows($result); $i++) {
$row = mysql_fetch_array($result);
$morekeys = $row["aorkeys"];
$aorkeys = $aorkeys .'; '.$morekeys;
}
}
// END PHP.
?>
echo "MIPS-$caid, Campaign $campn IOC/SV Analysis"; ?>
if (file_exists("master_header.php")) { include ("master_header.php");} ?>
echo "MIPS-$caid, Campaign $campn IOC/SV Analysis"; ?>
echo "$title \n"; ?>
Principal:
Deputy:
Analyst:
AORKEYS: if (! $aorkeys) {echo "unknown";} else { echo $aorkeys;}?>
Last Updated:
if (file_exists($file)) {echo date("D M d Y, H:i:s", filemtime($file) ) ;} ?>
if (file_exists("analysis_header.php")) { include ("analysis_header.php");} ?>
Task Outcome Summary
- DATA STATUS: Never taken
- TASK OUTCOME: Failure
Abstract
This task executed one short (3s) 70 micron WF photometry AOT for a compact source, purely to check if the frame table updates have been makde correctly and with the correct sign.
This data was not taken because of the solar storm cause the telescope to go into standby-mode before this task could be executed.
Analysis
No data due to solar storm. The telescope when into standby -mode before this task could be excuted.
Results
Conclusions
We had do done a successful 70 WF FPS so we did not have to check the frame table updates were correct (we had not done any).
Output and Deliverable Products
Actions Following Analysis