Create namelists, monitor wrf simulations, generate filenames. More...
Create namelists, monitor wrf simulations, generate filenames.
This module contains classes that manipulate WRF namelists in complex ways, and predict the resulting output and input filenames regardless of whatever crazy timesteps are requested. This module also contains a class, ExternalWRFTask, that can monitor a running WRF simulation, providing a list of output and input files, and check whether the simulation has completed, failed or is still running.
Classes | |
class | ExternalWRFTask |
monitors a running wrf simulation More... | |
class | WRFDomain |
A domain in a WRF simulation. More... | |
class | WRFSimulation |
generate and manipulate wrf namelists, predict output filenames More... | |
Functions | |
def | default_wrf_outname (stream) |
default wrf output filename patterns More... | |
Variables | |
list | __all__ = ['default_wrf_outname','WRFDomain','WRFSimulation','ExternalWRFTask'] |
the list of symbols output by "from hwrf.wrf import *" | |
tuple | _wrf_namelist_order = partial_ordering(['time_control','fdda','domains','physics','dynamics','bdy_control','namelist_quilt','logging'],6) |
Default ordering of WRF namelist sections and namelist variables when calling WRF.namelist. More... | |
dictionary | _wrf_nl_var_order |
a mapping of WRF namelist name to a mapping of known variables within that namelist. More... | |
def hwrf.wrf.default_wrf_outname | ( | stream | ) |
default wrf output filename patterns
Generate a reasonable default wrf outname input value for the specified stream. Presently, these match the WRF defaults. These do not have to match the WRF defaults since we always specify the outname for all streams.
stream | the stream |
Definition at line 31 of file wrf.py.
Referenced by hwrf.wrf.WRFDomain.add_output().
hwrf.wrf._wrf_namelist_order = partial_ordering(['time_control','fdda','domains','physics','dynamics','bdy_control','namelist_quilt','logging'],6) |