Commit c04e9925 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

add obs_time

parent 69316d10
Pipeline #7362 passed with stage
...@@ -37,7 +37,7 @@ class Level0PrcApi(object): ...@@ -37,7 +37,7 @@ class Level0PrcApi(object):
''' insert a level0 procedure record into database ''' insert a level0 procedure record into database
:param kwargs: Parameter dictionary, key items support: :param kwargs: Parameter dictionary, key items support:
level0_id : [int] internal id of level0 data level0_id : [str]
pipeline_id : [str] pipeline_id : [str]
prc_module : [str] prc_module : [str]
run_id : [str] run_id : [str]
......
...@@ -17,6 +17,7 @@ class Level1DataApi(object): ...@@ -17,6 +17,7 @@ class Level1DataApi(object):
level0_id: [str] level0_id: [str]
module_id: [str] module_id: [str]
file_type: [str] file_type: [str]
obs_time : (start, end)
create_time : (start, end) create_time : (start, end)
qc1_status : [int] qc1_status : [int]
prc_status : [int] prc_status : [int]
...@@ -112,10 +113,12 @@ class Level1DataApi(object): ...@@ -112,10 +113,12 @@ class Level1DataApi(object):
:param kwargs: Parameter dictionary, key items support: :param kwargs: Parameter dictionary, key items support:
level0_id: [str] level0_id: [str]
level1_id: [str]
obs_id: [str] obs_id: [str]
module_id: [str] module_id: [str]
detector_no: [str] detector_no: [str]
file_type : [str] file_type : [str]
obs_time = [str]
filename : [str] filename : [str]
file_path : [str] file_path : [str]
qc1_status: [int] qc1_status: [int]
......
...@@ -13,7 +13,7 @@ class Level1PrcApi(object): ...@@ -13,7 +13,7 @@ class Level1PrcApi(object):
''' retrieve level1 procedure records from database ''' retrieve level1 procedure records from database
:param kwargs: Parameter dictionary, key items support: :param kwargs: Parameter dictionary, key items support:
level1_id: [int] level1_id: [str]
pipeline_id: [str] pipeline_id: [str]
prc_module: [str] prc_module: [str]
prc_status : [int] prc_status : [int]
...@@ -37,7 +37,7 @@ class Level1PrcApi(object): ...@@ -37,7 +37,7 @@ class Level1PrcApi(object):
''' insert a level1 procedure record into database ''' insert a level1 procedure record into database
:param kwargs: Parameter dictionary, key items support: :param kwargs: Parameter dictionary, key items support:
level1_id : [int] level1_id : [str]
pipeline_id : [str] pipeline_id : [str]
prc_module : [str] prc_module : [str]
run_id : [str] run_id : [str]
......
...@@ -20,13 +20,14 @@ class Level2DataApi(object): ...@@ -20,13 +20,14 @@ class Level2DataApi(object):
brick_id: [int] brick_id: [int]
data_type: [str] data_type: [str]
object_name: [str] object_name: [str]
create_time : (start, end), obs_time : (start, end)
qc2_status : [int], create_time : (start, end)
prc_status : [int], qc2_status : [int]
import_status : [int], prc_status : [int]
filename: [str], import_status : [int]
build : [int], filename: [str]
pipeline_id: [str], build : [int]
pipeline_id: [str]
limit: limits returns the number of records,default 0:no-limit limit: limits returns the number of records,default 0:no-limit
:returns: csst_dfs_common.models.Result :returns: csst_dfs_common.models.Result
...@@ -117,6 +118,7 @@ class Level2DataApi(object): ...@@ -117,6 +118,7 @@ class Level2DataApi(object):
level1_id: [int] optional level1_id: [int] optional
brick_id: [int] brick_id: [int]
module_id : [str] module_id : [str]
obs_time = [str]
object_name: [str] object_name: [str]
data_type : [str] data_type : [str]
filename : [str] filename : [str]
......
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