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
9e5c3062
Commit
9e5c3062
authored
1 year ago
by
lkugler
Browse files
Options
Downloads
Patches
Plain Diff
docs
parent
6b01d6dc
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
dartwrf/prepare_wrfrundir.py
+6
-2
6 additions, 2 deletions
dartwrf/prepare_wrfrundir.py
dartwrf/wrfinput_add_geo.py
+4
-4
4 additions, 4 deletions
dartwrf/wrfinput_add_geo.py
dartwrf/wrfout_add_geo.py
+1
-1
1 addition, 1 deletion
dartwrf/wrfout_add_geo.py
with
11 additions
and
7 deletions
dartwrf/prepare_wrfrundir.py
+
6
−
2
View file @
9e5c3062
"""
Prepare WRF run directories, to use wrf.exe then
"""
Prepare WRF run directories, to use wrf.exe later
Creates a directory where WRF will run (temporary);
Creates softlinks from WRF
'
s `run/` directory;
Links executables set in `cluster.ideal` and `cluster.wrfexe`;
If `exp.input_profile` is set, links the input profiles.
Args:
init_time (str): YYYY-MM-DD_HH:MM
init_time (str):
Initialization time in format
YYYY-MM-DD_HH:MM
Returns:
None
...
...
This diff is collapsed.
Click to expand it.
dartwrf/wrfinput_add_geo.py
+
4
−
4
View file @
9e5c3062
"""
Add geogrid data to wrfinput
this is needed for DART, but not provided by ideal.exe
"""
Add geogrid data to wrfinput
.
DART needs a georeference, but ideal.exe does not provide it
t
ake LAT,LON, mapfac from geogrid, so that they are consistent.
do
not change E, F, HGT_M as they would alter the dynamics and have no impact on assimilation
T
ake
s
LAT,LON, mapfac from geogrid, so that they are consistent.
Does
not change E, F, HGT_M as they would alter the dynamics and have no impact on assimilation
example call:
./wrfinput_add_geo.py geo_em.d01.nc wrfinput_d01
...
...
This diff is collapsed.
Click to expand it.
dartwrf/wrfout_add_geo.py
+
1
−
1
View file @
9e5c3062
...
...
@@ -8,7 +8,7 @@ fields_new = ["XLAT", "XLONG", "CLAT",
"
XLONG_U
"
,
"
XLONG_V
"
,
"
XLAT_U
"
,
"
XLAT_V
"
]
def
run
(
geo_data_file
,
wrfout_file
):
"""
Add geogrid data to wrf
input
"""
Add geogrid data to
a
wrf
out file
DART needs a georeference, but ideal.exe does not provide it
Takes LAT,LON, mapfac from geogrid, so that they are consistent.
...
...
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