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
ab5a2aca
Commit
ab5a2aca
authored
4 years ago
by
Luijkx, Ingrid
Browse files
Options
Downloads
Patches
Plain Diff
Updated template for new structure
parent
eeef4a56
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
templates/template.py
+3
-4
3 additions, 4 deletions
templates/template.py
with
4 additions
and
5 deletions
.gitignore
+
1
−
1
View file @
ab5a2aca
# Exclude the files created from the templates:
templates/*
#
templates/*
# Exclude compiled files
da/**/__pycache__/
da/**/*.pyc
...
...
This diff is collapsed.
Click to expand it.
templates/template.py
+
3
−
4
View file @
ab5a2aca
...
...
@@ -25,13 +25,12 @@ sys.path.append(os.getcwd())
# Next, import the tools needed to initialize a data assimilation cycle
#################################################################################################
from
da.
to
ol
s
.initexit
import
start_logger
,
validate_opts_args
,
parse_options
,
CycleControl
from
da.
cyclecontr
ol.initexit
_cteco2
import
start_logger
,
validate_opts_args
,
parse_options
,
CycleControl
from
da.pipelines.pipeline_cteco2
import
ensemble_smoother_pipeline
,
header
,
footer
,
analysis_pipeline
,
archive_pipeline
from
da.dasystems.dasystem_cteco2
import
CO2DaSystem
from
da.platform.cartesius
import
CartesiusPlatform
from
da.statevectors.statevectorNHgridded_cteco2
import
CO2GriddedStateVector
from
da.observations.obspack_globalviewplus_2020
import
ObsPackObservations
from
da.observations.column_obs
import
TotalColumnObservations
from
da.observations.obs_gvp_co2
import
ObsPackObservations
from
da.obsoperators.observationoperator_tm5_cteco2
import
TM5ObservationOperator
from
da.optimizers.optimizer_cteco2
import
CO2Optimizer
...
...
@@ -53,7 +52,7 @@ dacycle = CycleControl(opts, args)
platform
=
CartesiusPlatform
()
dasystem
=
CO2DaSystem
(
dacycle
[
'
da.system.rc
'
])
obsoperator
=
TM5ObservationOperator
(
dacycle
[
'
da.obsoperator.rc
'
])
samples
=
[
ObsPackObservations
()
,
TotalColumnObservations
()
]
samples
=
[
ObsPackObservations
()]
statevector
=
CO2GriddedStateVector
()
optimizer
=
CO2Optimizer
()
...
...
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