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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DataAssimilation
DART-WRF
Commits
74940ad3
Commit
74940ad3
authored
1 year ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
docs
parent
c83b650f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/jet.py
+2
-43
2 additions, 43 deletions
config/jet.py
config/srvx1.py
+2
-43
2 additions, 43 deletions
config/srvx1.py
config/vsc.py
+2
-42
2 additions, 42 deletions
config/vsc.py
with
6 additions
and
128 deletions
config/jet.py
+
2
−
43
View file @
74940ad3
import
os
,
sys
import
datetime
as
dt
"""
Cluster configuration file, see docstring of ClusterConfig class in dartwrf/utils.py for details
"""
from
dartwrf
import
utils
from
config.cfg
import
exp
"""
Configuration name docs
When coding, use attributes of a dictionary like this:
$ from cfg import exp, cluster
$ path = cluster.archivedir
attribute name | description
------------------------------------------------------
name any string (currently unused)
python path of python version to use
python_enstools path of python version to use for verification script (not provided)
ncks 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
'
)
ideal path to WRF
'
s ideal.exe
wrfexe path to WRF
'
s wrf.exe
wrf_rundir_base path for temporary files for WRF
dart_rundir_base path for temporary files for DART
archive_base path for long-time output storage
srcdir path to where WRF has been compiled, including the
'
run
'
folder of WRF, e.g. /home/WRF-4.3/run
dart_srcdir path to DART compile directory, e.g. /home/DART-9.11.9/models/wrf/work
rttov_srcdir path to RTTOV compile directory, e.g. /home/RTTOV13/rtcoef_rttov13/
scriptsdir path where DART-WRF scripts reside, e.g. /home/DART-WRF/scripts
namelist path to a namelist template; strings like <hist_interval>, will be overwritten in scripts/prepare_namelist.py
run_WRF path to script which runs WRF on a node of the cluster
obs_impact_filename path to obs_impact_filename (see DART guide; module assim_tools_mod and program obs_impact_tool)
geo_em path to NetCDF file of WRF domain (see WRF guide)
slurm_cfg 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
"
}
'
"""
from
dartwrf.exp_config
import
exp
cluster
=
utils
.
ClusterConfig
(
exp
)
cluster
.
name
=
'
jet
'
...
...
This diff is collapsed.
Click to expand it.
config/srvx1.py
+
2
−
43
View file @
74940ad3
import
os
,
sys
import
datetime
as
dt
"""
Cluster configuration file, see docstring of ClusterConfig class in dartwrf/utils.py for details
"""
from
dartwrf
import
utils
from
config.cfg
import
exp
"""
Configuration name docs
When coding, use attributes of a dictionary like this:
$ from cfg import exp, cluster
$ path = cluster.archivedir
attribute name | description
------------------------------------------------------
name any string (currently unused)
python path of python version to use
python_enstools path of python version to use for verification script (not provided)
ncks 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
'
)
ideal path to WRF
'
s ideal.exe
wrfexe path to WRF
'
s wrf.exe
wrf_rundir_base path for temporary files for WRF
dart_rundir_base path for temporary files for DART
archive_base path for long-time output storage
srcdir path to where WRF has been compiled, including the
'
run
'
folder of WRF, e.g. /home/WRF-4.3/run
dart_srcdir path to DART compile directory, e.g. /home/DART-9.11.9/models/wrf/work
rttov_srcdir path to RTTOV compile directory, e.g. /home/RTTOV13/rtcoef_rttov13/
scriptsdir path where DART-WRF scripts reside, e.g. /home/DART-WRF/scripts
namelist path to a namelist template; strings like <hist_interval>, will be overwritten in scripts/prepare_namelist.py
run_WRF path to script which runs WRF on a node of the cluster
obs_impact_filename path to obs_impact_filename (see DART guide; module assim_tools_mod and program obs_impact_tool)
overwrite_coordinates_with_geo_em if WRF ideal: path to NetCDF file of WRF domain (see WRF guide)
if WRF real: set to False
slurm_cfg 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
"
}
'
"""
from
dartwrf.exp_config
import
exp
cluster
=
utils
.
ClusterConfig
(
exp
)
cluster
.
name
=
'
srvx1
'
...
...
This diff is collapsed.
Click to expand it.
config/vsc.py
+
2
−
42
View file @
74940ad3
import
os
,
sys
import
datetime
as
dt
"""
Cluster configuration file, see docstring of ClusterConfig class in dartwrf/utils.py for details
"""
from
dartwrf
import
utils
from
config.cfg
import
exp
"""
Configuration name docs
When coding, use attributes of a dictionary like this:
$ from cfg import exp, cluster
$ path = cluster.archivedir
attribute name | description
------------------------------------------------------
name any string (currently unused)
python path of python version to use
python_enstools path of python version to use for verification script (not provided)
ncks 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
'
)
ideal path to WRF
'
s ideal.exe
wrfexe path to WRF
'
s wrf.exe
wrf_rundir_base path for temporary files for WRF
dart_rundir_base path for temporary files for DART
archive_base path for long-time output storage
srcdir path to where WRF has been compiled, including the
'
run
'
folder of WRF, e.g. /home/WRF-4.3/run
dart_srcdir path to DART compile directory, e.g. /home/DART-9.11.9/models/wrf/work
rttov_srcdir path to RTTOV compile directory, e.g. /home/RTTOV13/rtcoef_rttov13/
scriptsdir path where DART-WRF scripts reside, e.g. /home/DART-WRF/scripts
namelist path to a namelist template; strings like <hist_interval>, will be overwritten in scripts/prepare_namelist.py
run_WRF path to script which runs WRF on a node of the cluster
obs_impact_filename path to obs_impact_filename (see DART guide; module assim_tools_mod and program obs_impact_tool)
geo_em path to NetCDF file of WRF domain (see WRF guide)
slurm_cfg 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
"
}
'
"""
from
dartwrf.exp_config
import
exp
cluster
=
utils
.
ClusterConfig
(
exp
)
...
...
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