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
csst-dfs
csst-dfs-commons
Commits
2abb35c6
Commit
2abb35c6
authored
Dec 25, 2022
by
Wei Shoulin
Browse files
hstdm
parent
64bea9bf
Changes
4
Hide whitespace changes
Inline
Side-by-side
csst_dfs_commons/models/facility.py
View file @
2abb35c6
...
...
@@ -108,6 +108,7 @@ class Level0Record(BaseModel):
level0_id
:
str
=
""
obs_id
:
str
=
""
detector_no
:
str
=
""
filter
:
str
=
""
obs_type
:
str
=
""
obs_time
:
str
=
""
exp_time
:
float
=
0
...
...
csst_dfs_commons/models/hstdm.py
0 → 100644
View file @
2abb35c6
import
dataclasses
from
typing
import
Dict
from
.common
import
BaseModel
,
default_field
@
dataclasses
.
dataclass
class
Level1Record
(
BaseModel
):
id
:
int
=
0
level0_id
:
str
=
""
data_type
:
str
=
""
cor_sci_id
:
int
=
0
prc_params
:
str
=
""
filename
:
str
=
""
file_path
:
str
=
""
qc1_status
:
int
=
0
qc1_time
:
str
=
""
prc_status
:
int
=
0
prc_time
:
str
=
""
create_time
:
str
=
""
pipeline_id
:
str
=
""
refs
:
Dict
[
str
,
int
]
=
default_field
({})
@
dataclasses
.
dataclass
class
Level1PrcRecord
(
BaseModel
):
id
:
int
=
0
level1_id
:
int
=
0
pipeline_id
:
str
=
""
prc_module
:
str
=
""
params_file_path
:
str
=
""
prc_status
:
int
=
0
prc_time
:
str
=
""
result_file_path
:
str
=
""
csst_dfs_commons/models/msc.py
View file @
2abb35c6
...
...
@@ -9,6 +9,7 @@ class Level1Record(BaseModel):
data_type
:
str
=
""
cor_sci_id
:
int
=
0
prc_params
:
str
=
""
filter
:
str
=
""
filename
:
str
=
""
file_path
:
str
=
""
qc1_status
:
int
=
0
...
...
csst_dfs_commons/models/sls.py
View file @
2abb35c6
...
...
@@ -8,6 +8,7 @@ class Level1Record(BaseModel):
level0_id
:
str
=
""
data_type
:
str
=
""
prc_params
:
str
=
""
filter
:
str
=
""
filename
:
str
=
""
file_path
:
str
=
""
qc1_status
:
int
=
0
...
...
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