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

Links Metgrid data to the current directory for a wrf or real_nmm run. More...

Detailed Description

Links Metgrid data to the current directory for a wrf or real_nmm run.

This class links metgrid.exe output data to the current directory for a wrf or real_nmm execution. The output data is taken from some source object, sent to the src argument of init. That object must have a met_at_time(ftime) function that can provide a Product for metgrid data at a specific forecast time (such as hwrf.wps.Metgrid.met_at_time())

Definition at line 158 of file fcsttask.py.

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

Public Member Functions

def get_inputs (self, logger, ftime, just_check=False, kwargs)
 Links metgrid data if any is available for the specified time. 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.Met2WRF.get_inputs (   self,
  logger,
  ftime,
  just_check = False,
  kwargs 
)

Links metgrid data if any is available for the specified time.

If just_check=True, checks for metgrid input data. Otherwise, links the data using Input2Fcst.link_product. Raises WRFMetgridMissing if the data is missing.

Definition at line 168 of file fcsttask.py.

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


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