HWRF
trunk@4391
|
Runs the GSI data assimilation on the HWRF system. More...
Runs the GSI data assimilation on the HWRF system.
Classes | |
class | FGATGSI |
Runs the GSI based on the HWRF FGAT scheme. More... | |
class | GSIBase |
Base class of anything that runs the GSI. More... | |
Functions | |
def | unset_gsistatus |
Delete the gsi status file. More... | |
def | set_gsistatus |
Sets the GSI status files. More... | |
def | get_gsistatus |
Checks the gsi status for a specific domain. More... | |
Variables | |
list | __all__ = ['GSI_DATA_TYPES', 'GSIBase', 'FGATGSI' ] |
The list of symbols exported by "from hwrf.gsi import *". | |
list | GSI_DATA_TYPES |
List of all known GSI datastypes. More... | |
def hwrf.gsi.get_gsistatus | ( | conf, | |
domain, | |||
logger = None |
|||
) |
Checks the gsi status for a specific domain.
Checks the first GSI status file, scanning for information about the specified domain. If the file does not exist or cannot be opened or read, then False is returned. Otherwise, the file is scanned for run_gsi_d02=YES/NO or run_gsi_d03=YES/NO (case insensitive). The last of those run_gsi_d02/d03 lines is used: NO=return False, YES=return True.
conf | the hwrf.config.HWRFConfig object with configuration info |
domain | either "gsi_d02" or "gsi_d03", the domain of interest |
logger | Optional: the logging.Logger for log messages |
Definition at line 1273 of file gsi.py.
Referenced by scripts.exhwrf_check_init.check_gsi(), scripts.exhwrf_merge.main(), and scripts.exhwrf_gsi.main().
def hwrf.gsi.set_gsistatus | ( | conf, | |
logger = None |
|||
) |
Sets the GSI status files.
Set run_gsi_d02=YES (true) or =NO (false) depending on the configuration. If the logger is not specified, the gsistatus subdomain of the conf default logging domain is used.
conf | the hwrf.config.HWRFConfig object |
logger | Optional: the logging.Logger for log messages. |
def hwrf.gsi.unset_gsistatus | ( | conf, | |
logger = None |
|||
) |
Delete the gsi status file.
Deletes all GSI status files, whose paths are determined from the given config object. If the logger is not specified, the gsistatus subdomain of the conf default logging domain is used.
conf | the hwrf.config.HWRFConfig object |
logger | Optional: a logging.Logger for logging. |
hwrf.gsi.GSI_DATA_TYPES |
List of all known GSI datastypes.