Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Yuan Fangting
csst-l1doc
Commits
a011dff7
Commit
a011dff7
authored
Feb 20, 2023
by
BO ZHANG
🏀
Browse files
MSC data model meeting - 1
parent
51d370de
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
docs/source/mbi/data_model.md
View file @
a011dff7
This diff is collapsed.
Click to expand it.
docs/source/sls/data_model.md
View file @
a011dff7
...
@@ -11,89 +11,106 @@
...
@@ -11,89 +11,106 @@
| HDU2 | reduced ERR (9k x 9k) | ImageHDU |
| HDU2 | reduced ERR (9k x 9k) | ImageHDU |
| HDU3 | reduced DQ (9k x 9k) | ImageHDU |
| HDU3 | reduced DQ (9k x 9k) | ImageHDU |
-
关键字 comment大写开头
-
### *HDU0 --> HDU1
### *HDU0 --> HDU1
| keyword | value | comment | fallback_value | type | module |
HDU0 修改
`NEXTEND=3`
|--------------------|:-----------------------|----------------------------------------------|-----------------------|--------|-------------------------|
模块之间用COMMENT隔开,例如
| SIMPLE | T | Fits standard | T | bool | csst_ms_sls_instrument |
```
| BITPIX | 8 | array data value | 8 | i8 | csst_ms_sls_instrument |
COMMENT ==================================================================
| NAXIS | 0 | Number of axes | 0 | i8 | csst_ms_sls_instrument |
COMMENT QC0 CHECK
| EXTEND | T | file may contain standard extensions | T | bool | csst_ms_sls_instrument |
COMMENT ==================================================================
| NEXTEND | 3 | Number of file extensions | 3 | i8 | csst_ms_sls_instrument |
```
|
*
VER_CRDS | '0.0.1 ' | Version of CRDS file selection software used | '0.0.1 ' | str | csst_ms_sls_instrument |
精简每个关键字的comment
| R_GAIN | '
*
.gain.fits' | Gain reference file name | 'N/A' | str | csst_ms_sls_instrument |
`-`
表示不可能失败,不会使用fallback_value
| R_READN | '
*
.rn.fits' | Read noise reference file name | 'N/A' | str | csst_ms_sls_instrument |
| R_SATURA | '
*
.sat.fits' | Saturation reference file name | 'N/A' | str | csst_ms_sls_instrument |
| R_MASK | '
*
.msk.fits' | Mask reference file name | 'N/A' | str | csst_ms_sls_instrument |
### HDU1-1 (先不管)
| R_BIAS | '
*
bias.fits' | SuperBias reference file name | 'N/A' | str | csst_ms_sls_instrument |
| R_DARK | '
*
dark.fits' | Dark reference file name | 'N/A' | str | csst_ms_sls_instrument |
| keyword | value | comment | fallback_value | type | module |
| R_DFLAT | '
*
flat.fits' | Detector Flat reference file name | 'N/A' | str | csst_ms_sls_instrument |
|--------------------|:-----------------------|-----------------------------------------------|-----------------------|--------|-------------------------|
| R_SFLAT | '
*
flat.fits' | Spectrograph Flat reference file name | 'N/A' | str | csst_ms_sls_instrument |
| VER_CRDS | '0.0.1 ' | Version of CRDS file selection software used | - | str | csst_ms_sls_instrument |
| S_DQINI | T | Data Quality Initialization | F | bool | csst_ms_sls_instrument |
| R_GAIN | '
*
.gain.fits' | Gain reference file name | 'N/A' | str | csst_ms_sls_instrument |
| S_SATURA | T | Saturation Checking | F | bool | csst_ms_sls_instrument |
| R_READN | '
*
.rn.fits' | Read noise reference file name | 'N/A' | str | csst_ms_sls_instrument |
| S_ERRINI | T | Error Initialization | F | bool | csst_ms_sls_instrument |
| R_SATURA | '
*
.sat.fits' | Saturation reference file name | 'N/A' | str | csst_ms_sls_instrument |
| S_BIAS | T | Bias correction | F | bool | csst_ms_sls_instrument |
| R_MASK | '
*
.msk.fits' | Mask reference file name | 'N/A' | str | csst_ms_sls_instrument |
| S_DARK | T | Dark correction | F | bool | csst_ms_sls_instrument |
| R_BIAS | '
*
bias.fits' | SuperBias reference file name | 'N/A' | str | csst_ms_sls_instrument |
| S_FLAT | T | Flat field correction | F | bool | csst_ms_sls_instrument |
| R_DARK | '
*
dark.fits' | Dark reference file name | 'N/A' | str | csst_ms_sls_instrument |
|
*
VER_INST DCP_VER | '0.0.1 ' | detector-level calibration pipeline version | '0.0.1 ' | str | csst_ms_sls_instrument |
| R_DFLAT | '
*
flat.fits' | Detector Flat reference file name | 'N/A' | str | csst_ms_sls_instrument |
|
*
STM_INST DCP_TIME | '2022-12-30T10:18:53' | pipeline processing time | '2022-12-30T10:18:53' | str | csst_ms_sls_instrument |
| R_SFLAT | '
*
flat.fits' | Spectrograph Flat reference file name | 'N/A' | str | csst_ms_sls_instrument |
| HISTORY | '
**
step complete.' | record processing message | 'null' | str | csst_ms_sls_instrument |
| S_DQINI | T | Data Quality Initialization | F | bool | csst_ms_sls_instrument |
| S_SATURA | T | Saturation Checking | F | bool | csst_ms_sls_instrument |
| S_ERRINI | T | Error Initialization | F | bool | csst_ms_sls_instrument |
| S_BIAS | T | Bias correction | F | bool | csst_ms_sls_instrument |
| S_DARK | T | Dark correction | F | bool | csst_ms_sls_instrument |
| S_FLAT | T | Flat field correction | F | bool | csst_ms_sls_instrument |
| VER_INST | '0.0.1 ' | detector-level calibration pipeline version | - | str | csst_ms_sls_instrument |
|
*
STM_INST DCP_TIME | '2022-12-30T10:18:53' | pipeline processing time | '2022-12-30T10:18:53' | str | csst_ms_sls_instrument |
| HISTORY | '
**
step complete.' | record processing message | 'null' | str | csst_ms_sls_instrument |
### HDU1
### HDU1
#### Header of `csst_ms_sls_instrument`
#### Header of `csst_ms_sls_instrument`
| keyword | value | comment | fallback_value | type | module |
`IMAGE STATISTICS AND DATA QUALITY FLAGS`
需要修改成为标准格式,首字母大写
|-----------|:---------|-------------------------------------------|----------------|-------|--------------------------|
增加宇宙线证认相关关键字
| EXTNAME | SCI | extension name | SCI | str | csst_ms_sls_instrument |
| EXTVER | 1 | extension version number | 1 | i8 | csst_ms_sls_instrument |
| keyword | value | comment | fallback_value | type | module |
| BUNIT |
*e-/s | brightness units | *
e-/s | str | csst_ms_sls_instrument |
|-----------|:---------|-----------------------------------------|----------------|------|--------------------------|
|
*
NGOODPIX | 84794368 | number of good pixels | 0 | f32 | csst_ms_sls_instrument |
| EXTNAME | SCI | extension name | SCI | str | csst_ms_sls_instrument |
| SDQFLAGS | 31743 | serious data quality flags | 0 | i16 | csst_ms_sls_instrument |
| EXTVER | 1 | extension version number | 1 | i8 | csst_ms_sls_instrument |
|
*
GOODMAX | 260.0 | maxmum value of good pixels | 0 | f32 | csst_ms_sls_instrument |
| BUNIT |
*e-/s | brightness units | *
e-/s | str | csst_ms_sls_instrument |
| GOODMIN | -0.001 | minmum value of good pixels | 0 | f32 | csst_ms_sls_instrument |
|
*
NGOODPIX | 84794368 | number of good pixels | -9999 | i32 | csst_ms_sls_instrument |
| GOODMEAN | 0.3 | mean value of good pixels | 0 | f32 | csst_ms_sls_instrument |
|
*SDQFLAGS | 31743 | *
serious data quality flags | -9999 | i32 | csst_ms_sls_instrument |
| SNRMIN | 187.4 | minmum signal to noise of good pixels | 0 | f32 | csst_ms_sls_instrument |
| GOODMAX | 260.0 | maxmum value of good pixels | -9999 | f32 | csst_ms_sls_instrument |
| SNRMAX | 1.2 | maxmum signal to noise of good pixels | 0 | f32 | csst_ms_sls_instrument |
| GOODMIN | -0.001 | minmum value of good pixels | -9999 | f32 | csst_ms_sls_instrument |
| SNRMEAN | 3.38 | average of the dark values subtracted | 0 | f32 | csst_ms_sls_instrument |
| GOODMEAN | 0.3 | mean value of good pixels | -9999 | f32 | csst_ms_sls_instrument |
| SNRMIN | 187.4 | minmum signal to noise of good pixels | -9999 | f32 | csst_ms_sls_instrument |
VER_INST
| SNRMAX | 1.2 | maxmum signal to noise of good pixels | -9999 | f32 | csst_ms_sls_instrument |
STA_INST
| SNRMEAN | 3.38 | average of the dark values subtracted | -9999 | f32 | csst_ms_sls_instrument |
STM_INST
VER_INST 仪器改正版本号
STA_INST 仪器改正状态
STM_INST 仪器改正时间戳
#### Header of `csst_ms_sls_position`
#### Header of `csst_ms_sls_position`
| keyword | value | comment | fallback_value | type | module |
位置定标信息新开一节
|------------------|:----------------------|------------------------------|----------------|--------|-----------------------|
CD1_1等系数在修改后挪到这一节
| CTYPE1 | 'RA---TPV' | | 'RA---TPV' | str | csst_ms_sls_position |
| CTYPE2 | 'DEC--TPV' | | 'DEC--TPV' | str | csst_ms_sls_position |
| keyword | value | comment | fallback_value | type | module |
| CUNIT1 | 'deg ' | | 'deg' | str | csst_ms_sls_position |
|----------|:----------------------|------------------------------|----------------|--------|-----------------------|
| CUNIT2 | 'deg ' | | 'deg' | str | csst_ms_sls_position |
| CTYPE1 | 'RA---TPV' | | 'RA---TAN' | str | csst_ms_sls_position |
| RADESYS | 'ICRS ' | | 'ICRS' | str | csst_ms_sls_position |
| CTYPE2 | 'DEC--TPV' | | 'DEC--TAN' | str | csst_ms_sls_position |
| PV1_0 | 0.003205383944913964 | | 0 | f32 | csst_ms_sls_position |
| CUNIT1 | 'deg ' | | 'deg' | str | csst_ms_sls_position |
| PV1_1 | 0.8673020820536499 | | 0 | f32 | csst_ms_sls_position |
| CUNIT2 | 'deg ' | | 'deg' | str | csst_ms_sls_position |
| PV1_2 | -0.2011989871377834 | | 0 | f32 | csst_ms_sls_position |
| RADESYS | 'ICRS ' | | '?' | str | csst_ms_sls_position |
| PV1_3 | -0.2597214229472611 | | 0 | f32 | csst_ms_sls_position |
| PV1_0 | 0.003205383944913964 | | -9999 | f32 | csst_ms_sls_position |
| PV1_4 | 0.4353828741811097 | | 0 | f32 | csst_ms_sls_position |
| PV1_1 | 0.8673020820536499 | | -9999 | f32 | csst_ms_sls_position |
| PV1_5 | -0.5054216569802673 | | 0 | f32 | csst_ms_sls_position |
| PV1_2 | -0.2011989871377834 | | -9999 | f32 | csst_ms_sls_position |
| PV1_6 | 0.1951474426617432 | | 0 | f32 | csst_ms_sls_position |
| PV1_3 | -0.2597214229472611 | | -9999 | f32 | csst_ms_sls_position |
| PV2_0 | 0.00109803885992697 | | 0 | f32 | csst_ms_sls_position |
| PV1_4 | 0.4353828741811097 | | -9999 | f32 | csst_ms_sls_position |
| PV2_1 | 0.9171065857705857 | | 0 | f32 | csst_ms_sls_position |
| PV1_5 | -0.5054216569802673 | | -9999 | f32 | csst_ms_sls_position |
| PV2_2 | -0.04908256792722099 | | 0 | f32 | csst_ms_sls_position |
| PV1_6 | 0.1951474426617432 | | -9999 | f32 | csst_ms_sls_position |
| PV2_3 | -0.09860562038448289 | | 0 | f32 | csst_ms_sls_position |
| PV2_0 | 0.00109803885992697 | | -9999 | f32 | csst_ms_sls_position |
| PV2_4 | 0.07961855240788976 | | 0 | f32 | csst_ms_sls_position |
| PV2_1 | 0.9171065857705857 | | -9999 | f32 | csst_ms_sls_position |
| PV2_5 | -0.2009224365497067 | | 0 | f32 | csst_ms_sls_position |
| PV2_2 | -0.04908256792722099 | | -9999 | f32 | csst_ms_sls_position |
| PV2_6 | 0.1741954691884874 | | 0 | f32 | csst_ms_sls_position |
| PV2_3 | -0.09860562038448289 | | -9999 | f32 | csst_ms_sls_position |
|
*
NS_POS STAR_FIT | 10 | number of the stars | 0 | i8 | csst_ms_sls_position |
| PV2_4 | 0.07961855240788976 | | -9999 | f32 | csst_ms_sls_position |
| RA_OFF | -0.0 | mas in unit | -99 | f32 | csst_ms_sls_position |
| PV2_5 | -0.2009224365497067 | | -9999 | f32 | csst_ms_sls_position |
| DEC_OFF | 0.0 | mas in unit | -99 | f32 | csst_ms_sls_position |
| PV2_6 | 0.1741954691884874 | | -9999 | f32 | csst_ms_sls_position |
| RA_RMS | 127.1 | mas in unit | -99 | f32 | csst_ms_sls_position |
|
*
NS_POS | 10 | number of the stars | -- | i8 | csst_ms_sls_position |
| DEC_RMS | 60.4 | mas in unit | -99 | f32 | csst_ms_sls_position |
| RA_OFF | -0.0 | mas in unit | -9999 | f32 | csst_ms_sls_position |
| RA_CEN | 193.299027 | center of detector in ra | 0 | f32 | csst_ms_sls_position |
| DEC_OFF | 0.0 | mas in unit | -9999 | f32 | csst_ms_sls_position |
| DEC_CEN | 26.08851 | center of detector in dec | 0 | f32 | csst_ms_sls_position |
| RA_RMS | 127.1 | mas in unit | -9999 | f32 | csst_ms_sls_position |
|
*
VER_POS | '1.0' | version of distortion | '1.0' | str | csst_ms_sls_position |
| DEC_RMS | 60.4 | mas in unit | -9999 | f32 | csst_ms_sls_position |
|
*
STM_POS | '2023-02-16 12:15:16' | time of last modification | | str | csst_ms_sls_position |
| RA_CEN | 193.299027 | center of detector in ra | -- | f32 | csst_ms_sls_position |
|
*
STA_POS | 0 | 0 for done, 1 for failure | 1 | i8 | csst_ms_sls_position |
| DEC_CEN | 26.08851 | center of detector in dec | -- | f32 | csst_ms_sls_position |
|
*
VER_POS | '1.0' | version of distortion | '1.0' | str | csst_ms_sls_position |
|
*
STM_POS | '2023-02-16 12:15:16' | time of last modification | -- | str | csst_ms_sls_position |
|
*
STA_POS | 0 | 0 for done, 1 for failure | 1 | i8 | csst_ms_sls_position |
#### Header of `csst_ms_sls_qc1`
#### Header of `csst_ms_sls_qc1`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment