Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdc
GRIS Gregor Infrared Spectrograph
grisred
Commits
de93881b
Commit
de93881b
authored
Nov 03, 2021
by
Carl Schaffer
Browse files
bugfix to fits_write.pro
parent
7648f3f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
fits/fits_write.pro
View file @
de93881b
...
...
@@ -242,6 +242,7 @@ pro fits_write,file_or_fcb,data,header_in,extname=extname,extver=extver, $
print
,
'FITS_WRITE: END missing from input header and was added'
header
=
[
header
,
'END '
]
hpos2
=
n_elements
(
header
)
-
1
hpos2
=
where
(
keywords
eq
'BEGIN EX'
)
&
hpos2
=
hpos2
[
0
]
;
begin
ext
.
end
;
;
determine
if
a
extension
was
supplied
and
no
primary
data
unit
(
PDU
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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