class_docstr: File handler for the SGLI l1b data.
class_docstr_tok: ["File","handler","for","the","SGLI","l1b","data","."]
docstr: Get angles from the file.
docstr_tok: ["Get","angles","from","the","file","."]
code: def get_angles(self, key):
      """Get angles from the file."""
      if "solar" in key["name"]:
          azi, zen, attrs = self.get_solar_angles()
      elif "satellite" in key["name"]:
          azi, zen, attrs = self.get_sensor_angles()
      if "azimuth" in key["name"]:
          dataset = azi
      else:
          dataset = zen
      dataset = xr.DataArray(dataset, attrs=attrs, dims=["y", "x"])
      return dataset
  
imports: import logging
  from datetime import datetime
  import dask.array
  import h5py
  import numpy
  import xarray
  from dask.array.core import normalize_chunks
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 14 for calling the HDF5SGLI obj's underlying member method code with example usage: obj.get_angles(key) and returns: dataset