From cc4ef428e5c20274776a698acd00927af0d096a8 Mon Sep 17 00:00:00 2001
From: MelissaGraham 101. LSSTCam visits database
For the Rubin Science Platform at data.lsst.cloud.
-Container Size: Large
-LSST Science Pipelines version: v29.2.0
-Last verified to run: 2025-11-12
-Repository: github.com/lsst/tutorial-notebooks
-DOI: 10.11578/rubin/dc.20250909.20
For the Rubin Science Platform at data.lsst.cloud.
+Container Size: Large
+LSST Science Pipelines version: v29.2.0
+Last verified to run: 2026-01-28
+Repository: github.com/lsst/tutorial-notebooks
+DOI: 10.11578/rubin/dc.20250909.20
Recreate the table above, but for the SV DDF, and include all field (do not restrict to fields with >50 visits).
+Recreate the two tables above, but for the SV DDF, and include all fields (do not restrict to fields with >50 visits).
observation_reason u g r i z y all +-------------------- --- --- --- --- --- --- ----- +ddf_xmm_lss 30 0 0 0 0 0 30 +ddf_edfs_a 0 20 21 28 18 0 87 +ddf_edfs_b 0 24 21 29 18 0 92 +ddf_ecdfs 0 36 39 41 44 0 160 +ddf_elaiss1 39 101 103 168 112 16 539 ++
query = "observation_reason.str.contains('ddf')"
df_ddf = df.query(query).groupby(['observation_reason']).agg({'seq_num': 'count',
'seeingFwhmEff': 'median',
'airmass': 'mean',
@@ -11642,7 +11685,7 @@ 5. MAF sky map
bundle = maf.MetricBundle(metric, slicer, constraint, run_name=run_name)
@@ -11775,7 +11818,7 @@ 5. MAF sky map
plot_dict = {'color_min': 10, 'color_max': 100,
@@ -11871,6 +11914,84 @@ 5. MAF sky map
+
+
+
+
+
+5.1. Sky map for DDFs only¶
Create a sky map for only the DDFs, which will be where alert production will start in early 2026.
+
+
+
+
constraint = "observation_reason like \'%ddf%\'"
+bundle = maf.MetricBundle(metric, slicer, constraint, run_name=run_name)
+group = maf.MetricBundleGroup({'nvisits': bundle},
+ opsim_fname, out_dir=output_path)
+group.run_all()
+ph = maf.PlotHandler(savefig=False, fig_format='png', thumbnail=False, dpi=270)
+ph.set_metric_bundles([bundle])
+ph.plot(plot_func=maf.plots.HealpixSkyMap(),
+ plot_dicts={'color_min': 20, 'color_max': 100, 'figsize': (6, 4),
+ 'labelsize': 'x-large', 'fontsize': 'x-large', 'extend': 'max',
+ 'title': 'Deep Drilling Field LSSTCam Visits as of 2025-09-30'})
+plt.figtext(0.40, 0.62, 'XMM LSS', fontsize='large', fontweight='bold', color='white')
+plt.figtext(0.36, 0.50, 'ECDFS', fontsize='large', fontweight='bold', color='white')
+plt.figtext(0.36, 0.33, 'EDFS', fontsize='large', fontweight='bold', color='white')
+plt.figtext(0.47, 0.43, 'ELAIS-S1', fontsize='large', fontweight='bold', color='white')
+plt.show()
+++Figure 7: The locations of the four Deep Drilling Fields (DDFs), with their names labeled. See Figure 1 for the field central coordinates.
+
For the Rubin Science Platform at data.lsst.cloud.
-Container Size: Large
-LSST Science Pipelines version: v29.2.0
-Last verified to run: 2025-12-04
-Repository: github.com/lsst/tutorial-notebooks
-DOI: 10.11578/rubin/dc.20250909.20
For the Rubin Science Platform at data.lsst.cloud.
+Container Size: Large
+LSST Science Pipelines version: v29.2.0
+Last verified to run: 2025-01-28
+Repository: github.com/lsst/tutorial-notebooks
+DOI: 10.11578/rubin/dc.20250909.20
The ObsLocTAP data model (table schema) for the scheduled observations is defined in the ivoa.obsplan table -- Observation Locator
Table Access Protocol Version 1.0
The database contains 28 columns in total, but these are the key columns used in this tutorial.
+The database contains 28 columns in total, and these are the key columns.
t_planning : Time (MJD) when this observation has been added or modified into the planning log.target_name : The name of the astronomical object observed, if any.obs_id : The observation ID from the Camera.s_ra : The Right Ascension of the visit or planned observation (degrees).s_dec : The Declination of the visit or planned observation (degrees).s_fov : The diameter (bounds) of the covered region.s_region : Sky region covered by the data product (expressed in ICRS frame).s_resolution : The spatial resolution of the data expressed as FWHM.t_min : The start time (MJD).t_max : The stop time (MJD).t_exptime : The total exposure time = t_max - t_min.t_resolution : Temporal resolution.facility_name : Name of the facility used for this observation e.g Rubin Simonyi, AuxTel.instrument_name : Name of the instrument used for this observation e.g LSSTCam, LSSTComCam.t_plan_exptime : The planned or scheduled exposure time.s_ra : The Right Ascension of the visit or planned observation (deg).s_dec : The Declination of the visit or planned observation (deg).em_min : The filter minimum wavelength (m).em_max : The filter maximum wavelength (m).target_name : The name of the astronomical object observed, if any.tracking_type : One of the following values: Sidereal, Solar-system-object-tracking, Fixed-az-el-transit.priority : The Priority level { 0, 1, 2}. 0 = in the target queue as the next visit
(meaning its execution is highly likely), 1 = in the 1 hour look-ahead summit queue (meaning likely),
2 = 24 hour pre-night simulation, meaning it is not in the summit queue and has a high degree of uncertainty.t_planning : Time (MJD) when this observation has been added or modified into the planning log.execution_status : Execution status of the prediction: One of the following values: Planned, Scheduled, Unscheduled, Performed, Aborted.tracking_type : One of the following values: Sidereal, Solar-system-object-tracking, Fixed-az-el-transit.Key columns that remained yet unpopulated when this tutorial was last updated.
+s_region : Sky region covered by the data product (expressed in ICRS frame).obs_id : The observation ID from the Camera (currently the same as target_name).These are also columns of interest, but are generally the same for most observations taken with LSSTCam.
+t_plan_exptime : The planned or scheduled exposure time (s).t_exptime : The total exposure time = t_max - t_min (s).s_fov : The diameter (bounds) of the covered region (deg).s_resolution : The spatial resolution of the data expressed as FWHM (arcsec/pixel).facility_name : Name of the facility used for this observation e.g Rubin Simonyi, AuxTel.instrument_name : Name of the instrument used for this observation e.g LSSTCam, LSSTComCam.See DMTN-263 for a description of all fields in the schema.