gcpy.kpp.kppsa_quick_look
Creates a “quick-look” plot from KPP-Standalone box model output.
Command-line arguments
- -d <str>, --dirname <str>
Folder containing KPP-Standalone output files.
- [-l <str>, --label <str>]
Descriptive label used in the plot legend. Default:
"KPP-Standalone output"
- [-p <str>, --pattern <str>]
Glob pattern used to match KPP-Standalone log filenames.
- [-s <str>, --species <str>]
Name of the species to plot.
Examples
$ conda activate gcpy_env
(gcpy_env) $ python -m gcpy.kpp.kppsa_quick_look \
--dirname /path/to/KPP-Standalone/output \
--label Rosenbrock \
--pattern Beijing*20190701_0040.log \
--species O3
Functions
|
Creates a quick-look plot from KPP-Standalone box model output. |
|
Parses command-line arguments and calls |
- gcpy.kpp.kppsa_quick_look.kppsa_make_quick_look_plot(file_list, label, species)[source]
Creates a quick-look plot from KPP-Standalone box model output.
The site name is determined automatically from the first unique site found in the data files. Only a single site is plotted.
- Parameters:
Notes
The plot is displayed interactively via
matplotlib.pyplot.show(). The seaborndarkgridstyle is applied during plotting and reset todefaultafterwards to avoid affecting other plotting scripts. The figure is landscape-oriented (11” × 8”).
- gcpy.kpp.kppsa_quick_look.main()[source]
Parses command-line arguments and calls
kppsa_make_quick_look_plot()to generate a quick-look plot from KPP-Standalone box model output.