parse_arguments

cosipy.postprocessing.vtk_plots.plot_cosipy_fields_vtk.parse_arguments()[source]

Parse user arguments.

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

Path to .nc file.

-t, --time <str>

Target date or timestamp.

-n, --name <str>

Name of variable to plot as contours.

Optional switches:
-h, --help

Show this help message and exit.

-m, --mean

Plot daily mean instead of timestep. Default False.

-g, --gltf

Export plot as a 3D glTF object. Default False.

Return type:

Namespace