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
a9c1aeca
Commit
a9c1aeca
authored
2 years ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Fix an_member in proj.conf and prepare_rundir
parent
0e88724c
No related branches found
No related tags found
1 merge request
!2
Split prepare_rundir.sh into three different stages for the whole experiment,...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/proj.yaml
+1
-2
1 addition, 2 deletions
conf/proj.yaml
templates/prepare_rundir.sh
+3
-3
3 additions, 3 deletions
templates/prepare_rundir.sh
with
4 additions
and
5 deletions
conf/proj.yaml
+
1
−
2
View file @
a9c1aeca
...
...
@@ -22,5 +22,4 @@ data_management:
initial_conditions
:
parent_folder
:
/archive/meteo/external-models/dwd/icon/oper/icon_oper_eps_gridded-global_rolling/
# member needs to be an string of three characters!
member
:
"
001"
\ No newline at end of file
member
:
1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/prepare_rundir.sh
+
3
−
3
View file @
a9c1aeca
...
...
@@ -47,7 +47,7 @@ function download_file() {
# some settings
MEMBER
=
%initial_conditions.member%
AN_
MEMBER
=
$(
printf
"%03d"
%initial_conditions.member%
)
INITIAL_CONDITIONS_PARENT_FOLDER
=
%initial_conditions.parent_folder%
INITIAL_CONDITIONS_PATH
=
${
INITIAL_CONDITIONS_PARENT_FOLDER
}
/
${
STARTDATE
:0:6
}
/
${
STARTDATE
:0:8
}
T00
...
...
@@ -55,8 +55,8 @@ INITIAL_CONDITIONS_PATH=${INITIAL_CONDITIONS_PARENT_FOLDER}/${STARTDATE:0:6}/${S
#FG_FILE=igfff00030000.m${MEMBER}.grb
AN_SOURCE
=
$(
find
${
INITIAL_CONDITIONS_PATH
}
-name
igfff00030000.m
${
MEMBER
}
.grb |
sort
|
tail
-n
1
)
FG_SOURCE
=
$(
find
${
INITIAL_CONDITIONS_PATH
}
-name
"igaf*00.m
${
MEMBER
}
.grb"
|
sort
|
tail
-n
1
)
AN_SOURCE
=
$(
find
${
INITIAL_CONDITIONS_PATH
}
-name
igfff00030000.m
${
AN_
MEMBER
}
.grb |
sort
|
tail
-n
1
)
FG_SOURCE
=
$(
find
${
INITIAL_CONDITIONS_PATH
}
-name
"igaf*00.m
${
AN_
MEMBER
}
.grb"
|
sort
|
tail
-n
1
)
if
[
!
-f
"
${
AN_SOURCE
}
"
]
;
then
echo
"Analysis file for date
${
STARTDATE
}
not found!"
...
...
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