plotContour

cosipy.postprocessing.field_plots.plot_cosipy_fields.plotContour(filename, pdate, var=None, mean=False, save=False)[source]

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

Parameters:
  • filename (str) – Path to nc data array.

  • pdate (str) – Date or datetime index of target data.

  • var (str) – Short name of variable to plot. If None, a stamp plot of several variables is produced. Default None.

  • mean (bool) – Plot daily mean instead of specific time. Default False.

  • save (bool) – Save plot to disk. Default False.

Raises:

ValueError – Input data is not 2D.