From b9a7eba57d46a22640e9fb3069d86530b483795a Mon Sep 17 00:00:00 2001 From: fangyuedong Date: Sun, 7 Apr 2024 08:59:41 +0800 Subject: [PATCH] change "SCI" to "SCIE" --- ObservationSim/Config/_util.py | 4 ++-- config/obs_config_SCI_WIDE_phot.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ObservationSim/Config/_util.py b/ObservationSim/Config/_util.py index 709a927..2625ab7 100644 --- a/ObservationSim/Config/_util.py +++ b/ObservationSim/Config/_util.py @@ -1,10 +1,10 @@ def get_obs_id(img_type='SCI', project_cycle=6, run_counter=0, pointing_num=0): # obs_type = {'SCI': '01', 'BIAS': '03', 'DARK': '07', 'FLAT': '11', 'CRS': '98', 'CRD': '99'} - obs_type = {'SCI': '01', 'BIAS': '03', 'DARK': '07', 'FLAT': '11', 'CRS': '98', 'CRD': '99', 'CAL': '01'} + obs_type = {'SCIE': '01', 'BIAS': '03', 'DARK': '07', 'FLAT': '11', 'CRS': '98', 'CRD': '99', 'CAL': '01'} obs_id = '1'+ obs_type[img_type] + str(int(project_cycle)).rjust(2, '0') + str(int(run_counter)) + str(pointing_num).rjust(8,'0') return obs_id def get_file_type(img_type='SCI'): - file_type = {'SCI':'SCIE', 'BIAS':'BIAS', 'DARK':'DARK', 'FLAT':'FLAT', 'CRS':'CRS', 'CRD':'CRD','CALS':'CALS','CALF':'CALF'} + file_type = {'SCIE':'SCIE', 'BIAS':'BIAS', 'DARK':'DARK', 'FLAT':'FLAT', 'CRS':'CRS', 'CRD':'CRD','CALS':'CALS','CALF':'CALF'} return file_type[img_type] \ No newline at end of file diff --git a/config/obs_config_SCI_WIDE_phot.yaml b/config/obs_config_SCI_WIDE_phot.yaml index 4283637..c6e81f5 100644 --- a/config/obs_config_SCI_WIDE_phot.yaml +++ b/config/obs_config_SCI_WIDE_phot.yaml @@ -9,7 +9,7 @@ ############################################### # Observation type -obs_type: "SCI" +obs_type: "SCIE" # Define list of chips run_chips: [8] -- GitLab