Commit 5ee85e61 authored by GZhao's avatar GZhao
Browse files

update L0 data model.

parent b0440f6a
Pipeline #8351 passed with stage
in 0 seconds
...@@ -373,7 +373,7 @@ class CpicVisEmccd(object): ...@@ -373,7 +373,7 @@ class CpicVisEmccd(object):
self.nonlinear_coefficient = -0.1 self.nonlinear_coefficient = -0.1
self.detector_name = 'CCD201-20-EM' self.detector_name = 'VIS'
self.ccd_label = 'EMCCD' self.ccd_label = 'EMCCD'
self.pitch_size = 13 self.pitch_size = 13
......
...@@ -81,7 +81,7 @@ config['bands'] = { ...@@ -81,7 +81,7 @@ config['bands'] = {
} }
config['diameter'] = 2 # in meters config['diameter'] = 2 # in meters
config['platescale'] = 0.016153 config['platescale'] = 0.016153
config['datamodel'] = f'{cpism_refdata}/io/csst-cpic-l0.toml' config['datamodel'] = f'{os.path.dirname(config_aim)}/csst-cpic-l0.toml'
config['log_dir'] = f'{cpism_refdata}/log' config['log_dir'] = f'{cpism_refdata}/log'
config['log_level'] = 'info' config['log_level'] = 'info'
......
This diff is collapsed.
...@@ -427,10 +427,10 @@ def frame_header(obs_info, index, primary_header, camera_dict): ...@@ -427,10 +427,10 @@ def frame_header(obs_info, index, primary_header, camera_dict):
header['FILTER'] = obs_info['band'] header['FILTER'] = obs_info['band']
header['DETSN'] = '00000000000' header['DETSN'] = '00000000000'
header['DETNAME'] = camera_config['detector_name'] header['DETECTOR'] = camera_config['detector_name']
header['CHIPLAB'] = camera_config['ccd_label'] header['DETLABEL'] = camera_config['ccd_label']
frame_info = obs_info['frame_info'][index] frame_info = obs_info['frame_info'][index]
header['CHIPTEMP'] = float(frame_info['chiptemp']) + 273.15 header['DETTEMP'] = float(frame_info['chiptemp']) + 273.15
header['DEWTEMP'] = float(camera_config['cooler_temp']) + 273.15 header['DEWTEMP'] = float(camera_config['cooler_temp']) + 273.15
header['DETSIZE'] = f"{imgszx} * {imgszy}" header['DETSIZE'] = f"{imgszx} * {imgszy}"
header['IMGINDEX'] = index + 1 header['IMGINDEX'] = index + 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment