HWRF  trunk@4391
Public Member Functions | List of all members
hwrf.fcsttask.Prep2WRF Class Reference

Links prep_hybrid files to the current directory for a real_nmm run. More...

Detailed Description

Links prep_hybrid files to the current directory for a real_nmm run.

This class links prep_hybrid files to the current directory for a real_nmm run. The files must come from some source object, specified in the src argument to init. That object must have a products() function that behaves like hwrf.prep.PrepHybrid.products() when called with a time= and name= argument.

Definition at line 317 of file fcsttask.py.

Inheritance diagram for hwrf.fcsttask.Prep2WRF:
hwrf.fcsttask.Input2Fcst

Public Member Functions

def get_inputs (self, logger, times, just_check=False, kwargs)
 Links prep_hybrid output files for the specified time index. More...
 
- Public Member Functions inherited from hwrf.fcsttask.Input2Fcst
def __init__ (self, src)
 creates a new Input2Fcst with the specified src. More...
 
def get_inputs (self, just_check=False, kwargs)
 copies or links input files. More...
 
def link_product
 helper function that links data More...
 

Additional Inherited Members

- Public Attributes inherited from hwrf.fcsttask.Input2Fcst
 src
 the implementation-defined source, used by subclasses
 

Member Function Documentation

def hwrf.fcsttask.Prep2WRF.get_inputs (   self,
  logger,
  times,
  just_check = False,
  kwargs 
)

Links prep_hybrid output files for the specified time index.

If just_check=True, checks for the input product's availability. Otherwise, links the data using Input2Fcst.link_product to the filename "fort.65" in the current working directory. Raises WRFPrepMissing if the data is missing.

Parameters
timesa list of integers, 0 for the initial time, 1 for the first boundary input time, and so on.
loggera logging.Logger for logging messages
just_checkif True, just check for data, otherwise link it
kwargsignored

Definition at line 327 of file fcsttask.py.

Referenced by hwrf.mpipomtc.POMInit.run().


The documentation for this class was generated from the following file: