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
3a040625
Commit
3a040625
authored
6 years ago
by
Bruce Flynn
Browse files
Options
Downloads
Patches
Plain Diff
rdrgen: support j01
parent
ea321929
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edosl0util/rdrgen.py
+9
-3
9 additions, 3 deletions
edosl0util/rdrgen.py
with
9 additions
and
3 deletions
edosl0util/rdrgen.py
+
9
−
3
View file @
3a040625
...
...
@@ -639,7 +639,7 @@ def make_rdr_filename(rdr_types, sat, aggr_begin, aggr_end, orbit_num, creation_
aggr_begin
=
iet_to_datetime
(
aggr_begin
)
aggr_end
=
iet_to_datetime
(
aggr_end
)
prod_ids
=
'
-
'
.
join
(
sorted
(
t
.
product_id
for
t
in
rdr_types
))
sat
=
{
'
snpp
'
:
'
npp
'
}[
sat
]
sat
=
{
'
snpp
'
:
'
npp
'
,
'
j01
'
:
'
j01
'
}[
sat
]
if
origin
.
endswith
(
'
-
'
):
origin
=
origin
[:
-
1
]
+
(
'
c
'
if
compressed
else
'
u
'
)
...
...
@@ -698,6 +698,12 @@ def get_overlapping_granules(sat, gran_len, start_iet, stop_iet):
return
rv
satellite_base_times
=
{
'
snpp
'
:
1698019234000000
}
platform_short_names
=
{
'
snpp
'
:
'
NPP
'
}
satellite_base_times
=
{
'
snpp
'
:
1698019234000000
,
'
j01
'
:
1698019234000000
,
}
platform_short_names
=
{
'
snpp
'
:
'
NPP
'
,
'
j01
'
:
'
J01
'
,
}
instrument_short_names
=
{
'
viirs
'
:
'
VIIRS
'
,
'
cris
'
:
'
CrIS
'
,
'
atms
'
:
'
ATMS
'
,
None
:
'
SPACECRAFT
'
}
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