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
8d848a98
Commit
8d848a98
authored
Dec 27, 2023
by
Wei Shoulin
Browse files
generate coordinate search condition sql
parent
b1f58ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api/facility/level2.py
View file @
8d848a98
...
@@ -41,6 +41,19 @@ class Level2DataApi(object):
...
@@ -41,6 +41,19 @@ class Level2DataApi(object):
:returns: csst_dfs_common.models.Result
:returns: csst_dfs_common.models.Result
'''
'''
return
self
.
stub
.
catalog_query
(
**
kwargs
)
return
self
.
stub
.
catalog_query
(
**
kwargs
)
def
coord_cond_sql
(
self
,
**
kwargs
):
''' generate coordinate search condition sql
:param kwargs: Parameter dictionary, key items support:
data_type: [str]
ra: [float]
dec: [float]
radius: [float]
:returns: csst_dfs_common.models.Result
'''
return
self
.
stub
.
coord_cond_sql
(
**
kwargs
)
def
find_existed_brick_ids
(
self
,
**
kwargs
):
def
find_existed_brick_ids
(
self
,
**
kwargs
):
''' retrieve existed brick_ids in the catalog with data_type
''' retrieve existed brick_ids in the catalog with data_type
...
...
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