class_docstr: File reader for individual GLM L2 NetCDF4 files.
class_docstr_tok: ["File","reader","for","individual","GLM","L2","NetCDF4","files","."]
code: def _is_category_product(self, data_arr):
      # if after autoscaling we still have an integer
      is_int = np.issubdtype(data_arr.dtype, np.integer)
      # and it has a fill value
      has_fill = "_FillValue" in data_arr.attrs
      # or it has flag_meanings
      has_meanings = "flag_meanings" in data_arr.attrs
      # then it is likely a category product and we should keep the
      # _FillValue for satpy to use later
      return is_int and (has_fill or has_meanings)
  
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 4 for calling the NCGriddedGLML2 obj's underlying member method code with example usage: obj._is_category_product(data_arr) and returns: unknown