Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DART-WRF
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DataAssimilation
DART-WRF
Commits
5d3e899a
Commit
5d3e899a
authored
3 years ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
docs
parent
4595affa
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/clusters.py
+34
-3
34 additions, 3 deletions
config/clusters.py
scripts/prepare_wrfrundir.py
+0
-0
0 additions, 0 deletions
scripts/prepare_wrfrundir.py
with
34 additions
and
3 deletions
config/clusters.py
+
34
−
3
View file @
5d3e899a
...
@@ -2,7 +2,7 @@ import os, sys
...
@@ -2,7 +2,7 @@ import os, sys
import
datetime
as
dt
import
datetime
as
dt
class
ClusterConfig
(
object
):
class
ClusterConfig
(
object
):
"""
Helper class
"""
"""
Helper class
, contains useful abbreviations to use in code later on
"""
def
__init__
(
self
):
def
__init__
(
self
):
pass
pass
...
@@ -23,7 +23,38 @@ class ClusterConfig(object):
...
@@ -23,7 +23,38 @@ class ClusterConfig(object):
#######################################################################################
#######################################################################################
"""
Configuration name docs
Use attributes of a dictionary like this: `path = vsc.archivedir`
attribute name | publicly usable | description
------------------------------------------------------
name yes any custom name (currently unused)
python yes path of python version to use
python_enstools no path of python version to use for verification script (not provided)
ncks yes path to
'
ncks
'
program; type
'
which ncks
'
to find the path,
if it doesn
'
t exist, try to load the module first (
'
module load nco
'
)
tmpfiledir yes path to directory where the
'
run_WRF
'
directory is created
necessary to run WRF forecasts
userdir no path to user
'
s directory
srcdir yes path to where WRF has been compiled
including the
'
run
'
folder of WRF, e.g. /home/WRF-4.3/run
archive_base yes path where to write output to
in there, one folder will be created for every experiment
dart_srcdir yes path to DART compile directory, e.g. /home/DART-9.11.9/models/wrf/work
rttov_srcdir yes path to RTTOV compile directory, e.g. /home/RTTOV13/rtcoef_rttov13/
scriptsdir yes path where DART-WRF scripts reside, e.g. /home/DART-WRF/scripts
ideal yes path to WRF
'
s ideal.exe
wrfexe yes path to WRF
'
s wrf.exe
namelist yes path to a namelist template; strings like <hist_interval>
will be overwritten in scripts/prepare_namelist.py
run_WRF yes path to script which runs WRF on a node of the cluster
slurm_cfg yes python dictionary, containing options of SLURM
defined in SLURM docs (https://slurm.schedmd.com/sbatch.html)
this configuration can be overwritten later on, for example:
'
dict(cluster.slurm_cfg, **cfg_update)
'
where
'
cfg_update = {
"
nodes
"
:
"
2
"
}
'
"""
vsc
=
ClusterConfig
()
vsc
=
ClusterConfig
()
vsc
.
name
=
'
vsc
'
vsc
.
name
=
'
vsc
'
...
@@ -39,7 +70,7 @@ vsc.rttov_srcdir = '/gpfs/data/fs71386/lkugler/compile/RTTOV13/rtcoef_rttov13/'
...
@@ -39,7 +70,7 @@ vsc.rttov_srcdir = '/gpfs/data/fs71386/lkugler/compile/RTTOV13/rtcoef_rttov13/'
vsc
.
scriptsdir
=
'
/home/fs71386/lkugler/DART-WRF/scripts/
'
vsc
.
scriptsdir
=
'
/home/fs71386/lkugler/DART-WRF/scripts/
'
vsc
.
ideal
=
vsc
.
userdir
+
'
/compile/bin/ideal-v4.2.2_v1.16.exe
'
vsc
.
ideal
=
vsc
.
userdir
+
'
/compile/bin/ideal-v4.2.2_v1.16.exe
'
vsc
.
wrfexe
=
vsc
.
userdir
+
'
/compile/bin/wrf-v4.3_v1.1
6
.exe
'
vsc
.
wrfexe
=
vsc
.
userdir
+
'
/compile/bin/wrf-v4.3_v1.1
9
.exe
'
vsc
.
namelist
=
vsc
.
scriptsdir
+
'
/../templates/namelist.input
'
vsc
.
namelist
=
vsc
.
scriptsdir
+
'
/../templates/namelist.input
'
vsc
.
run_WRF
=
'
/home/fs71386/lkugler/DART-WRF/scripts/run_ens.vsc.sh
'
vsc
.
run_WRF
=
'
/home/fs71386/lkugler/DART-WRF/scripts/run_ens.vsc.sh
'
...
...
This diff is collapsed.
Click to expand it.
scripts/prepare_wrf
input
.py
→
scripts/prepare_wrf
rundir
.py
+
0
−
0
View file @
5d3e899a
File moved
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