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