class_docstr: NWCSAF MSG hdf5 reader.
class_docstr_tok: ["NWCSAF","MSG","hdf5","reader","."]
docstr: Get the area definition of the datasets in the file.
docstr_tok: ["Get","the","area","definition","of","the","datasets","in","the","file","."]
code: def get_area_def(self, dsid):
      """Get the area definition of the datasets in the file."""
      if dsid["name"].endswith("_pal"):
          raise NotImplementedError
  
      cfac = self.file_content["/attr/CFAC"]
      lfac = self.file_content["/attr/LFAC"]
      coff = self.file_content["/attr/COFF"]
      loff = self.file_content["/attr/LOFF"]
      numcols = int(self.file_content["/attr/NC"])
      numlines = int(self.file_content["/attr/NL"])
  
      aex = get_area_extent(cfac, lfac, coff, loff, numcols, numlines)
      pname = self.file_content["/attr/PROJECTION_NAME"]
      proj = {}
      if pname.startswith("GEOS"):
          proj["proj"] = "geos"
          proj["a"] = "6378169.0"
          proj["b"] = "6356583.8"
          proj["h"] = "35785831.0"
          proj["lon_0"] = str(float(pname.split("<")[1][:-1]))
      else:
          raise NotImplementedError(
              "Only geos projection supported yet."
          )
  
      area_def = AreaDefinition(
          self.file_content["/attr/REGION_NAME"],
          self.file_content["/attr/REGION_NAME"],
          pname,
          proj,
          numcols,
          numlines,
          aex,
      )
  
      return area_def
  
file_path: satpy/satpy/readers/nwcsaf_msg2013_hdf5.py
imports: import logging
  from datetime import datetime
  import h5py
  import numpy
  from pyresample.geometry import AreaDefinition
  from satpy.readers.hdf5_utils import HDF5FileHandler
label_desc: Use image node_id 3 for calling the Hdf5NWCSAF obj's underlying member method code with example usage: obj.get_area_def(dsid) and returns: area_def