Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
2 years ago
by
Wei Shoulin
Browse files
Options
Download
Email Patches
Plain Diff
hstdm
parent
64bea9bf
main
master
1.0.1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
csst_dfs_commons/models/facility.py
+1
-0
csst_dfs_commons/models/facility.py
csst_dfs_commons/models/hstdm.py
+31
-0
csst_dfs_commons/models/hstdm.py
csst_dfs_commons/models/msc.py
+1
-0
csst_dfs_commons/models/msc.py
csst_dfs_commons/models/sls.py
+1
-0
csst_dfs_commons/models/sls.py
with
34 additions
and
0 deletions
+34
-0
csst_dfs_commons/models/facility.py
+
1
-
0
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
...
...
This diff is collapsed.
Click to expand it.
csst_dfs_commons/models/hstdm.py
0 → 100644
+
31
-
0
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
=
""
This diff is collapsed.
Click to expand it.
csst_dfs_commons/models/msc.py
+
1
-
0
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
...
...
This diff is collapsed.
Click to expand it.
csst_dfs_commons/models/sls.py
+
1
-
0
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets