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-pipeline
csst_common
Commits
95f189eb
Commit
95f189eb
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
changed max_mag to 30
parent
9c6afc09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
csst_common/data_manager.py
+2
-2
csst_common/data_manager.py
csst_common/dfs.py
+1
-1
csst_common/dfs.py
with
3 additions
and
3 deletions
+3
-3
csst_common/data_manager.py
+
2
-
2
View file @
95f189eb
...
...
@@ -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
=
2
0
,
obstime
=-
1
,
limit
=-
1
):
def
query_rc
(
self
,
ra
=
180
,
dec
=
0
,
radius
=
2
,
min_mag
=
0
,
max_mag
=
3
0
,
obstime
=-
1
,
limit
=-
1
):
""" Query Reference Catalog (RC) from DFS """
try
:
tbl
=
gaia_query_from_dfs
(
...
...
This diff is collapsed.
Click to expand it.
csst_common/dfs.py
+
1
-
1
View file @
95f189eb
...
...
@@ -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
=
2
0
,
obstime
=-
1
,
limit
=-
1
):
def
gaia_query_from_dfs
(
ra
=
180
,
dec
=
0
,
radius
=
2
,
min_mag
=
0
,
max_mag
=
3
0
,
obstime
=-
1
,
limit
=-
1
):
""" query gaia edr3 catalog from dfs """
api
=
CatalogApi
()
cat
=
api
.
catalog_query
(
...
...
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