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-sims
csst_msc_sim
Commits
5972feeb
Commit
5972feeb
authored
Jun 21, 2024
by
Zhang Xin
Browse files
fig ISSUE48: TARGET seg error
parent
4f8ea7d1
Pipeline
#5650
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
observation_sim/config/header/ImageHeader.py
View file @
5972feeb
...
...
@@ -434,7 +434,7 @@ def generatePrimaryHeader(xlen=9216, ylen=9232, pointing_id='00000001', pointing
co
=
coord
.
SkyCoord
(
ra
,
dec
,
unit
=
'deg'
)
ra_hms
=
format
(
co
.
ra
.
hms
.
h
,
'02.0f'
)
+
format
(
co
.
ra
.
hms
.
m
,
'02.0f'
)
+
format
(
co
.
ra
.
hms
.
s
,
'0
2
.1f'
)
'02.0f'
)
+
format
(
co
.
ra
.
hms
.
s
,
'0
4
.1f'
)
dec_hms
=
format
(
co
.
dec
.
dms
.
d
,
'02.0f'
)
+
format
(
abs
(
co
.
dec
.
dms
.
m
),
'02.0f'
)
+
format
(
abs
(
co
.
dec
.
dms
.
s
),
'02.0f'
)
if
dec
>=
0
:
...
...
Zhang Xin
@zhangxin
mentioned in issue
#48 (closed)
·
Jun 21, 2024
mentioned in issue
#48 (closed)
mentioned in issue #48
Toggle commit list
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