Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CTDAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
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
CTDAS
CTDAS
Commits
4343ca4e
Commit
4343ca4e
authored
11 years ago
by
Peters, Wouter
Browse files
Options
Downloads
Patches
Plain Diff
extra analysis added for time averaged file creation
parent
f72f98d6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template.py
+26
-8
26 additions, 8 deletions
template.py
with
26 additions
and
8 deletions
template.py
+
26
−
8
View file @
4343ca4e
...
@@ -28,6 +28,7 @@ from da.tm5.observationoperator import TM5ObservationOperator
...
@@ -28,6 +28,7 @@ from da.tm5.observationoperator import TM5ObservationOperator
from
da.analysis.expand_fluxes
import
save_weekly_avg_1x1_data
,
save_weekly_avg_state_data
,
save_weekly_avg_tc_data
,
save_weekly_avg_ext_tc_data
,
save_weekly_avg_agg_data
from
da.analysis.expand_fluxes
import
save_weekly_avg_1x1_data
,
save_weekly_avg_state_data
,
save_weekly_avg_tc_data
,
save_weekly_avg_ext_tc_data
,
save_weekly_avg_agg_data
from
da.analysis.expand_molefractions
import
write_mole_fractions
from
da.analysis.expand_molefractions
import
write_mole_fractions
from
da.analysis.summarize_obs
import
summarize_obs
from
da.analysis.summarize_obs
import
summarize_obs
from
da.analysis.time_avg_fluxes
import
time_avg
#################################################################################################
#################################################################################################
# Parse and validate the command line options, start logging
# Parse and validate the command line options, start logging
...
@@ -73,14 +74,31 @@ ensemble_smoother_pipeline(dacycle, platform, dasystem, samples, statevector, ob
...
@@ -73,14 +74,31 @@ ensemble_smoother_pipeline(dacycle, platform, dasystem, samples, statevector, ob
logging
.
info
(
header
+
"
Starting analysis
"
+
footer
)
logging
.
info
(
header
+
"
Starting analysis
"
+
footer
)
save_weekly_avg_1x1_data
(
dacycle
,
statevector
)
try
:
save_weekly_avg_state_data
(
dacycle
,
statevector
)
save_weekly_avg_1x1_data
(
dacycle
,
statevector
)
save_weekly_avg_tc_data
(
dacycle
,
statevector
)
save_weekly_avg_state_data
(
dacycle
,
statevector
)
save_weekly_avg_ext_tc_data
(
dacycle
)
except
:
save_weekly_avg_agg_data
(
dacycle
,
region_aggregate
=
'
olson
'
)
pass
save_weekly_avg_agg_data
(
dacycle
,
region_aggregate
=
'
transcom
'
)
try
:
write_mole_fractions
(
dacycle
)
save_weekly_avg_tc_data
(
dacycle
,
statevector
)
summarize_obs
(
dacycle
)
save_weekly_avg_ext_tc_data
(
dacycle
)
except
:
pass
try
:
save_weekly_avg_agg_data
(
dacycle
,
region_aggregate
=
'
transcom
'
)
save_weekly_avg_agg_data
(
dacycle
,
region_aggregate
=
'
olson
'
)
except
:
pass
try
:
time_avg
(
dacycle
,
'
transcom
'
)
time_avg
(
dacycle
,
'
olson
'
)
except
:
pass
try
:
write_mole_fractions
(
dacycle
)
summarize_obs
(
dacycle
)
except
:
pass
sys
.
exit
(
0
)
sys
.
exit
(
0
)
...
...
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