Skip to content
Snippets Groups Projects
Commit 9e5c3062 authored by lkugler's avatar lkugler
Browse files

docs

parent 6b01d6dc
No related branches found
No related tags found
No related merge requests found
"""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
......
"""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
take 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
Takes 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
......
......@@ -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 wrfinput
"""Add geogrid data to a wrfout file
DART needs a georeference, but ideal.exe does not provide it
Takes LAT,LON, mapfac from geogrid, so that they are consistent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment