|
HWRF
trunk@4391
|
Links wrfanl or ghost files the current directory for a wrf run. More...
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.
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 | |
| 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.
| atime | the analysis time |
| domain | the wrf domain (a number, string name or WRFDomain) |
| logger | a logging.Logger for logging messages |
| wrfanl | the beginning of the link filename. Usually this is "wrfanl", "wrfghost" or "ghost". |
| just_check | if True, just check for data, otherwise link it |
| kwargs | ignored |
Definition at line 254 of file fcsttask.py.
Referenced by hwrf.mpipomtc.POMInit.run().
1.8.10