3 jediAppName =
'variational'
9 global jediAppName, nOuterIter, depbgGroup, depanGroup
10 parser.add_argument(
'-app',
'--jediAppName', type=str, default=jediAppName, choices = [
'variational',
'hofx'],
11 help=
'Name of jedi application that produced IODA files')
12 parser.add_argument(
'-nout',
'--nOuterIter', type=int, default=nOuterIter,
13 help=
'Number of outer iterations for jedi application')
14 parser.add_argument(
'-bg',
'--depbgGroup', type=str, default=depbgGroup,
15 help=
'ObsGroup for background departures')
16 parser.add_argument(
'-an',
'--depanGroup', type=str, default=depanGroup,
17 help=
'ObsGroup for analysis departures')
20 global jediAppName, nOuterIter, depbgGroup, depanGroup
21 jediAppName = args.jediAppName
22 nOuterIter = args.nOuterIter
23 depbgGroup = args.depbgGroup
24 depanGroup = args.depanGroup
def add_arguments(parser)