gwgen sens plotΒΆ

Plot the result of the sensitivity analysis

2 different plots are made for each variable and quality indicator:

  1. 1d plots with the indicator on the y-axis and the namelist parameter on the x-axis
  2. 2d plots with one indicator on the x-axis and another on the y-axis for each possible combination

You can disable one of the plot types via the only_1d and only_2d parameter.

usage: gwgen sens plot [-h] [-i indicator[,indicator[,...]]]
                       [-n variable,[variable[,...]]] [-meta <yaml-file>]
                       {plot1d,plot2d} ...
Optional Arguments
-i=['rsquared', 'slope', 'ks', 'quality'], --indicators=['rsquared', 'slope', 'ks', 'quality']
 The name of the indicators from the `quality` evaluation task
-n=['prcp', 'tmin', 'tmax', 'mean_cloud', 'wind'], --names=['prcp', 'tmin', 'tmax', 'mean_cloud', 'wind']
 The name(s) of the variable(s) to plot
-meta Alternative meta information for the data set
Sub-commands:
plot1d

The default configuration for :class:`SensitivityPlot` instances. See also the :attr:`SensitivityPlot.default_config` attribute

usage: gwgen sens plot plot1d [-h] [-f { 'scratch' | 'file' | 'db' | None }]
                              [-to-csv] [-to-db] [-rm] [-sf] [-o str]
                              [-onc str] [-op str] [-np] [-p str]
Setup arguments
-f, --from

The method how to setup the instance either from ``’scratch’`` To set up the task from the raw data ``’file’`` Set up the task from an existing file ``’db’`` Set up the task from a database ``None`` If the file name of this this task exists, use this one, otherwise a database is provided, use this one, otherwise go from scratch

Possible choices: scratch, file, db

-to-csv=False If True, the data at setup will be written to a csv file
-to-db=False If True, the data at setup will be written to into a database
-rm=False, --remove=False
 If True and the old data file already exists, remove before writing to it
-sf=False, --skip-filtering=False
 If True, skip the filtering for the correct stations in the datafile
Run arguments
-o, --plot-output
 An alternative path to use for the PDF file of the plot
-onc, --nc-output
 An alternative path (or multiples depending on the task) to use for the netCDF file of the plot data
-op, --project-output
 An alternative path to use for the psyplot project file of the plot
-np=False, --new-project=False
 If True, a new project will be created even if a file in `project_output` exists already
-p, --project The path to a psyplot project file to use for this parameterization
plot2d

The default configuration for :class:`SensitivityPlot` instances. See also the :attr:`SensitivityPlot.default_config` attribute

usage: gwgen sens plot plot2d [-h] [-logx] [-logy]
                              [-f { 'scratch' | 'file' | 'db' | None }]
                              [-to-csv] [-to-db] [-rm] [-sf] [-o str]
                              [-onc str] [-op str] [-np] [-p str]
Setup arguments
-f, --from

The method how to setup the instance either from ``’scratch’`` To set up the task from the raw data ``’file’`` Set up the task from an existing file ``’db’`` Set up the task from a database ``None`` If the file name of this this task exists, use this one, otherwise a database is provided, use this one, otherwise go from scratch

Possible choices: scratch, file, db

-to-csv=False If True, the data at setup will be written to a csv file
-to-db=False If True, the data at setup will be written to into a database
-rm=False, --remove=False
 If True and the old data file already exists, remove before writing to it
-sf=False, --skip-filtering=False
 If True, skip the filtering for the correct stations in the datafile
Run arguments
-logx=False If True, the x-axis will be logarithmic
-logy=False If True, the y-axis will be logarithmic
-o, --plot-output
 An alternative path to use for the PDF file of the plot
-onc, --nc-output
 An alternative path (or multiples depending on the task) to use for the netCDF file of the plot data
-op, --project-output
 An alternative path to use for the psyplot project file of the plot
-np=False, --new-project=False
 If True, a new project will be created even if a file in `project_output` exists already
-p, --project The path to a psyplot project file to use for this parameterization