diff --git a/notebooks_tsqr/NightLog.ipynb b/notebooks_tsqr/NightLog.ipynb index 867fcf0..2ad1213 100644 --- a/notebooks_tsqr/NightLog.ipynb +++ b/notebooks_tsqr/NightLog.ipynb @@ -12,7 +12,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "1", "metadata": {}, "outputs": [], @@ -35,10 +35,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "2", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING: failed to automatically determine site\n" + ] + } + ], "source": [ "import datetime as dt\n", "import os\n", @@ -55,9 +63,7 @@ " print(\n", " 'Installing \"lsst.ts.logging_and_reporting\" from github using \"prototype\" branch....'\n", " )\n", - " print(\n", - " \"TODO: Make the need for this go away by getting Logging_and_Reporting installed in RSP.\"\n", - " )\n", + " print('TODO: Make the need for this go away by getting Logging_and_Reporting installed in RSP.')\n", " !pip install --upgrade git+https://github.com/lsst-ts/ts_logging_and_reporting.git@prototype > /dev/null 2>&1\n", "import lsst.ts.logging_and_reporting.almanac as alm\n", "import lsst.ts.logging_and_reporting.reports as rep\n", @@ -85,7 +91,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "id": "3", "metadata": {}, "outputs": [], @@ -111,13 +117,13 @@ "experimental = dict(\n", " exposure_type_tally=True,\n", " parse_error_in_log=True,\n", - ")" + " )" ] }, { "cell_type": "code", - "execution_count": null, - "id": "4", + "execution_count": 4, + "id": "98ceb081-0dc8-488d-bb59-ff736f095021", "metadata": {}, "outputs": [], "source": [ @@ -135,23 +141,22 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "5", + "execution_count": 5, + "id": "c2b3a188-cb0b-4ca1-910e-889aa5b2090a", "metadata": {}, "outputs": [], "source": [ "# Read records from (almost) all sources\n", - "allsrc = AllSources(\n", - " server_url=server,\n", - " min_dayobs=min_day_obs,\n", - " max_dayobs=max_day_obs,\n", - ")\n", + "allsrc = AllSources(server_url=server,\n", + " min_dayobs=min_day_obs,\n", + " max_dayobs=max_day_obs,\n", + " )\n", "allrep = AllReports(allsrc=allsrc)" ] }, { "cell_type": "markdown", - "id": "6", + "id": "b615b876-f4fb-4d32-a76a-9bcf88f5b935", "metadata": {}, "source": [ "\n", @@ -169,18 +174,33 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "7", - "metadata": {}, - "outputs": [], + "execution_count": 6, + "id": "5b5b0a5f-3498-4078-a572-2a25cc5a000a", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/markdown": [ + "# Showing data for 2024-09-25 to 2024-09-26 for LSSTComCamSim, LSSTComCam, LATISS" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ - "instrum_str = \", \".join(list(allsrc.exp_src.instruments.keys()))\n", - "md(f\"# Showing data for {min_date.date()} to {max_date.date()} for {instrum_str}\")" + "instrum_str = ', '.join(list(allsrc.exp_src.instruments.keys()))\n", + "md(f'# Showing data for {min_date.date()} to {max_date.date()} for {instrum_str}')" ] }, { "cell_type": "markdown", - "id": "8", + "id": "5", "metadata": {}, "source": [ "# Table of Contents\n", @@ -205,7 +225,7 @@ }, { "cell_type": "markdown", - "id": "9", + "id": "13", "metadata": {}, "source": [ "## Night Report " @@ -213,10 +233,220 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "10", + "execution_count": 7, + "id": "14", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "### Telescope: AuxTel" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "```\n", + "Daily checkouts, started at ~10:30 CLT and went well.\n", + "\n", + "UPS failed, it was not charging and ran out of battery a couple of times. We follow AuxTel Recovery after Shutdown procedure, missed one system so checkout failed, issue fixed and checkout passed.\n", + "\n", + "We started venting at ~16:20CLT.\n", + "\n", + "Calibrations skipped.\n", + "\n", + "Observations started 20:37 CLT and finished 01:30 CLT. No issues to report.\n", + "```" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "Telescope Status: ATTCS and LATISS in STANDBY.\n", + "Dome and Telescope at park position." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "*Authors: Bruno Quint, Jacqueline Seron, Paulina Venegas, Yijung Kang*" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "### Telescope: Simonyi" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "```\n", + "Commercial power was back at 15:25. We started the day plans for BLOCK-T151 Simonyi Hexapods Startup around 18:33 pm UTC. Then we warmed up hexapods (BLOCK-T3 and -T4) without an issue. Right after warming up we put hexapods back DISABLED and ran the MTRotator startup block (~19:30 PM UTC). MTRotator start-up, M1M3 opening and closing exercise were proceeded before lunch without any critical issue. \n", + "\n", + "After dinner, we changed MTPtg configuration to proceed Soak Test w/ Rotator and mtmount-ccw-only test (BLOCK-T170). The Scheduler was cycled several times to get some changes from Tiago R. There was no overcurrent (>3.5A) occurring during the soak test. \n", + "\n", + "Around 1:15am, we stopped scheduler and changed the MTPtg setup to monitor both MTRotator and MTMount as requested on the Testcase. Both hexapods and rotator were all move to the origin and set to Standby. PDUs were off (BLOCK-T192 and BLOCK-T162).\n", + "```" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "Telescope Status: Telescope kept leaving at Zenith. MTHexapod1, MTHexapod2, and MTRotator on Standby and PDUs are OFF. MTPtg is set to monitor both MTRotator and MTMount. " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "*Authors: Bruno Quint, Jacqueline Seron, Paulina Venegas, Yijung Kang*" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "```\n", + "Daytime: \n", + "\n", + "Commercial power was back at 15:25. We started the day plans for BLOCK-T151 Simonyi Hexapods Startup around 18:33 pm UTC. Then we warmed up hexapods (BLOCK-T3 and -T4) without an issue. Right after warming up we put hexapods back DISABLED and ran the MTRotator startup block (~19:30 PM UTC). MTRotator start-up, M1M3 opening and closing exercise were proceeded before lunch without any critical issue. \n", + "\n", + "After dinner, we changed MTPtg configuration to proceed Soak Test w/ Rotator and mtmount-ccw-only test (BLOCK-T170). The Scheduler was cycled several times to get some changes from Tiago R. There was no overcurrent (>3.5A) occurring during the soak test.\n", + "```" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "Telescope Status: " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "*Authors: Bruno Quint, Jacqueline Seron, Paulina Venegas, Yijung Kang*" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "```\n", + "Commercial power was back at 15:25. We started the day plans for BLOCK-T151 Simonyi Hexapods Startup around 18:33 pm UTC. Then we warmed up hexapods (BLOCK-T3 and -T4) without an issue. Right after warming up we put hexapods back DISABLED and ran the MTRotator startup block (~19:30 PM UTC). MTRotator start-up, M1M3 opening and closing exercise were proceeded before lunch without any critical issue. \n", + "\n", + "After dinner, we changed MTPtg configuration to proceed Soak Test w/ Rotator and mtmount-ccw-only test (BLOCK-T170). The Scheduler1 was cycled several times to get some changes from Tiago R. There was no overcurrent (>3.5A) occurring during the soak test. \n", + "\n", + "Around 1:15am, we stopped scheduler and changed the MTPtg setup to monitor both MTRotator and MTMount as requested on the testcase. Both hexapods and rotator were all move to the origin and set to Standby. PDUs were off (BLOCK-T192 and BLOCK-T162).\n", + "```" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "Telescope Status: Simonyi telescope is parked at the Zenith. MTHexapod1, MTHexapod2, and MTRotator are on standby, and PDUs are off. MTPtg is set to monitor both MTRotator and MTMount. " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "*Authors: Bruno Quint, Jacqueline Seron, Paulina Venegas, Yijung Kang*" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "-------------" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Night Report\n", "# Display time log\n", @@ -225,7 +455,7 @@ }, { "cell_type": "markdown", - "id": "11", + "id": "10", "metadata": {}, "source": [ "\n", @@ -234,10 +464,107 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "12", + "execution_count": 8, + "id": "11", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "**Almanac for the observing night starting 2024-09-25**" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
(times in UTC)
Moon Rise2024-09-25 06:22:17.988
Moon Set2024-09-25 16:08:11.923
Moon Illumination46%(% illuminated)
Astronomical Twilight (morning)2024-09-25 09:07:53.478(-18 degrees)
Astronomical Twilight (evening)2024-09-25 00:00:53.995(-18 degrees)
Solar Midnight2024-09-25 04:34:25.909
Nautical Twilight (morning)2024-09-25 09:36:06.914(-12 degrees)
Nautical Twilight (evening)2024-09-24 23:32:39.307(-12 degrees)
Civil Twilight (morning)2024-09-25 10:04:03.933(-6 degrees)
Civil Twilight (evening)2024-09-24 23:04:40.798(-6 degrees)
Sun Rise2024-09-25 10:31:52.062
Sun Set2024-09-24 22:36:50.877
\n" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Display various almanac values (for moon, sun)\n", "#!rep.AlmanacReport().day_obs_report(min_day_obs)\n", @@ -246,7 +573,7 @@ }, { "cell_type": "markdown", - "id": "13", + "id": "5d867454-54d5-451f-ba5c-ceca63d3b8dc", "metadata": {}, "source": [ "\n", @@ -255,7 +582,7 @@ }, { "cell_type": "markdown", - "id": "14", + "id": "8eefd976-8e7a-4594-a5da-a4d34454d743", "metadata": {}, "source": [ "(content not yet defined in storyboard)" @@ -263,8 +590,8 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "15", + "execution_count": 9, + "id": "0da82e4e-41fb-4aad-b87c-49009ee48744", "metadata": { "jupyter": { "source_hidden": true @@ -272,22 +599,140 @@ }, "outputs": [], "source": [ - "# Plot Observation (Exposure) gaps\n", - "# rollup,detail = allsrc.get_observation_gaps()\n", - "# allrep.plot_observation_gap_detail(detail)" + "# Plot Observation (Exposure) gaps \n", + "#rollup,detail = allsrc.get_observation_gaps()\n", + "#allrep.plot_observation_gap_detail(detail)" ] }, { "cell_type": "code", - "execution_count": null, - "id": "16", + "execution_count": 10, + "id": "129ca251-9bb9-4074-a6ca-1f133ec1b0dd", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "## Summary Scalars for the night " + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "(of all available instruments that have at least one exposure)" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
LATISS
Total Night (HH:MM:SS)9:06:59
Total Exposure (HH:MM:SS)2:38:31
Number of exposures252
Number of slews46
Total Detector Read (HH:MM:SS)0:09:39
Mean Detector Read (HH:MM:SS)0:00:02
Total Slew (HH:MM:SS)0:33:45
Mean Slew (HH:MM:SS)0:00:44
Total Idle (HH:MM:SS)5:54:41
\n", + "
" + ], + "text/plain": [ + " LATISS\n", + "Total Night (HH:MM:SS) 9:06:59\n", + "Total Exposure (HH:MM:SS) 2:38:31\n", + "Number of exposures 252\n", + "Number of slews 46\n", + "Total Detector Read (HH:MM:SS) 0:09:39\n", + "Mean Detector Read (HH:MM:SS) 0:00:02\n", + "Total Slew (HH:MM:SS) 0:33:45\n", + "Mean Slew (HH:MM:SS) 0:00:44\n", + "Total Idle (HH:MM:SS) 5:54:41" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Exposure Tally\n", "md('')\n", - "md(f\"## Summary Scalars for the night \")\n", - "md(\"(of all available instruments that have at least one exposure)\")\n", + "md(f'## Summary Scalars for the night ')\n", + "md('(of all available instruments that have at least one exposure)')\n", "tally = await allsrc.night_tally_observation_gaps()\n", "if tally:\n", " display(pd.DataFrame(tally))" @@ -295,7 +740,7 @@ }, { "cell_type": "markdown", - "id": "17", + "id": "9c328a86-4012-43d8-b72d-f10050cc9412", "metadata": {}, "source": [ "## Jira Tickets (Observing Operations - OBS)\n", @@ -304,8 +749,8 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "18", + "execution_count": 11, + "id": "afe0f03d-8803-4f28-a7e1-5c8bdcc5760a", "metadata": {}, "outputs": [], "source": [ @@ -316,10 +761,23 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "19", + "execution_count": 12, + "id": "fa3e3788-b8c9-4fcb-91f3-b5bb0f6ef384", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "No tickets found using: [API Data](https://summit-lsp.lsst.codes/nightreport/reports?is_human=either&is_valid=true&min_day_obs=20240925&max_day_obs=20240926&limit=999) in `confluence_url`." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Display Jira BLOCKS\n", "front = \"https://rubinobs.atlassian.net/projects/BLOCK?selectedItem=com.atlassian.plugins.atlassian-connect-plugin:com.kanoah.test-manager__main-project-page#!/\"\n", @@ -332,13 +790,13 @@ " mdstr += f'\\n - [{ticket_url.replace(front,\"\")}]({ticket_url})'\n", " md(mdstr)\n", "else:\n", - " endpoint_url = allsrc.nig_src.status[\"reports\"][\"endpoint_url\"]\n", + " endpoint_url = allsrc.nig_src.status['reports']['endpoint_url']\n", " md(f\"No tickets found using: [API Data]({endpoint_url}) in `confluence_url`.\")" ] }, { "cell_type": "markdown", - "id": "20", + "id": "e3229275-5388-4add-85cb-14d7e9bc2805", "metadata": {}, "source": [ "## BLOCKS observed\n", @@ -347,7 +805,7 @@ }, { "cell_type": "markdown", - "id": "21", + "id": "15", "metadata": {}, "source": [ "## Exposure Log" @@ -355,7 +813,7 @@ }, { "cell_type": "markdown", - "id": "22", + "id": "81d16325-7bd2-4691-9cf7-0ea071c69814", "metadata": {}, "source": [ "### EXPERIMENTAL: Tally exposures with specific values of selected Fields\n", @@ -364,23 +822,463 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "23", - "metadata": {}, - "outputs": [], + "execution_count": 13, + "id": "b77dd17d-4625-4268-a6e6-f387aaf587ec", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/markdown": [ + "#### Tally of values for Field: observation_type" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0
bias4
engtest7
acq65
cwfs10
science166
\n", + "
" + ], + "text/plain": [ + " 0\n", + "bias 4\n", + "engtest 7\n", + "acq 65\n", + "cwfs 10\n", + "science 166" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "#### Tally of values for Field: observation_reason" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0
bias4
engtest7
acquisition8
intra5
extra5
final_infocus3
acq54
object54
x_offset_026
x_offset_-5027
x_offset_5026
x_offset1
imaging32
\n", + "
" + ], + "text/plain": [ + " 0\n", + "bias 4\n", + "engtest 7\n", + "acquisition 8\n", + "intra 5\n", + "extra 5\n", + "final_infocus 3\n", + "acq 54\n", + "object 54\n", + "x_offset_0 26\n", + "x_offset_-50 27\n", + "x_offset_50 26\n", + "x_offset 1\n", + "imaging 32" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "#### Tally of values for Field: target_name" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0
Park position7
DaytimeCheckout0012
DaytimeCheckout0022
HD 1755267
HD18597521
HD16061777
HD281183
HD 2090367
HD2059057
HD 2144057
SMC_0112
SMC_0012
SMC_0122
SMC_0132
SMC_0092
SMC_0142
SMC_0152
SMC_0162
SMC_0022
SMC_0032
SMC_0042
SMC_0052
SMC_0062
SMC_0072
SMC_0082
SMC_0102
\n", + "
" + ], + "text/plain": [ + " 0\n", + "Park position 7\n", + "DaytimeCheckout001 2\n", + "DaytimeCheckout002 2\n", + "HD 175526 7\n", + "HD185975 21\n", + "HD160617 77\n", + "HD2811 83\n", + "HD 209036 7\n", + "HD205905 7\n", + "HD 214405 7\n", + "SMC_011 2\n", + "SMC_001 2\n", + "SMC_012 2\n", + "SMC_013 2\n", + "SMC_009 2\n", + "SMC_014 2\n", + "SMC_015 2\n", + "SMC_016 2\n", + "SMC_002 2\n", + "SMC_003 2\n", + "SMC_004 2\n", + "SMC_005 2\n", + "SMC_006 2\n", + "SMC_007 2\n", + "SMC_008 2\n", + "SMC_010 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "#### Tally of values for Field: science_program" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
0
unknown17
BLOCK-T172
BLOCK-30513
spec-survey188
BLOCK-30632
\n", + "
" + ], + "text/plain": [ + " 0\n", + "unknown 17\n", + "BLOCK-T17 2\n", + "BLOCK-305 13\n", + "spec-survey 188\n", + "BLOCK-306 32" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Exposure Report\n", "# Facet counts\n", - "if experimental.get(\"exposure_type_tally\"):\n", - " counts = uniform_field_counts(allsrc.exp_src.exposures[\"LATISS\"])\n", + "if experimental.get('exposure_type_tally'):\n", + " counts = uniform_field_counts(allsrc.exp_src.exposures['LATISS'])\n", " for fname, tally in counts.items():\n", - " md(f\"#### Tally of values for Field: {fname}\")\n", - " display(pd.DataFrame.from_dict(tally, orient=\"index\"))" + " md(f'#### Tally of values for Field: {fname}')\n", + " display(pd.DataFrame.from_dict(tally, orient='index'))" ] }, { "cell_type": "markdown", - "id": "24", + "id": "5a574862-ded3-4db3-bba5-d9083412459d", "metadata": {}, "source": [ "| Symbol | Meaning |\n", @@ -392,10 +1290,217 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "25", + "execution_count": 14, + "id": "22d13424-dc4c-434a-b414-e3a17d1cbe07", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "### Instrument: LATISS" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000025 : 2024-09-26T00:50:10.749109\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000030 : 2024-09-26T00:50:11.797057\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000031 : 2024-09-26T00:50:11.846362\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000032 : 2024-09-26T00:50:11.896179\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000033 : 2024-09-26T00:50:11.944877\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000038 : 2024-09-26T00:50:11.992354\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000045 : 2024-09-26T00:50:12.041459\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000052 : 2024-09-26T00:50:12.088441\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000053 : 2024-09-26T00:50:12.137201\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000058 : 2024-09-26T00:50:12.189234\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000059 : 2024-09-26T00:50:12.237075\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000065 : 2024-09-26T00:50:12.285017\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000066 : 2024-09-26T00:50:12.331740\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "* AT_O_20240925_000067 : 2024-09-26T00:51:03.066618\n", + " -  ? `High mount motion jitter`" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "-------------" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Time Log\n", "allrep.exp_rep.time_log_as_markdown()" @@ -403,7 +1508,7 @@ }, { "cell_type": "markdown", - "id": "26", + "id": "1f38acef-4ff9-4876-a977-5f97a03c4492", "metadata": {}, "source": [ "## Narrative Log\n", @@ -412,10 +1517,1054 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "27", + "execution_count": 15, + "id": "18", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:02:37.781499**
Salindex 200793\r\n",
+       "\r\n",
+       "\r\n",
+       "Fail the 3er intent, this is a file system issue
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:07:47.736800**
Rotator motion through +/- 5 deg with motion confirmed through Chrono Dashboard and the CCW  dial in TMA EUI \r\n",
+       "\r\n",
+       "\r\n",
+       "\r\n",
+       "\r\n",
+       "Rotator motion --> 10 deg: SUCCESS\r\n",
+       "Rotator motion --> -10 deg: SUCCESS\r\n",
+       "Rotator motion --> 10 deg: SUCCESS\r\n",
+       "Rotator motion --> -10 deg: SUCCESS\r\n",
+       "\r\n",
+       "\r\n",
+       "Because I forgot to move to 0 -- >  SUCCESS\r\n",
+       "Rotator motion --> 10 deg: SUCCESS\r\n",
+       "Rotator motion --> -10 deg: SUCCESS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:09:06.357429**
Rotator back to 0
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:15:43.274896**
Rotator motion through +/- 25 deg with motion confirmed through Chrono Dashboard and the CCW  dial in TMA EUI \r\n",
+       "\r\n",
+       "\r\n",
+       "Rotator motion --> 25 deg: SUCCESS\r\n",
+       "Rotator motion --> -25 deg: SUCCESS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:17:04.991569**
Rotator back at 0
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:24:30.001782**
Rotator motion through +/- 50 deg with motion confirmed through Chrono Dashboard and the CCW  dial in TMA EUI \r\n",
+       "\r\n",
+       "\r\n",
+       "Rotator motion --> 50 deg: SUCCESS\r\n",
+       "Rotator motion --> -50 deg: SUCCESS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:25:05.185777**
Rotator back at 0
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:40:29.712407**
Rotator motion through +/- 75 deg with motion confirmed through Chrono Dashboard and the CCW  dial in TMA EUI \r\n",
+       "\r\n",
+       "\r\n",
+       "Rotator motion --> 75 deg: SUCCESS\r\n",
+       "Rotator motion --> -75 deg: SUCCESS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:30:20.778827**
Rotator back to 0
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 03:20:40.057576**
We solve the issue and continue
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:38:30.833889**
[LIMIT] Rotator motion through +/- 88.8 deg with motion confirmed through Chrono Dashboard and the CCW  dial in TMA EUI \r\n",
+       "\r\n",
+       "\r\n",
+       "Rotator motion --> 88.8 deg: SUCCESS\r\n",
+       "Rotator motion --> -88.8 deg: SUCCESS\r\n",
+       " \r\n",
+       "Rotator motion --> -89.5 deg: SUCCESS\r\n",
+       "Rotator motion --> 88.8 deg: SUCCESS\r\n",
+       "Rotator motion --> 89.5 deg: SUCCESS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:41:03.913607**
Rotator back to 0
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:49:04.816044**
MTMount DISABLED and MTRotator in STANDBY
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:57:50.922835**
M1M3 cover exercises done
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 00:58:57.298907**
MTMount back to DISABLED
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 01:54:11.740348**
Both hexapods zero-ed, and in STANDBY
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 02:00:41.277794**
PXIs and cabinets of both hexapods switched off
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 03:39:46.975210**
ATPtg went to fault, azimuth out of range\r\n",
+       "Salindex 200890
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 03:43:49.131964**
We send ATPtg to enable and continue.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 05:19:19.979973**
adding scheduler/stop.py to the bottom of the list
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 05:31:10.509012**
sending shutdown script
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 13:15:03.690457**
Day crew arriving in the control room - Bruno Quint and Jacqueline Seron
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 13:28:48.964191**
AuxTel Checkouts starting
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 13:50:14.599266**
Checkout finished successfully
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 15:36:30.422198**
Several alarms is CSC. Probably due to a connexion issue\r\n",
+       "AuxTel components: ATMCS, ATAOS, ATPneumatics, ATCamera, ATSpoectrograph, \r\n",
+       "FiberSpectrograph in Standby\r\n",
+       "\r\n",
+       "\r\n",
+       "Environment: ESS.201, ESS.203, ESS.204, ESS.205, EPM.301
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:24:07.291725**
Something weird is happening at the summit. I am putting the faulty CSCs into STANDBY.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:21:13.074630**
Cannot transition ATMCS - The script complains saying that cannot get summary state from it. Sal index 201021
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:21:47.070044**
We cannot recover the CSCs\r\n",
+       "\r\n",
+       "\r\n",
+       "14:18:15 TAI   SALindex 201019 Timeout error in ATMCS
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:21:59.095715**
Tiago says that we might have lost connection to the calibration hill.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:23:25.844688**
I tried again removing ATMCS. No success - Sal index 201022
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:26:26.652666**
ATMTCS, ATCamera, and ATPneumatics will remain in fault for now since we cannot change their state.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 14:33:18.936053**
Some components without heartbeats :  ATMCS, ATPneumatics and FiberSpectrograph,. \r\n",
+       "ATMCS is enabled, ATAOS and ATSpectrograph is Standby
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:01:08.444120**
Electronic team check the system, UPS was not charging and run out of batteries, loosing energy to the system. \r\n",
+       "They left it changing, but it failed again.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 15:40:26.151343**
MTM2 went to FAULT, error 6051, 15:57 TAI,.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 15:41:46.477025**
MTM2 is back to ENABLED state.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:03:34.910762**
We recover the system. \r\n",
+       "About tu start checkouts
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:22:28.387993**
We are now completing the recovery of LATISS. \r\n",
+       "We took an image with HVBias off. Looks ugly but consistent with documentation.\r\n",
+       "LATISS is now in Standby. \r\n",
+       "Powering on HVBias.\r\n",
+       "Image bias look fine so we are proceeding with daytime checkouts.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:29:40.343094**
Start from the BLOCK-T151 Simonyi Hexapods Startup
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:29:42.334803**
When trying to run the daytime checkouts, ATMCS did not want to go to ENABLED state. The traceback said something like: \r\n",
+       "\r\n",
+       "\r\n",
+       "``` ... mount_fault_state_procedure.vi ```\r\n",
+       "\r\n",
+       "\r\n",
+       "I suspected that there was a hanging port in the lavview eui. So, we pressed and held the blue button in the at control cabinet for 30 seconds. That was sufficient to recover without having to access the ATMCS machine.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:30:26.500957**
ATAOS went to a fault during running check pneumatics. \r\n",
+       "sal script 201043
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:30:47.286201**
Since it seemed to have faulted due to a timeout, we will recover and try again.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:32:36.209485**
Running checkout atpneumatics again. \r\n",
+       "it faulted again.\r\n",
+       "It says: `Correction loop died.` and timeout. What should we do? Looking for help.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:35:03.114154**
Just for the record, the CSC that faulted is ATAOS, not ATPneumatics.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:41:22.601678**
It seems that we did not run the recovery procedure for athexapod. \r\n",
+       "Let's do it now.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:41:52.152535**
We are following this page:\r\n",
+       "https://obs-ops.lsst.io/AuxTel/Non-Standard-Operations/Recovery-after-Shutdown/Recovery-after-Shutdown.html
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:50:58.895070**
Turning on the Caminets for the hexapods.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:44:31.047103**
Following the procedure, we powered off the hexapod controller, waited for a minute and powered it back up again. \r\n",
+       "Now let's try to enable the athexapod again
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:46:25.630186**
Alright ATHexapod and ATAOS enabled. \r\n",
+       "Trying atpneumaticscheckout again.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:48:37.007289**
alright, all good
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:54:13.023157**
telescope_and_dome_checkout.py (201058) faulted. \r\n",
+       "The traceback says timeout when trying to slew the dome. \r\n",
+       "We will try again with no changes
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:57:08.606818**
Enable MTHexpod CSCs.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 18:59:13.638182**
telescope_and_dome_checkout (201059) failed again. \r\n",
+       "Same error. We will cycle ATDome and see if that has any impact.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:01:50.954392**
@stubbs we’ve just enabled the hexapod and will start warming them up. You’ll see the telemetry there.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:03:48.989387**
Trying telescope_and_dome_checkout (201063) again.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:05:28.259190**
It seems promising...
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:07:07.411476**
It passed! We are good! So state cycling the ATDome helped to make things work.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:07:16.069006**
Day time checkouts are done
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:11:01.414959**
Oh, no! There was one last step. We are now running: slew_and_take_image_checkout.py
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:17:53.321377**
Checkout passed
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:21:25.816463**
Complete the warms up.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:30:52.761069**
Starting up the MTRotator.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:35:59.288307**
Turning on the Cabinet.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:40:30.112565**
Enable scheduler with config: maintel_fbs_sit_block_t170.yaml
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:43:22.773054**
Enabling failed. David S. is checking.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 19:50:00.834526**
Venting in progress
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:21:09.083625**
Rotator IS deactivated from GUI.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:21:22.953789**
Enable MTRotator.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:23:26.381973**
T161 was done.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:23:45.245382**
BLOCK-T153 (2.0) Simonyi - Opening M1M3 Mirror Covers will run.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 20:29:52.658423**
Block-T153 is done. Block-T152, closing M1M3 cover is running.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 21:48:20.113921**
MTMount was on fault with CCW fault. Will recover them.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 21:55:43.894751**
CCW was fault around 21:13:54.203 25/09/24 UTC.\r\n",
+       "Error -2147138393 occurred at ??? in CCW_Task.lvlib:EventTaskActions.vi:4980002->CCW_Task.lvlib:EventTask.vi:360001->CCW_Task.lvlib:Task.vi->CCW_Task.lvlib:Task.vi.ACBRProxyCaller.D300083<PARSED_NL><PARSED_NL>Possible reason(s):<PARSED_NL><PARSED_NL>NI-Industrial Communications for EtherCAT:  Network communication fails. Ensure that all devices are connected to the real-time controller and the devices are powered on. If the problem persists, try to increase the EtherCAT Cyclic Bandwidth percentage on the master property page or increase the scan period of the NI Scan Engine to increase the time for cyclic telegrams.<PARSED_NL>=========================<PARSED_NL>Custom:  ISSUE IN VARIABLE \"ni.var.psp://localhost/Distributed IO and Aux Drives EtherCAT Master/TMA-EL-CS-CBT-0101-220A1/TMA-EL-CS-CBT-0101-220A10/diELCB101_CCW_LUB1level\"
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 21:58:10.459016**
Clear CCW fault, MTMount MTRotator recovered.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 22:21:19.129314**
BLOCK-T170 (1.0)  Soak Test w/ Rotator and mtmount-ccw-only
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 22:45:03.273770**
CCW fault, then MTMount fault again. \r\n",
+       "22:41:40.575 25/09/24\r\n",
+       "Error -2147138393 occurred at ??? in CCW_Task.lvlib:EventTaskActions.vi:4980002->CCW_Task.lvlib:EventTask.vi:360001->CCW_Task.lvlib:Task.vi->CCW_Task.lvlib:Task.vi.ACBRProxyCaller.D300083<PARSED_NL><PARSED_NL>Possible reason(s):<PARSED_NL><PARSED_NL>NI-Industrial Communications for EtherCAT:  Network communication fails. Ensure that all devices are connected to the real-time controller and the devices are powered on. If the problem persists, try to increase the EtherCAT Cyclic Bandwidth percentage on the master property page or increase the scan period of the NI Scan Engine to increase the time for cyclic telegrams.<PARSED_NL>=========================<PARSED_NL>Custom:  ISSUE IN VARIABLE \"ni.var.psp://localhost/Distributed IO and Aux Drives EtherCAT Master/TMA-EL-CS-CBT-0101-220A1/TMA-EL-CS-CBT-0101-220A10/diELCB101_CCW_LUB1level\"
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 22:47:35.085157**
MTRotator was fault too.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 22:51:52.132772**
Resume the running BLOCK-T170.
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 23:02:07.968464**
Tiago R. mentioned: I think there's an issue with the Scheduler configuration, I am investigating.. you can leave it running for now but I think we will need to restart it
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 23:13:09.945523**
AuxTel is ready to go on sky
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "- **2024-09-25 23:42:30.219957**
Observations started
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/markdown": [ + "-------------" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Narrative Report\n", "# Time Log\n", @@ -424,7 +2573,7 @@ }, { "cell_type": "markdown", - "id": "28", + "id": "19", "metadata": {}, "source": [ "\n", @@ -436,7 +2585,7 @@ }, { "cell_type": "markdown", - "id": "29", + "id": "3ef29e67-25e7-4255-9d70-f4c6e72eff70", "metadata": {}, "source": [ "## Experimental " @@ -444,10 +2593,27 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "30", - "metadata": {}, - "outputs": [], + "execution_count": 15, + "id": "50df2eeb-2930-4949-99c6-c5e272707c1b", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "99793c605681415fa2db71ea6335599d", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "interactive(children=(Checkbox(value=False, description='show_records'), Output()), _dom_classes=('widget-inte…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "from ipywidgets import interact, interactive, fixed, interact_manual\n", "import ipywidgets as widgets\n", @@ -455,20 +2621,45 @@ "\n", "records = [dict(a=i, b=i, c=i, d=i, e=i) for i in range(100)]\n", "\n", - "\n", "def records_toggle(show_records):\n", " if show_records:\n", - " return pd.DataFrame(records)\n", + " return(pd.DataFrame(records))\n", " else:\n", - " return print(f\"Number of records: {len(records)}\")\n", - "\n", - "\n", + " return print(f'Number of records: {len(records)}')\n", "interact(records_toggle, show_records=False);" ] }, + { + "cell_type": "code", + "execution_count": 16, + "id": "48dfa8ce-dbc9-40f1-b176-8acd9ab6d199", + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "92a66a55ee2b4e8b85e4fdfbc34a4198", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "interactive(children=(Checkbox(value=True, description='x'), Output()), _dom_classes=('widget-interact',))" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "def f(x):\n", + " return x\n", + "\n", + "interact(f, x=True);" + ] + }, { "cell_type": "markdown", - "id": "31", + "id": "79dc2219-58c5-44ed-8386-c982c1a3749a", "metadata": {}, "source": [ "## Overview \n" @@ -476,10 +2667,30 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "32", - "metadata": {}, - "outputs": [], + "execution_count": 16, + "id": "f2c2bcfe-d348-476c-b7e5-48813038cbc6", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/markdown": [ + "## Project-Wide Night(s) Report \n", + "- Run on logs and databases from **https://summit-lsp.lsst.codes/**\n", + "- Report **1 observing night(s)** with the last reported night starting on **2024-09-25 12:00:00**.\n", + "- min_dayobs='2024-09-25', max_dayobs='2024-09-26'\n", + "- Using ***Prototype* Logging and Reporting** Version: **0.1.dev145+gf2a5765.d20241014**\n", + "- have_consdb = True\n" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "# Display overview of Report context\n", "md(\n", @@ -495,7 +2706,7 @@ }, { "cell_type": "markdown", - "id": "33", + "id": "651f6b1b-c2dc-417f-8c3e-601de6ff38d6", "metadata": {}, "source": [ "## This report uses the following data sources\n", @@ -510,7 +2721,7 @@ }, { "cell_type": "markdown", - "id": "34", + "id": "407025be-a333-4fba-9f5f-b01bb45614d3", "metadata": {}, "source": [ "## DDV " @@ -518,14 +2729,27 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "35", + "execution_count": 17, + "id": "9", "metadata": { "jupyter": { "source_hidden": true } }, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "Access DDV part of RubinTV: https://summit-lsp.lsst.codes/rubintv-dev/ddv/index.html" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "DDV = (\n", " f\"{server}/rubintv-dev/ddv/index.html\"\n", @@ -537,7 +2761,7 @@ }, { "cell_type": "markdown", - "id": "36", + "id": "20", "metadata": {}, "source": [ "## Where was this run?\n", @@ -552,7 +2776,7 @@ }, { "cell_type": "markdown", - "id": "37", + "id": "b0ec5b9f-9341-45ed-832e-8ae281983946", "metadata": {}, "source": [ "## Section overviews moved here" @@ -560,14 +2784,132 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "38", + "execution_count": 18, + "id": "bf6f02a6-14a6-4268-ac45-92a410801114", "metadata": { "jupyter": { "source_hidden": true } }, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "### Overview for Service: `nightreport` [4]" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n" + ] + }, + { + "data": { + "text/markdown": [ + "- Endpoint: https://summit-lsp.lsst.codes/nightreport/reports?is_human=either&is_valid=true&min_day_obs=20240925&max_day_obs=20240926&limit=999" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n", + "- Got 4 records. \n" + ] + }, + { + "data": { + "text/markdown": [ + "### Overview for Service: `exposurelog` [14]" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n" + ] + }, + { + "data": { + "text/markdown": [ + "- Endpoint: https://summit-lsp.lsst.codes/exposurelog/messages?is_human=either&is_valid=true&order_by=-date_added&min_day_obs=20240925&max_day_obs=20240926&limit=999" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n", + "- Got 14 records. \n" + ] + }, + { + "data": { + "text/markdown": [ + "### Overview for Service: `narrativelog` [80]" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n" + ] + }, + { + "data": { + "text/markdown": [ + "- Endpoint: https://summit-lsp.lsst.codes/narrativelog/messages?is_human=either&is_valid=true&order_by=-date_begin&min_date_added=2024-09-25T00%3A00%3A00&max_date_added=2024-09-26T00%3A00%3A00&limit=999" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "None\n", + "- Got 80 records. \n" + ] + } + ], "source": [ "# Night Report Overview\n", "allrep.nig_rep.overview()\n", @@ -579,8 +2921,8 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "39", + "execution_count": 19, + "id": "21", "metadata": {}, "outputs": [], "source": [ @@ -593,7 +2935,7 @@ }, { "cell_type": "markdown", - "id": "40", + "id": "22", "metadata": {}, "source": [ "## Finale" @@ -601,14 +2943,22 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "41", + "execution_count": 20, + "id": "23", "metadata": { "jupyter": { "source_hidden": true } }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Finished 2024-10-18 11:32:18.426770\n" + ] + } + ], "source": [ "print(f\"Finished {str(dt.datetime.now())}\")" ]