class_docstr: Generic file handler for GAASP output files.
class_docstr_tok: ["Generic","file","handler","for","GAASP","output","files","."]
docstr: Get end time of observation.
docstr_tok: ["Get","end","time","of","observation","."]
code: def end_time(self):
      """Get end time of observation."""
      try:
          return self.filename_info["end_time"]
      except KeyError:
          time_str = self.nc.attrs["time_coverage_end"]
          return datetime.strptime(time_str, "%Y-%m-%dT%H:%M:%S.%fZ")
  
imports: import logging
  from datetime import datetime
  from typing import Tuple
  import numpy
  import xarray
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition
  from satpy._compat import cached_property
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 3 for calling the GAASPFileHandler obj's underlying member method code with example usage: obj.end_time() and returns: self, datetime