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-sims
csst_msc_sim
Commits
4f8ea7d1
Commit
4f8ea7d1
authored
9 months ago
by
Zhang Xin
1
Browse files
Options
Download
Email Patches
Plain Diff
fix issue43:FILENAME keywords cut by len 80
parent
e1a6d241
release_v3.0
current_stable_for_tests
develop
master
milky_way_extinction
revert-914004c1
sls_psf_pca_convolve
v3.1.0
2 merge requests
!28
bug fix for guidance abberation correction
,
!25
Master
Pipeline
#5541
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
observation_sim/sim_steps/readout_output.py
+4
-4
observation_sim/sim_steps/readout_output.py
with
4 additions
and
4 deletions
+4
-4
observation_sim/sim_steps/readout_output.py
+
4
-
4
View file @
4f8ea7d1
...
...
@@ -86,10 +86,10 @@ def quantization_and_output(self, chip, filt, tel, pointing, catalog, obs_param)
fname
=
os
.
path
.
join
(
self
.
chip_output
.
subdir
,
self
.
h_prim
[
'FILENAME'
]
+
'.fits'
)
f_name_size
=
68
if
(
len
(
self
.
h_prim
[
'FILENAME'
])
>
f_name_size
):
self
.
updateHeaderInfo
(
header_flag
=
'prim'
,
keys
=
[
'FILENAME'
],
values
=
[
self
.
h_prim
[
'FILENAME'
][
0
:
f_name_size
]])
#
f_name_size = 68
#
if (len(self.h_prim['FILENAME']) > f_name_size):
#
self.updateHeaderInfo(header_flag='prim', keys=['FILENAME'], values=[
#
self.h_prim['FILENAME'][0:f_name_size]])
hdu1
=
fits
.
PrimaryHDU
(
header
=
self
.
h_prim
)
...
...
This diff is collapsed.
Click to expand it.
Zhang Xin
@zhangxin
mentioned in issue
#43 (closed)
·
9 months ago
mentioned in issue
#43 (closed)
mentioned in issue #43
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
Menu
Explore
Projects
Groups
Snippets