From e88b754b1efeb8d55c536b3a8444f4fdc82a078c Mon Sep 17 00:00:00 2001 From: Keith Bechtol Date: Thu, 29 Aug 2024 14:43:18 +0000 Subject: [PATCH] Update metadata conventions --- .../utils/maintel/make_fieldsurvey_scheduler.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/python/lsst/ts/fbs/utils/maintel/make_fieldsurvey_scheduler.py b/python/lsst/ts/fbs/utils/maintel/make_fieldsurvey_scheduler.py index f2505fc..417465f 100644 --- a/python/lsst/ts/fbs/utils/maintel/make_fieldsurvey_scheduler.py +++ b/python/lsst/ts/fbs/utils/maintel/make_fieldsurvey_scheduler.py @@ -57,7 +57,9 @@ def _load_candidate_fields(self) -> typing.Dict: def add_field_surveys( self, tier: int, - program: str, + json_block: str, + observation_reason: str, + science_program: str, field_names: typing.List[str], basis_functions: typing.List[BaseBasisFunction] = [], **kwargs: typing.Any, @@ -68,8 +70,12 @@ def add_field_surveys( ---------- tier: `int` Tier index used to control prioritization of surveys. - program_name: `str` - Program name of BLOCK to be executed. + json_block: `str` + JSON BLOCK used to perform the observations. + observation_reason: `str` + Purpose of the observation, e.g., "science" + science_program: `str` + Name of the science program. field_names: `list` of `str` List of names to specify the pointing center of each field survey. basis_functions: `list` of `BaseBasisFunction` @@ -90,6 +96,9 @@ def add_field_surveys( basis_functions, field_ra_deg, field_dec_deg, + json_block=json_block, + observation_reason=observation_reason, + science_program=science_program, ignore_obs=None, accept_obs=[field_name], survey_name=field_name,