class_docstr: Base reader class for VII products in netCDF format.
  
  Args:
      filename (str): File to read
      filename_info (dict): Dictionary with filename information
      filetype_info (dict): Dictionary with filetype information
      orthorect (bool): activates the orthorectification correction where available
class_docstr_tok: ["Base","reader","class","for","VII","products","in","netCDF","format",".","Args",":","filename","(","str",")",":","File","to","read","filename_info","(","dict",")",":","Dictionary","with","filename","information","filetype_info","(","dict",")",":","Dictionary","with","filetype","information","orthorect","(","bool",")",":","activates","the","orthorectification","correction","where","available"]
docstr: Create a dictionary of global attributes to be added to all datasets.
docstr_tok: ["Create","a","dictionary","of","global","attributes","to","be","added","to","all","datasets","."]
code: def _get_global_attributes(self):
      """Create a dictionary of global attributes to be added to all datasets."""
      attributes = {
          "filename": self.filename,
          "start_time": self.start_time,
          "end_time": self.end_time,
          "spacecraft_name": self.spacecraft_name,
          "ssp_lon": self.ssp_lon,
          "sensor": self.sensor,
          "filename_start_time": self.filename_info[
              "sensing_start_time"
          ],
          "filename_end_time": self.filename_info["sensing_end_time"],
          "platform_name": self.spacecraft_name,
      }
  
      # Add a "quality_group" item to the dictionary with all the variables and attributes
      # which are found in the 'quality' group of the VII product
      quality_group = self["quality"]
      quality_dict = {}
      for key in quality_group:
          # Add the values (as Numpy array) of each variable in the group where possible
          try:
              quality_dict[key] = quality_group[key].values
          except ValueError:
              quality_dict[key] = None
      # Add the attributes of the quality group
      quality_dict.update(quality_group.attrs)
  
      attributes["quality_group"] = quality_dict
  
      return attributes
  
file_path: satpy/satpy/readers/vii_base_nc.py
imports: import logging
  from datetime import datetime
  from geotiepoints.viiinterpolator import tie_points_geo_interpolation, tie_points_interpolation
  from satpy.readers.netcdf_utils import NetCDF4FileHandler
  from satpy.readers.vii_utils import SCAN_ALT_TIE_POINTS, TIE_POINTS_FACTOR
label_desc: Use image node_id 8 for calling the ViiNCBaseFileHandler obj's underlying member method code with example usage: obj._get_global_attributes() and returns: attributes