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

generate coordinate search condition sql

parent b1f58ff9
...@@ -42,6 +42,19 @@ class Level2DataApi(object): ...@@ -42,6 +42,19 @@ class Level2DataApi(object):
''' '''
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
:param kwargs: :param kwargs:
......
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