class_docstr: File handler for the SGLI l1b data.
class_docstr_tok: ["File","handler","for","the","SGLI","l1b","data","."]
docstr: Get lon/lats from the file.
docstr_tok: ["Get","lon\/lats","from","the","file","."]
code: def get_lon_lats(self, key):
      """Get lon/lats from the file."""
      lons = self.h5file["Geometry_data/Longitude"]
      lats = self.h5file["Geometry_data/Latitude"]
      attrs = lons.attrs
      resampling_interval = attrs["Resampling_interval"]
      if resampling_interval != 1:
          lons, lats = self.interpolate_spherical(
              lons, lats, resampling_interval
          )
      if key["name"].startswith("longitude"):
          dataset = lons
      else:
          dataset = lats
      return xr.DataArray(dataset, attrs=attrs, dims=["y", "x"])
  
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 12 for calling the HDF5SGLI obj's underlying member method code with example usage: obj.get_lon_lats(key) and returns: xr