Commit 95f189eb authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

changed max_mag to 30

parent 9c6afc09
......@@ -114,7 +114,7 @@ class CsstMsDataManager:
ver_sim: str = "C5.2",
datatype: str = "mbi",
available_detectors: Union[None, list] = None,
target_detectors: Union[None, list] = None,
target_detectors: Union[None, list, int] = None,
dir_l0: str = ".",
dir_l1: str = ".",
path_aux: str = "", # bias dark flat
......@@ -455,7 +455,7 @@ class CsstMsDataManager:
ver_sim=ver_sim, datatype=datatype, dir_l0=dir_l0, dir_l1=dir_l1, path_aux=path_aux,
dfs_mode=dfs_mode, dfs_node=dfs_node)
def query_rc(self, ra=180, dec=0, radius=2, min_mag=0, max_mag=20, obstime=-1, limit=-1):
def query_rc(self, ra=180, dec=0, radius=2, min_mag=0, max_mag=30, obstime=-1, limit=-1):
""" Query Reference Catalog (RC) from DFS """
try:
tbl = gaia_query_from_dfs(
......
......@@ -4,7 +4,7 @@ from csst_dfs_api.msc.level1 import Level1DataApi
# DFS query
def gaia_query_from_dfs(ra=180, dec=0, radius=2, min_mag=0, max_mag=20, obstime=-1, limit=-1):
def gaia_query_from_dfs(ra=180, dec=0, radius=2, min_mag=0, max_mag=30, obstime=-1, limit=-1):
""" query gaia edr3 catalog from dfs """
api = CatalogApi()
cat = api.catalog_query(
......
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