Commit 8d848a98 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

generate coordinate search condition sql

parent b1f58ff9
...@@ -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
......
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