pangeo_fish.helpers.plot_tag

Contents

pangeo_fish.helpers.plot_tag#

pangeo_fish.helpers.plot_tag(*, tag: DataTree, tag_log: Dataset, save_html=False, target_root='.', storage_options: dict = None, **kwargs)#

Plot a tag.

Parameters:
  • tag (xarray.DataTree) – The tag

  • tag_log (xarray.Dataset) – The DST data

  • save_html (bool, default: False) – Whether to save the plot as a HTML file

  • target_root (str, default: ".") – Root of the folder to save plot as a HMTL file tags.html. Only used if save_html=True

  • storage_options (mapping, optional) – Dictionary containing storage options for connecting to the S3 bucket. Only used if save_html=True and that the saving is done on a S3 bucket.

Returns:

hvplot (holoviews.Overlay) – Interactive plot of the pressure and temperature timeseries of the tag