Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 year ago
by
Wei Shoulin
Browse files
Options
Download
Email Patches
Plain Diff
msc level2
parent
7293d986
main
master
1.0.3
1.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_dfs_api/mbi/level2.py
+12
-0
csst_dfs_api/mbi/level2.py
with
12 additions
and
0 deletions
+12
-0
csst_dfs_api/mbi/level2.py
+
12
-
0
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]
...
...
@@ -60,6 +63,15 @@ class Level2DataApi(object):
:returns: csst_dfs_common.models.Result
'''
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
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets