Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fusion_matlab
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
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
geoffc_sips
fusion_matlab
Commits
9d07e3d6
Commit
9d07e3d6
authored
7 years ago
by
Geoff Cureton
Browse files
Options
Downloads
Patches
Plain Diff
First computations of the fusion_matlab package on the cluster.
parent
de93d0af
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
submit_fusion_matlab.py
+5
-17
5 additions, 17 deletions
submit_fusion_matlab.py
with
5 additions
and
17 deletions
submit_fusion_matlab.py
+
5
−
17
View file @
9d07e3d6
...
...
@@ -4,7 +4,7 @@ import traceback
import
logging
from
flo.time
import
TimeInterval
from
flo.ui
import
local_prepare
,
local_execute
from
flo.ui
import
safe_submit_order
from
flo.sw.fusion_matlab
import
FUSION_MATLAB
from
flo.sw.fusion_matlab.utils
import
setup_logging
...
...
@@ -21,23 +21,11 @@ satellite = 'snpp'
delivery_id
=
'
20170831-1
'
# Specify the intervals
granule
=
datetime
(
2015
,
4
,
17
,
0
,
0
)
wedge
=
timedelta
(
seconds
=
1.
)
intervals
=
[
# TimeInterval(datetime(2014, 1, 1, 0, 0), datetime(2014, 2, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 2, 1, 0, 0), datetime(2014, 3, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 3, 1, 0, 0), datetime(2014, 4, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 4, 1, 0, 0), datetime(2014, 5, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 5, 1, 0, 0), datetime(2014, 6, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 6, 1, 0, 0), datetime(2014, 7, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 7, 1, 0, 0), datetime(2014, 8, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 8, 1, 0, 0), datetime(2014, 9, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 9, 1, 0, 0), datetime(2014, 10, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 10, 1, 0, 0), datetime(2014, 11, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 11, 1, 0, 0), datetime(2014, 12, 1, 0, 0) - wedge),
#TimeInterval(datetime(2014, 12, 1, 0, 0), datetime(2015, 1, 1, 0, 0) - wedge)
# TimeInterval(datetime(2014, 1, 1, 0, 0), datetime(2014, 2, 1, 0, 0) - wedge)
#TimeInterval(datetime(2016, 5, 17, 5, 30), datetime(2016, 5, 17, 6, 0) - wedge),
TimeInterval
(
datetime
(
2016
,
5
,
18
,
3
,
36
),
datetime
(
2016
,
5
,
18
,
3
,
49
)
-
wedge
)
#TimeInterval(granule, granule + timedelta(hours=1) - wedge)
TimeInterval
(
granule
,
granule
+
timedelta
(
days
=
1
)
-
wedge
)
]
LOG
.
info
(
"
Submitting intervals...
"
)
...
...
@@ -54,5 +42,5 @@ for interval in intervals:
LOG
.
info
(
"
\t
First context: {}
"
.
format
(
contexts
[
0
]))
LOG
.
info
(
"
\t
Last context: {}
"
.
format
(
contexts
[
-
1
]))
#
LOG.info("\t{}".format(safe_submit_order(comp, [comp.dataset('fused_l1b')], contexts))
LOG
.
info
(
"
\t
{}
"
.
format
(
safe_submit_order
(
comp
,
[
comp
.
dataset
(
'
fused_l1b
'
)],
contexts
))
)
#time.sleep(30.)
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