MPAS-JEDI
SpawnAnalyzeStatsArgs.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
3
import
jediApplicationArgs
4
from
ProcessArgs
import
ProcessArgs
5
import
textwrap
6
7
class
SpawnAnalyzeStatsArgs
(
ProcessArgs
):
8
def
__init__
(self):
9
super().
__init__
()
10
self.
argProcessors
argProcessors += [jediApplicationArgs]
11
12
@staticmethod
13
def
add_arguments
(parser):
14
parser.add_argument(
'-d'
,
'--diagSpaces'
,
15
help=textwrap.dedent(
16
'''
17
Comma-separated list of DiagSpaces with non-conservative matching
18
e.g., amsua selects amsua_metop-a, amsua_n19, etc.
19
default behavior is to select all DiagSpaces in config
20
'''
))
21
parser.add_argument(
'-a'
,
'--account'
, type = str,
22
help=
'JobScript account number'
)
23
parser.add_argument(
'-q'
,
'--queue'
, type = str,
24
help=
'JobScript submission queue'
)
25
parser.add_argument(
'-m'
,
'--memory'
, type = str,
26
help=
'JobScript requested memory per node'
)
27
parser.add_argument(
'-s'
,
'--scriptdir'
, type = str,
28
help=
'Location of scripts'
)
29
30
processor =
SpawnAnalyzeStatsArgs
()
31
32
processor.processArgs()
33
34
args = processor.args
ProcessArgs.ProcessArgs.argProcessors
argProcessors
Definition:
ProcessArgs.py:7
SpawnAnalyzeStatsArgs.SpawnAnalyzeStatsArgs
Definition:
SpawnAnalyzeStatsArgs.py:7
SpawnAnalyzeStatsArgs.SpawnAnalyzeStatsArgs.__init__
def __init__(self)
Definition:
SpawnAnalyzeStatsArgs.py:8
SpawnAnalyzeStatsArgs.SpawnAnalyzeStatsArgs.add_arguments
def add_arguments(parser)
Definition:
SpawnAnalyzeStatsArgs.py:13
ProcessArgs
Definition:
ProcessArgs.py:1
SpawnAnalyzeStatsArgs
Definition:
SpawnAnalyzeStatsArgs.py:1
mpas-bundle
mpas-jedi
graphics
SpawnAnalyzeStatsArgs.py
Generated on Thu Sep 9 2021 12:56:27 for MPAS-JEDI by
1.9.1