plot_data

cosipy.postprocessing.field_plots.plot_cosipy_fields.plot_data(data, timestamp, short_name=None, mean=False, variables=None, plot_type='contour')[source]

Creates stamp plots or a single plot.

Parameters:
  • data (DataArray) – Labelled data array.

  • timestamp (str) – Datetime index of target data.

  • short_name (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.

  • variables (list) – Array of variable names of shape [nrows[ncols]]. Default None.

  • plot_type (str) – Plot data as “contour” or “mesh”. Default “contour”.

Return type:

tuple