Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EdosL0Util
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SIPS
EdosL0Util
Commits
d578721b
Commit
d578721b
authored
9 years ago
by
Bruce Flynn
Browse files
Options
Downloads
Patches
Plain Diff
All AMSU sequence_group types will used Gird headers
parent
f2957f71
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edosl0util/headers.py
+9
-11
9 additions, 11 deletions
edosl0util/headers.py
with
9 additions
and
11 deletions
edosl0util/headers.py
+
9
−
11
View file @
d578721b
...
@@ -104,18 +104,16 @@ class SpacecraftBusSecondaryHeader(BaseStruct):
...
@@ -104,18 +104,16 @@ class SpacecraftBusSecondaryHeader(BaseStruct):
def
amsu_headers
():
def
amsu_headers
():
return
{
apids
=
[
# AMSU-A1
# AMSU-A1
(
257
,
GROUP_FIRST
):
GirdSecondaryHeader
,
257
,
259
,
260
,
261
,
262
,
(
259
,
GROUP_FIRST
):
GirdSecondaryHeader
,
(
260
,
GROUP_FIRST
):
GirdSecondaryHeader
,
(
261
,
GROUP_FIRST
):
GirdSecondaryHeader
,
(
262
,
GROUP_FIRST
):
GirdSecondaryHeader
,
# AMSU-A2
# AMSU-A2
(
288
,
GROUP_FIRST
):
GirdSecondaryHeader
,
288
,
289
,
290
(
289
,
GROUP_FIRST
):
GirdSecondaryHeader
,
]
(
290
,
GROUP_STANDALONE
):
GirdSecondaryHeader
,
flags
=
[
GROUP_FIRST
,
GROUP_CONTINUING
,
GROUP_LAST
,
GROUP_STANDALONE
]
}
return
{(
apid
,
flag
):
GirdSecondaryHeader
for
apid
in
apids
for
flag
in
flags
}
def
airs_headers
():
def
airs_headers
():
...
@@ -218,7 +216,7 @@ def jpss_header_lookup(primary_header):
...
@@ -218,7 +216,7 @@ def jpss_header_lookup(primary_header):
_aqua_headers
=
aqua_headers
()
_aqua_headers
=
aqua_headers
()
def
aqua_header_lookup
(
primary_header
):
def
aqua_header_lookup
(
primary_header
):
# noqa
apid
=
primary_header
.
apid
apid
=
primary_header
.
apid
grouping
=
primary_header
.
sequence_grouping
grouping
=
primary_header
.
sequence_grouping
return
_aqua_headers
.
get
((
apid
,
grouping
))
return
_aqua_headers
.
get
((
apid
,
grouping
))
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