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

Links wrfanl or ghost files the current directory for a wrf run. More...

Detailed Description

Links wrfanl or ghost files the current directory for a wrf run.

This class links wrfanl or ghost files the current directory for a wrf run. The files come from some source object, sent to the src argument of init. That object must have a wrfanl_at_time(atime,domain) function like hwrf.fcsttask.WRFAnl.wrfanl_at_time()

Definition at line 241 of file fcsttask.py.

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

Public Member Functions

def __init__ (self, src, domain)
 creates a WRFAnl2WRF for the specified source and domain
 
def get_inputs (self, logger, atime, domain, wrfanl='wrfanl', just_check=False, kwargs)
 Links wrfanl files for the specified domain and 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...
 

Public Attributes

 domain
 the domain for which this object provides wrfanl files, or None if it provides wrfanl files for all domains except the MOAD
 
- Public Attributes inherited from hwrf.fcsttask.Input2Fcst
 src
 the implementation-defined source, used by subclasses
 

Member Function Documentation

def hwrf.fcsttask.WRFAnl2WRF.get_inputs (   self,
  logger,
  atime,
  domain,
  wrfanl = 'wrfanl',
  just_check = False,
  kwargs 
)

Links wrfanl files for the specified domain and time.

If just_check=True, checks to see if there should be wrfanl files for the specified domain and time. Otherwise, links the data using Input2Fcst.link_product to the filename "fort.65" in the current working directory. Raises WRFAnlMissing if the data is missing.

Parameters
atimethe analysis time
domainthe wrf domain (a number, string name or WRFDomain)
loggera logging.Logger for logging messages
wrfanlthe beginning of the link filename. Usually this is "wrfanl", "wrfghost" or "ghost".
just_checkif True, just check for data, otherwise link it
kwargsignored

Definition at line 254 of file fcsttask.py.

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


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