pangeo_fish.helpers.load_tag

Contents

pangeo_fish.helpers.load_tag#

pangeo_fish.helpers.load_tag(*, tag_root: str, tag_name: str, storage_options: dict = None, **kwargs)#

Load a tag.

Parameters:
  • tag_root (str) – Path to the folder that contains the tag data under a folder tag_name

  • tag_name (str) – Name of the tagged fish (e.g, “A19124”). Notably, It is used to fetch the biologging data from {tag_root}/{tag_name}/

  • storage_options (dict, optional) – Dictionary containing storage options for connecting to the S3 bucket

Returns:

  • tag (xarray.DataTree) – The tag

  • tag_log (xarray.Dataset) – The DST data (sliced w.r.t released and recapture dates)

  • time_slice (slice or like) – Time interval described by the released and recapture dates