class_docstr: The base class for the FengYun4 AGRI and GHI readers.
class_docstr_tok: ["The","base","class","for","the","FengYun4","AGRI","and","GHI","readers","."]
docstr: Get the end time.
docstr_tok: ["Get","the","end","time","."]
code: def end_time(self):
      """Get the end time."""
      end_time = (
          self["/attr/Observing Ending Date"]
          + "T"
          + self["/attr/Observing Ending Time"]
          + "Z"
      )
      try:
          return datetime.strptime(end_time, "%Y-%m-%dT%H:%M:%S.%fZ")
      except ValueError:
          # For some data there is no sub-second component
          return datetime.strptime(end_time, "%Y-%m-%dT%H:%M:%SZ")
  
imports: import logging
  from datetime import datetime
  import dask.array
  import numpy
  import xarray
  from satpy._compat import cached_property
  from satpy.readers._geos_area import get_area_definition, get_area_extent
  from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 10 for calling the FY4Base obj's underlying member method code with example usage: obj.end_time() and returns: datetime, datetime