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-api
Commits
c04e9925
Commit
c04e9925
authored
Nov 25, 2024
by
Wei Shoulin
Browse files
add obs_time
parent
69316d10
Pipeline
#7362
passed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api/facility/level0prc.py
View file @
c04e9925
...
@@ -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]
...
...
csst_dfs_api/facility/level1.py
View file @
c04e9925
...
@@ -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]
...
...
csst_dfs_api/facility/level1prc.py
View file @
c04e9925
...
@@ -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]
...
...
csst_dfs_api/facility/level2.py
View file @
c04e9925
...
@@ -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]
...
...
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