plot_cosipy_fields

Usage: src/plot_cosipy_fields.py [-h] [-f <nc_file>] [-d] [...] [-v]

Functions

check_2d(array)

Checks if an input array has 2D spatial coordinates.

create_subplots_for_variables([variables])

Creates adaptive subplots for an array of variables.

get_selection(array, timestamp[, mean])

Selects data from array at specific time or as a daily mean.

main()

Produce and save plots.

parse_arguments()

Parse user arguments.

plotContour(filename, pdate[, var, mean, save])

This creates a simple contour plot of the 2D fields.

plotMesh(filename, pdate[, var, mean, save])

This creates a simple mesh plot of the 2D fields.

plot_axes(ax, array, timestamp[, ...])

Plots data for a specific time or as a daily mean.

plot_data(data, timestamp[, short_name, ...])

Creates stamp plots or a single plot.

plot_topography(ax, elevation)

Plots elevation contours with labels onto axis.

save_image(figure, timestamp[, name, ...])

Automatically generates file name, and saves image to disk.

set_contour_format(x)

Formats float into contour label.

set_gridlines(ax)

Projects to PlateCarrée, adds gridlines, and formats labels.