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
d8faacf5
Commit
d8faacf5
authored
1 year ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
scriptsdir is now dartwrf_dir
parent
182508fd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/jet.py
+3
-3
3 additions, 3 deletions
config/jet.py
dartwrf/utils.py
+3
-4
3 additions, 4 deletions
dartwrf/utils.py
with
6 additions
and
7 deletions
config/jet.py
+
3
−
3
View file @
d8faacf5
...
...
@@ -69,12 +69,12 @@ cluster.archive_base = '/jetfs/home/lkugler/data/sim_archive/'
cluster
.
srcdir
=
'
/jetfs/home/lkugler/data/compile/WRF-4.3/run
'
cluster
.
dart_srcdir
=
'
/jetfs/home/lkugler/data/compile/DART/DART-10.5.3/models/wrf/work
'
cluster
.
rttov_srcdir
=
'
/jetfs/home/lkugler/data/compile/RTTOV13/rtcoef_rttov13/
'
cluster
.
scripts
dir
=
'
/jetfs/home/lkugler/DART-WRF/
dartwrf/
'
cluster
.
dartwrf_
dir
=
'
/jetfs/home/lkugler/DART-WRF/
'
# other inputs
cluster
.
geo_em_for_WRF_ideal
=
'
/jetfs/home/lkugler/data/geo_em.d01.nc
'
cluster
.
obs_impact_filename
=
cluster
.
scripts
dir
+
'
/
../
templates/impactfactor_T.txt
'
cluster
.
namelist
=
cluster
.
scripts
dir
+
'
/
../
templates/namelist.input
'
cluster
.
obs_impact_filename
=
cluster
.
dartwrf_
dir
+
'
/templates/impactfactor_T.txt
'
cluster
.
namelist
=
cluster
.
dartwrf_
dir
+
'
/templates/namelist.input
'
cluster
.
run_WRF
=
'
/jetfs/home/lkugler/DART-WRF/dartwrf/run_ens.jet.sh
'
cluster
.
slurm_cfg
=
{
"
account
"
:
"
lkugler
"
,
"
partition
"
:
"
compute
"
,
#"nodelist": "jet07",
...
...
This diff is collapsed.
Click to expand it.
dartwrf/utils.py
+
3
−
4
View file @
d8faacf5
...
...
@@ -34,14 +34,13 @@ class ClusterConfig(object):
"""
Path to the directory where the DART-WRF scripts are executed
Note:
If you want to execute scripts from the folder where you develop code, use `self.dartwrf_dir`
If you want to execute scripts from the folder where you develop code, use `self.dartwrf_dir`
(not sure if this works)
If you want to execute the code from a different place (
'
research
'
), then use `self.archivedir+
'
/DART-WRF/
'
`
Example:
`/user/data/sim_archive/DART-WRF/`
`/user/data/sim_archive/DART-WRF/
dartwrf/
`
"""
# return self.dartwrf_dir
return
self
.
archivedir
+
'
/DART-WRF/
'
return
self
.
archivedir
+
'
/DART-WRF/dartwrf/
'
@property
def
dart_rundir
(
self
):
...
...
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