class_docstr: File handler for Ocean Color CCI netCDF files.
class_docstr_tok: ["File","handler","for","Ocean","Color","CCI","netCDF","files","."]
docstr: Update dataset attributes.
docstr_tok: ["Update","dataset","attributes","."]
code: def _update_attrs(self, dataset, dataset_info):
      """Update dataset attributes."""
      dataset.attrs.update(self[dataset_info["nc_key"]].attrs)
      dataset.attrs.update(dataset_info)
      dataset.attrs["sensor"] = "merged"
      dataset.attrs["composite_period"] = self.composite_period
      # remove attributes from original file which don't apply anymore
      dataset.attrs.pop("nc_key")
  
file_path: satpy/satpy/readers/oceancolorcci_l3_nc.py
imports: import logging
  from datetime import datetime
  import dask.array
  import numpy
  from pyresample import geometry
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
label_desc: Use image node_id 5 for calling the OCCCIFileHandler obj's underlying member method code with example usage: obj._update_attrs(dataset, dataset_info) without return types