Commit 2abb35c6 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

hstdm

parent 64bea9bf
...@@ -108,6 +108,7 @@ class Level0Record(BaseModel): ...@@ -108,6 +108,7 @@ class Level0Record(BaseModel):
level0_id: str = "" level0_id: str = ""
obs_id: str = "" obs_id: str = ""
detector_no: str = "" detector_no: str = ""
filter: str=""
obs_type: str = "" obs_type: str = ""
obs_time: str="" obs_time: str=""
exp_time: float = 0 exp_time: float = 0
......
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=""
...@@ -9,6 +9,7 @@ class Level1Record(BaseModel): ...@@ -9,6 +9,7 @@ class Level1Record(BaseModel):
data_type: str="" data_type: str=""
cor_sci_id: int = 0 cor_sci_id: int = 0
prc_params: str="" prc_params: str=""
filter: str=""
filename : str="" filename : str=""
file_path: str="" file_path: str=""
qc1_status: int = 0 qc1_status: int = 0
......
...@@ -8,6 +8,7 @@ class Level1Record(BaseModel): ...@@ -8,6 +8,7 @@ class Level1Record(BaseModel):
level0_id : str = "" level0_id : str = ""
data_type: str="" data_type: str=""
prc_params: str="" prc_params: str=""
filter: str=""
filename : str="" filename : str=""
file_path: str="" file_path: str=""
qc1_status: int = 0 qc1_status: int = 0
......
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