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
50db3e22
Commit
50db3e22
authored
Jun 21, 2023
by
Wei Shoulin
Browse files
msc level2
parent
7293d986
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dfs_api/mbi/level2.py
View file @
50db3e22
...
...
@@ -31,6 +31,7 @@ class Level2DataApi(object):
''' retrieve level2 catalog
:param kwargs: Parameter dictionary, key items support:
brick_ids: tuple of int, like (1,2,3)
obs_id: [str]
detector_no: [str]
filter: [str]
...
...
@@ -38,6 +39,7 @@ class Level2DataApi(object):
dec: [float] in deg
radius: [float] in deg
obs_time: (start, end)
columns: tuple of str, like ('ra','dec','sky')
limit: limits returns the number of records,default 0:no-limit
:returns: csst_dfs_common.models.Result
...
...
@@ -48,6 +50,7 @@ class Level2DataApi(object):
''' retrieve level2 catalog, return Level2Record
:param kwargs: Parameter dictionary, key items support:
brick_ids: list[int]
obs_id: [str]
detector_no: [str]
filter: [str]
...
...
@@ -61,6 +64,15 @@ class Level2DataApi(object):
'''
return
self
.
stub
.
catalog_query_file
(
**
kwargs
)
def
find_existed_brick_ids
(
self
,
**
kwargs
):
''' retrieve existed brick_ids in a single exposure catalog
:param kwargs:
:returns: csst_dfs_common.models.Result
'''
return
self
.
stub
.
find_existed_brick_ids
(
**
kwargs
)
def
get
(
self
,
**
kwargs
):
''' fetch a record from database
...
...
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