| Exposure type |
meta.exposure.type (meta/exposure.yaml) |
WFI_IMAGE, WFI_SPECTRAL, WFI_IM_DARK, WFI_SP_DARK, WFI_FLAT, WFI_LOLO, WFI_WFSC |
Probably okay? We could remove the enum if we thought there were a meaningful chance of adding a mode on short notice. |
| Guide window mode |
meta.guidestar.guide_mode (meta/guidestar.yaml) |
WIM-ACQ, WIM-TRACK, WSM-ACQ-1, WSM-ACQ-2, WSM-TRACK, DEFOCUSED-MODERATE, DEFOCUSED-LARGE |
No idea if these are up to date or changeable! |
| Program subcategory |
meta/program.yaml → meta.program.subcategory |
CAL, CGI, CR, DR, GBTD, HLTD, HLWA, OR, WFI, WFSC, None |
Used in both l3_common and program.yaml as separate enums. Per this discussion, both should be strings. |
| Aperture name |
meta/wcsinfo.yaml → meta.wcsinfo.aperture_name |
WFI01_FULL–WFI18_FULL and WFI_01_FULL–WFI_18_FULL, WFI_CEN, BORESIGHT, CGI_CEN |
We added both WFI01_FULL and WFI_01_FULL to accommodate some known churn in the siaf file. Do we think these are complete or should we convert to a string? |
| Visit type |
meta/visit.yaml → meta.visit.type |
GENERAL_ENGINEERING, GENERIC, PARALLEL, PRIME_TARGETED_FIXED, PRIME_UNTARGETED |
This feels like another good candidate for enum -> string to me? Just doesn't feel like a complete / unchangeable list. |
| FGS modes used |
meta/guidewindow_common.yaml → meta.guide_window.fgs_modes_used |
NOT_CONFIGURED, STANDBY, WIM_ACQ_VW, WIM_ACQ_NA, WIM_TRK, WIM_TRK_S, WSM_ACQ_HC, WSM_ACQ_VC, WSM_TRK, WIM_DFC |
I have no sense for how complete / up to date / changeable these are! |
| FGS op phase |
l1_face_guidewindow.yaml → face_data.fgs_op_phase |
(same 10 values as fgs_modes_used) |
|
| Origin |
meta/origin.yaml → meta.origin |
STSCI, STSCI/SOC, IPAC/SSC |
Convert to string in case anyone else wants to use this? |
| RCS LED |
meta/rcs.yaml → meta.rcs.led |
1, 2, 3, 4, 5, 6, None |
Probably okay? |
| RCS electronics |
meta/rcs.yaml → meta.rcs.electronics |
A, B, None |
Probably okay? |
| RCS bank |
meta/rcs.yaml → meta.rcs.bank |
1, 2, None |
Probably okay? |
| Ephemeris type |
meta/ephemeris.yaml → meta.ephemeris.type |
DEFINITIVE, PREDICTED |
Probably okay? |
| Exposure engineering quality |
meta/exposure.yaml → meta.exposure.engineering_quality |
OK, SUSPECT |
Convert to string to be less restrictive of potential future uses? |
| Pointing engineering source |
meta/pointing.yaml → meta.pointing.pointing_engineering_source |
CALCULATED, PLANNED |
Maybe okay? |
| WSM edge used |
l1_detector_guidewindow.yaml, l1_face_guidewindow.yaml → meta.wsm_edge_used |
blue, red |
Could we imagine other modes, e.g., both blue & red? |
| Pseudo star flag |
l1_detector_guidewindow.yaml → meta.guide_star.pseudo_star_flag |
Y, N |
Not sure. |
@tddesjardins , I went through the schemas looking for more potentially problematic enums along the lines of #889 . There are some other cases where we might consider removing the enum / at least making sure we're happy with the allowed values:
meta.exposure.type(meta/exposure.yaml)meta.guidestar.guide_mode(meta/guidestar.yaml)meta/program.yaml→meta.program.subcategorymeta/wcsinfo.yaml→meta.wcsinfo.aperture_namemeta/visit.yaml→meta.visit.typemeta/guidewindow_common.yaml→meta.guide_window.fgs_modes_usedl1_face_guidewindow.yaml→face_data.fgs_op_phasefgs_modes_used)meta/origin.yaml→meta.originmeta/rcs.yaml→meta.rcs.ledmeta/rcs.yaml→meta.rcs.electronicsmeta/rcs.yaml→meta.rcs.bankmeta/ephemeris.yaml→meta.ephemeris.typemeta/exposure.yaml→meta.exposure.engineering_qualitymeta/pointing.yaml→meta.pointing.pointing_engineering_sourcel1_detector_guidewindow.yaml,l1_face_guidewindow.yaml→meta.wsm_edge_usedl1_detector_guidewindow.yaml→meta.guide_star.pseudo_star_flag