class_docstr: File reader for individual GLM L2 NetCDF4 files.
class_docstr_tok: ["File","reader","for","individual","GLM","L2","NetCDF4","files","."]
docstr: Discover new datasets and add information from file.
docstr_tok: ["Discover","new","datasets","and","add","information","from","file","."]
code: def available_datasets(self, configured_datasets=None):
      """Discover new datasets and add information from file."""
      # we know the actual resolution
      res = self.spatial_resolution_to_number()
  
      # update previously configured datasets
      handled_vars = set()
      for is_avail, ds_info in configured_datasets or []:
          # some other file handler knows how to load this
          # don't override what they've done
          if is_avail is not None:
              yield is_avail, ds_info
  
          matches = self.file_type_matches(ds_info["file_type"])
          if matches and ds_info.get("resolution") != res:
              # we are meant to handle this dataset (file type matches)
              # and the information we can provide isn't available yet
              new_info = ds_info.copy()
              new_info["resolution"] = res
              exists = ds_info["name"] in self.nc
              handled_vars.add(ds_info["name"])
              yield exists, new_info
          elif is_avail is None:
              # we don't know what to do with this
              # see if another future file handler does
              yield is_avail, ds_info
  
      for var_name, data_arr in self.nc.data_vars.items():
          if var_name in handled_vars:
              # it was manually configured and handled above
              continue
          if not self._is_2d_xy_var(data_arr):
              # only handle 2d (y, x) vars for now
              continue
  
          new_info = {
              "name": var_name,
              "resolution": res,
              "file_type": self.filetype_info["file_type"],
          }
          handled_vars.add(var_name)
          yield True, new_info
  
file_path: satpy/satpy/readers/glm_l2.py
imports: import logging
  from datetime import datetime
  import numpy
  from satpy.readers.abi_base import NC_ABI_BASE
label_desc: Use image node_id 7 for calling the NCGriddedGLML2 obj's underlying member method code with example usage: obj.available_datasets(configured_datasets) without return types