main

cosipy.postprocessing.field_plots.plot_cosipy_fields.main()[source]

Produce and save plots.

Produces field plots of single timesteps or daily mean for a single or all variables. Passing a date without --mean leads to an error.

Required arguments:
-i, --input <path>

Path to .nc file.

-d, --date <str>

Target date or timestamp.

Optional switches:
-h, --help

Show this help message and exit.

-s, --save

Save plot. File name is automatically generated. Default False.

-m, --mean

Plot daily mean instead of timestep. Default False.

Optional arguments:
-v, --var <str>

Variable to plot. If not set, creates a stamp plot.

-t, --type <int>

Set plot type. 1: contour, 2: mesh. Default 1.