|
HWRF
trunk@4391
|
Links prep_hybrid files to the current directory for a real_nmm run. More...
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.
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 | |
| 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.
| times | a list of integers, 0 for the initial time, 1 for the first boundary input time, and so on. |
| logger | a logging.Logger for logging messages |
| just_check | if True, just check for data, otherwise link it |
| kwargs | ignored |
Definition at line 327 of file fcsttask.py.
Referenced by hwrf.mpipomtc.POMInit.run().
1.8.10