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
d874bd49
Commit
d874bd49
authored
2 years ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Download DWD's eccodes definitions.
parent
61f46d35
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Split prepare_rundir.sh into three different stages for the whole experiment,...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/build_icon.sh
+17
-0
17 additions, 0 deletions
templates/build_icon.sh
with
17 additions
and
0 deletions
templates/build_icon.sh
+
17
−
0
View file @
d874bd49
...
...
@@ -34,3 +34,20 @@ if [ $( spack find icon-nwp@${ICON_VERSION} &> /dev/null ; echo $? ) -ne 0 ]; th
else
echo
"icon-nwp@
${
ICON_VERSION
}
already installed!"
fi
# Need to get ECCODES DWD definitions:
eccodes_version
=
$(
spack find eccodes |
grep
eccodes@ |
cut
-d
"@"
-f
2
)
definitions_tar_file
=
eccodes_definitions.edzw-
${
eccodes_version
}
-1
.tar.bz2
if
[
!
-f
${
definitions_tar_file
}
]
;
then
:
defs_url
=
https://opendata.dwd.de/weather/lib/grib/
${
definitions_tar_file
}
wget
${
defs_url
}
# Decompress definitions file
tar
-xf
${
definitions_tar_file
}
# Create a file containing the environment variable that needs to be set in order to use DWD's definitions:
echo
"export ECCODES_DEFINITION_PATH=
${
WORKDIR
}
/definitions.edzw-
${
eccodes_version
}
-1"
>
eccodes_defs.env
fi
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