12 """!Based on the configuration, write an ensda flag file that will
13 either request, or not request, the ensemble da jobs to run."""
18 run_ensemble_da=conf.getbool(
'config',
'run_ensemble_da')
19 if not run_ensemble_da:
20 jlogger.info(
'ENSDA is disabled for this configuration. '
21 'This job need not be run.')
22 hwrf_expt.ensda_pre.write_flag_file(
False)
24 hwrf_expt.ensda_pre.run()
26 if __name__==
'__main__':
29 jlogger.info(
'ensda_pre is starting')
31 jlogger.info(
'ensda_pre is completed')
32 except Exception
as e:
33 jlogger.critical(
'ensda_pre is aborting: '+str(e),exc_info=
True)
def main()
Based on the configuration, write an ensda flag file that will either request, or not request...
Contains setup(), which initializes the produtil package.
def init_module
Initializes the HWRF object structure.
def setup(ignore_hup=False, dbnalert_logger=None, jobname=None, cluster=None, send_dbn=None, thread_logger=False, thread_stack=2 **24, kwargs)
Initializes the produtil package.