Skip to content

Commit

Permalink
Merge pull request #40 from lsst/u/lynnej/consdb_tweaks
Browse files Browse the repository at this point in the history
zeropoint in columns, default to altitude if no quicklook
  • Loading branch information
rhiannonlynne authored Nov 9, 2024
2 parents 7a31748 + d08d4ad commit c171188
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nightly/ConsDB_visits_metadata.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"source": [
"# This cell is only for setting example parameter defaults - gets replaced by sidecar.\n",
"day_obs_min = \"2024-10-24\"\n",
"#day_obs_max = \"2024-10-31\"\n",
"day_obs_min = \"2024-11-06\"\n",
"day_obs_max = \"Today\"\n",
"day_obs_max = \"2024-11-06\"\n",
"#instrument = \"latiss\" \n",
"instrument = \"lsstcomcam\""
]
Expand Down Expand Up @@ -366,8 +367,11 @@
" visits['filter'] = visits['band']\n",
" if 'visit_id' in visits.columns:\n",
" visits.drop('visit_id', axis=1, inplace=True)\n",
" \n",
" fig = schedview.plot.plot_visit_param_vs_time(visits, 'psf_sigma_median', show_column_selector=True, hovertool=False)\n",
" visits['zero_point_median'] = visits['zero_point_median'].values.astype(float)\n",
" col = 'psf_sigma_median'\n",
" if len(quicklook) == 0:\n",
" col = 'altitude'\n",
" fig = schedview.plot.plot_visit_param_vs_time(visits, col, show_column_selector=True, hovertool=False)\n",
" bokeh.io.show(fig)\n",
"else:\n",
" print(\"No visits\")"
Expand Down

0 comments on commit c171188

Please sign in to comment.