Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
L1 pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metis scientific pipeline
L1 pipeline
Commits
2de5116d
Commit
2de5116d
authored
4 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Version 2.1
parent
530ac2d3
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metis_l1_prep.pro
+5
-4
5 additions, 4 deletions
metis_l1_prep.pro
with
5 additions
and
4 deletions
metis_l1_prep.pro
+
5
−
4
View file @
2de5116d
...
...
@@ -95,7 +95,7 @@ pro metis_l1_prep
journal
,
'L0 FITS file correctly read:'
journal
,
' datatype = '
+
string
(
datatype
,
format
=
'(I0)'
)
journal
,
' size = '
+
string
(
naxis1
,
format
=
'(I0)'
)
+
'×'
+
string
(
naxis2
,
format
=
'(I0)'
)
if
datatype
le
6
then
journal
,
' size = '
+
string
(
naxis1
,
format
=
'(I0)'
)
+
'×'
+
string
(
naxis2
,
format
=
'(I0)'
)
;
NOTE
-
the
radialization
extension
is
ignored
...
...
@@ -180,8 +180,9 @@ pro metis_l1_prep
if
fxpar
(
primary_header
,
'COMPR'
)
then
bin_type
=
fxpar
(
primary_header
,
'B0_BIN'
)
else
bin_type
=
0
pol_id
=
fxpar
(
primary_header
,
'POL_ID'
)
fpfilt
=
fxpar
(
primary_header
,
'VLFPFILT'
,
count
=
count
)
if
count
gt
0
and
fpfilt
eq
0
and
bin_type
eq
0
then
bin_type
=
1
if
count
gt
0
and
pol_id
eq
0
and
fpfilt
eq
0
and
bin_type
eq
0
then
bin_type
=
1
bin_fact
=
2
.
^
bin_type
if
bin_fact
gt
1
.
then
begin
...
...
@@ -412,7 +413,7 @@ pro metis_l1_prep
)
if ~ isa(hk_bin_table) then hk_bin_table = param else hk_bin_table = [hk_bin_table, param]
endfor
mwrfits, hk_bin_table, out_file_name, hk_extension_header, /no_comment, /silent
journal, '
HK
binary
-
table
extension
correctly
added'
...
...
@@ -443,7 +444,7 @@ pro metis_l1_prep
exit, status = 0
error_handling:
journal, '
Errors
occurred
while
processing
.
'
,
/
continue
journal, '
Errors
occurred
while
processing
.
'
journal
exit
,
status
=
1
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment