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
5a485cee
Commit
5a485cee
authored
2 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Add compression status check
parent
c92dfdc1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
metis_l1_prep.pro
+24
-0
24 additions, 0 deletions
metis_l1_prep.pro
with
24 additions
and
0 deletions
metis_l1_prep.pro
+
24
−
0
View file @
5a485cee
...
@@ -179,6 +179,30 @@ pro metis_l1_prep
...
@@ -179,6 +179,30 @@ pro metis_l1_prep
endif
endif
endforeach
endforeach
compr
=
fxpar
(
primary_header
,
'COMPR'
,
missing
=
-
1
)
xsize
=
fxpar
(
primary_header
,
'X_SIZE'
,
missing
=
-
1
)
if
compr
and
xsize
lt
0
then
begin
bin_type
=
fxpar
(
primary_header
,
'BIN_TYPE'
)
fxaddpar
,
primary_header
,
'X_SIZE'
,
2048
/
2
^
bin_type
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'Y_SIZE'
,
2048
/
2
^
bin_type
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'Z_SIZE'
,
1
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'P_BANDS'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'N_BANDS'
,
1
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'ORIG_X'
,
2048
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'ORIG_Y'
,
2048
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'FIRSTROW'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B0_BIN'
,
bin_type
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B0_DQ'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B0_STOP'
,
2048
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B1_BIN'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B1_DQ'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B1_STOP'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B2_BIN'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B2_DQ'
,
0
,
before
=
'CHECKSUM'
fxaddpar
,
primary_header
,
'B2_STOP'
,
0
,
before
=
'CHECKSUM'
endif
;
rebin
the
image
if
binning
was
applied
during
the
acquisition
and
check
for
the
data
quality
;
rebin
the
image
if
binning
was
applied
during
the
acquisition
and
check
for
the
data
quality
;
NOTE
-
this
is
done
only
for
image
data
products
;
NOTE
-
this
is
done
only
for
image
data
products
...
...
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