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
6fd5ef52
Commit
6fd5ef52
authored
3 years ago
by
Roberto Susino
Browse files
Options
Downloads
Patches
Plain Diff
Adjust header comments
parent
42bfb656
No related branches found
Branches containing commit
Tags
Version-3.1.0
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
metis_l1_prep.pro
+10
-9
10 additions, 9 deletions
metis_l1_prep.pro
metis_wcs.pro
+4
-4
4 additions, 4 deletions
metis_wcs.pro
solo_get_ephemeris.pro
+2
-2
2 additions, 2 deletions
solo_get_ephemeris.pro
with
16 additions
and
15 deletions
metis_l1_prep.pro
+
10
−
9
View file @
6fd5ef52
...
...
@@ -182,6 +182,7 @@ pro metis_l1_prep
;
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
comment
=
!
null
if
datatype
le
6
then
begin
bin_type
=
fxpar
(
primary_header
,
'B0_BIN'
,
missing
=
0
)
...
...
@@ -290,13 +291,13 @@ pro metis_l1_prep
fxaddpar
,
primary_header
,
'OBS_TYPE'
,
obs_type
,
'Encoded version of OBS_MODE'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'FILTER'
,
filter
,
'Filter used to acquire this image'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVELNTH'
,
wavelnth
,
'[nm] Characteristic wavelength of observation'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVEMIN'
,
wavemin
,
'[nm] Min. wavelength
where response > 0.05 of max.
'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVEMAX'
,
wavemax
,
'[nm] Max. wavelength
where response > 0.05 of max.
'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVEMIN'
,
wavemin
,
'[nm] Min.
bandpass
wavelength'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVEMAX'
,
wavemax
,
'[nm] Max.
bandpass
wavelength'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'WAVEBAND'
,
waveband
,
'Bandpass description'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'XPOSURE'
,
xposure
,
'[s] Total effective exposure time'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'NSUMEXP'
,
nsumexp
,
'Number of detector readouts summed together'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'TELAPSE'
,
telapse
,
'[s] Elapsed time
between beginning and end of
observation'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'SOOPNAME'
,
planning_data
.
soop_name
,
'Name of the SOOP
campaign
that the data belong to'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'TELAPSE'
,
telapse
,
'[s] Elapsed time
during
observation'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'SOOPNAME'
,
planning_data
.
soop_name
,
'Name of the SOOP that the data belong to'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'SOOPTYPE'
,
soop_type
,
'Campaign ID(s) that the data belong to'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'OBS_ID'
,
planning_data
.
obs_id
,
'Unique ID of the individual observation'
,
before
=
'DATAMIN'
fxaddpar
,
primary_header
,
'TARGET'
,
'TBD'
,
'Type of target from planning'
,
before
=
'DATAMIN'
...
...
@@ -308,16 +309,16 @@ pro metis_l1_prep
fxaddpar
,
primary_header
,
'DATAMIN'
,
min
(
data
,
/
nan
)
fxaddpar
,
primary_header
,
'DATAMAX'
,
max
(
data
,
/
nan
)
fxaddpar
,
primary_header
,
'IDB_VERS'
,
input
.
idb_version
,
''
,
before
=
'HDR_VERS'
fxaddpar
,
primary_header
,
'INFO_URL'
,
'http://metis.oato.inaf.it'
,
'Link to more information on the instrument
data
'
,
before
=
'HISTORY'
fxaddpar
,
primary_header
,
'INFO_URL'
,
'http://metis.oato.inaf.it'
,
'Link to more information on the instrument'
,
before
=
'HISTORY'
if
datatype
le
6
then
begin
fxaddpar
,
primary_header
,
'NBIN1'
,
bin_fact
,
'Binning factor in the dimension 1'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'NBIN2'
,
bin_fact
,
'Binning factor in the dimension 2'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'NBIN'
,
bin_fact
*
bin_fact
,
'Product of all NBIN values above'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXBEG1'
,
1
,
'First pixel
that has been
read out in dimension 1'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXBEG2'
,
1
,
'First pixel
that has been
read out in dimension 2'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXEND1'
,
naxis1
,
'Last pixel
that has been
read out in dimension 1'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXEND2'
,
naxis2
,
'Last pixel
that has been
read out in dimension 2'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXBEG1'
,
1
,
'First pixel read out in dimension 1'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXBEG2'
,
1
,
'First pixel read out in dimension 2'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXEND1'
,
naxis1
,
'Last pixel read out in dimension 1'
,
before
=
'COMPRESS'
fxaddpar
,
primary_header
,
'PXEND2'
,
naxis2
,
'Last pixel read out in dimension 2'
,
before
=
'COMPRESS'
endif
;
read
the
house
-
keeping
telemetry
...
...
This diff is collapsed.
Click to expand it.
metis_wcs.pro
+
4
−
4
View file @
6fd5ef52
...
...
@@ -204,19 +204,19 @@ function metis_wcs, header, cal_pack, ref_detector = ref_detector
wcs.add, { $
name: '
FS_XCEN
', $
value: crpix[0], $
comment: '
[
pixel
]
Metis
field
-
stop
center
location
along
axis
1
'}
comment: '
[
pixel
]
Metis
FS
center
location
along
axis
1
'}
wcs.add, { $
name: '
FS_YCEN
', $
value: crpix[1], $
comment: '
[
pixel
]
Metis
field
-
stop
center
location
along
axis
2
'}
comment: '
[
pixel
]
Metis
FS
center
location
along
axis
2
'}
wcs.add, { $
name: '
FSPIX1
', $
value: crpix[0], $
comment: '
[
pixel
]
Metis
field
-
stop
center
location
along
axis
1
'}
comment: '
[
pixel
]
Metis
FS
center
location
along
axis
1
'}
wcs.add, { $
name: '
FSPIX2
', $
value: crpix[1], $
comment: '
[
pixel
]
Metis
field
-
stop
center
location
along
axis
2
'}
comment: '
[
pixel
]
Metis
FS
center
location
along
axis
2
'}
wcs.add, { $
name: '
SC_XCEN
', $
value: pntpix[0], $
...
...
This diff is collapsed.
Click to expand it.
solo_get_ephemeris.pro
+
2
−
2
View file @
6fd5ef52
...
...
@@ -227,11 +227,11 @@ function solo_get_ephemeris, header, cal_pack
ephemerides
.
add
,
{
$
name
:
'DATE_EAR'
,
$
value
:
date_ear
,
$
comment
:
'[UTC]
S
tart time
of observation,
corrected to Earth'
}
comment
:
'[UTC]
Obs. s
tart time corrected to Earth'
}
ephemerides
.
add
,
{
$
name
:
'DATE_SUN'
,
$
value
:
date_sun
,
$
comment
:
'[UTC]
S
tart time
of observation,
corrected to Sun'
}
comment
:
'[UTC]
Obs. s
tart time corrected to Sun'
}
return
,
ephemerides
end
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