// ENTER CAID, CAMPN, and Analyst WITHIN THE QUOTES IN THE FOLLOWING 2 LINES ...
$caid="924"; // e.g. $caid = "90";
$campn="I"; // e.g. $campn = "D2" or $campn = "Q" or $campn="meta";
$analyst="C. Engelbracht"; // 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: Anomalous
- TASK OUTCOME: Failure
Abstract
This is the routine 160µm flux calibration with a stellar source.
The target was HD 131873. The data were obtained as expected, but I have
flagged them as "anomalous" and the task outcome as "failure" because the
bias and stim DAC settings were far from optimized. As a result, no
160µm calibration data exist for this campaign, preventing these data
from being used for flux calibration.
Analysis
The detector settings were not suitable for proper reduction or production
of calibration files, so no analysis has been performed on these data.
Results
Conclusions
Output and Deliverable Products
none
Actions Following Analysis