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-pipeline
csst_common
Commits
5fbbd1f9
Commit
5fbbd1f9
authored
2 years ago
by
BO ZHANG
🏀
Browse files
Options
Download
Email Patches
Plain Diff
remove dm.now_dfs() & change dm.get_coord()
parent
a24ec355
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/data_manager.py
+6
-6
csst_common/data_manager.py
with
6 additions
and
6 deletions
+6
-6
csst_common/data_manager.py
+
6
-
6
View file @
5fbbd1f9
...
...
@@ -303,10 +303,6 @@ class CsstMsDataManager:
def
now
():
return
now
()
@
staticmethod
def
now_dfs
():
return
now_dfs
()
# DFS APIs
@
property
def
dfs_L0DataApi
(
self
):
...
...
@@ -737,8 +733,12 @@ class CsstMsDataManager:
def
get_coord
(
self
):
""" Get pointing coordinate. """
header
=
fits
.
getheader
(
self
.
l0_detector
(
detector
=
self
.
target_detectors
[
0
]))
pointing_ra
=
header
[
"RA_OBJ"
]
pointing_dec
=
header
[
"DEC_OBJ"
]
if
self
.
ver_sim
==
"C5.2"
:
pointing_ra
=
header
[
"RA_OBJ"
]
pointing_dec
=
header
[
"DEC_OBJ"
]
else
:
pointing_ra
=
header
[
"OBJ_RA"
]
pointing_dec
=
header
[
"OBJ_DEC"
]
return
pointing_ra
,
pointing_dec
def
dfs_rc_auto
(
self
):
...
...
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