class_docstr: Corrected Reflectance (crefl) modifier.
  
  Uses a python rewrite of the C CREFL code written for VIIRS and MODIS.
class_docstr_tok: ["Corrected","Reflectance","(","crefl",")","modifier",".","Uses","a","python","rewrite","of","the","C","CREFL","code","written","for","VIIRS","and","MODIS","."]
code: def _read_var_from_hdf4_file_pyhdf(local_filename, var_name):
      from pyhdf.SD import SD, SDC
  
      f = SD(local_filename, SDC.READ)
      var = f.select(var_name)
      data = var[:]
      fill = ReflectanceCorrector._read_fill_value_from_hdf4(
          var, data.dtype
      )
      return np.ma.MaskedArray(data, data == fill)
  
file_path: satpy/satpy/modifiers/_crefl.py
imports: import logging
  import warnings
  import numpy
  from satpy.aux_download import DataDownloadMixin, retrieve
  from satpy.modifiers import ModifierBase
  from satpy.modifiers.angles import get_angles
label_desc: Use image node_id 8 for calling the ReflectanceCorrector obj's underlying member method code with example usage: obj._read_var_from_hdf4_file_pyhdf(local_filename, var_name) and returns: np