HWRF  trunk@4391
Classes | Variables
hwrf.fcsttask Namespace Reference

Runs the real_nmm or wrf executables. More...

Detailed Description

Runs the real_nmm or wrf executables.

This module, contrary to its name, implements HWRFTask classes to run the real_nmm and WRF, including tasks to make the the wrfanl and ghost files. The uncoupled forecast is found in the WRFAtmos class. The coupled forecast is not in this module: it is hwrf.mpipomtc instead.

All classes you will want to use derive from WRFTaskBase and FcstTask, classes that exist solely to simplify later code. These are the classes you will want to use:

All of these classes take input from one another, or from other sources. The abstract base class FcstTask keeps track of those through its FcstTask.add_input() function. The WRFTaskBase class provides simple functions to call add_input for you. Those inputs are stored in objects of class Input2Fcst and its subclasses:

Classes

class  AnalysisCycle
 runs wrf for an analysis cycle More...
 
class  FcstTask
 abstract base class of anything that runs or prepares input for a forecast model More...
 
class  Fort652WRF
 Links real_nmm fort.65 files the current directory for a wrf run. More...
 
class  Geog2WRF
 Links Geogrid data to the current directory for a wrf or real_nmm run. More...
 
class  Input2Fcst
 abstract base class of wrf/real_nmm input providers More...
 
class  Met2WRF
 Links Metgrid data to the current directory for a wrf or real_nmm run. More...
 
class  Prep2WRF
 Links prep_hybrid files to the current directory for a real_nmm run. More...
 
class  RealNMM
 a HWRFTask subclass that runs real_nmm More...
 
class  WRFAnl
 runs a short WRF simulation to generate wrfanl files More...
 
class  WRFAnl2WRF
 Links wrfanl or ghost files the current directory for a wrf run. More...
 
class  WRFAnl4Trak
 runs wrfanl and generates a track file More...
 
class  WRFAtmos
 The uncoupled HWRF forecast Task. More...
 
class  WRFBdy2WRF
 Links real_nmm wrfbdy_d01 files the current directory for a wrf run. More...
 
class  WRFGhost
 runs a short WRF simulation to generate wrfanl files named "ghost" More...
 
class  WRFGhostForPost
 runs wrf to generate ghost (wrfanl) and wrfout files More...
 
class  WRFInput2WRF
 Links real_nmm wrfinput_d01 files the current directory for a wrf run. More...
 
class  WRFTaskBase
 base class of classes that run wrf or real_nmm More...
 

Variables

list __all__ = ['FcstTask']
 List of variables imported by "from hwrf.fcsttask import *".
 
tuple anl_fudge_factor = fractions.Fraction(2,3)
 tricks wrf into outputting child domains' data This is used by WRFAnl.make_wrf() to modify the simulation end time in order to trick the WRF into outputting child domains' data. More...
 
tuple JUST_MOAD = object()
 request only the outermost domain More...
 
tuple ALL_DOMS = object()
 request all domains More...
 

Variable Documentation

tuple hwrf.fcsttask.ALL_DOMS = object()

request all domains

Special value for the trakdoms argument to WRFAnl4Trak.__init__(). Requests that all domains be used in generating the parent model track

Definition at line 1340 of file fcsttask.py.

tuple hwrf.fcsttask.anl_fudge_factor = fractions.Fraction(2,3)

tricks wrf into outputting child domains' data This is used by WRFAnl.make_wrf() to modify the simulation end time in order to trick the WRF into outputting child domains' data.

Definition at line 1204 of file fcsttask.py.

tuple hwrf.fcsttask.JUST_MOAD = object()

request only the outermost domain

Special value for the trakdoms argument to WRFAnl4Trak.__init__(). Requests that only the outermost domain be used in generating the parent model track

Definition at line 1334 of file fcsttask.py.