Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoicon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
w2w
autoicon
Commits
bed6df09
Commit
bed6df09
authored
2 years ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Providing the proper arguments to fg_ana_from_idealized.py
parent
0ded11ff
No related branches found
No related tags found
1 merge request
!3
Refactor folder structure. Putting configuration files and namelists inside...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/real-from-ideal/fg_ana_from_idealized.py
+1
-6
1 addition, 6 deletions
templates/real-from-ideal/fg_ana_from_idealized.py
with
1 addition
and
6 deletions
templates/real-from-ideal/fg_ana_from_idealized.py
+
1
−
6
View file @
bed6df09
...
...
@@ -13,11 +13,6 @@ arguments = ["--input", f"{RUNDIR.as_posix()}/init-test_DOM01_ML_0001.nc",
"
--out-ana
"
,
f
"
{
RUNDIR
.
as_posix
()
}
/init-test-ana_DOM01_ML_0001.nc
"
,
]
"""
--input ../01-idealized-run/init-test_DOM01_ML_0001.nc
\
--out-fg init-test-fg_DOM01_ML_0001.nc
\
--out-ana init-test-ana_DOM01_ML_0001.nc
"""
##################################################################################################################
"""
...
...
@@ -178,7 +173,7 @@ if __name__ == "__main__":
parser
.
add_argument
(
"
--out-fg
"
,
required
=
True
,
help
=
"
output file for first guess variables.
"
)
parser
.
add_argument
(
"
--out-ana
"
,
required
=
True
,
help
=
"
output file for analysis variables.
"
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
(
arguments
)
# read input file
input
=
read
(
args
.
input
)
...
...
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