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 tagtag_log (
xarray.Dataset) – The DST datasave_html (
bool, default:False) – Whether to save the plot as a HTML filetarget_root (
str, default:".") – Root of the folder to saveplotas a HMTL filetags.html. Only used ifsave_html=Truestorage_options (mapping, optional) – Dictionary containing storage options for connecting to the S3 bucket. Only used if
save_html=Trueand that the saving is done on a S3 bucket.
- Returns:
hvplot (
holoviews.Overlay) – Interactive plot of the pressure and temperature timeseries of the tag