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_netcdf4(local_filename, var_name):
      from netCDF4 import Dataset as NCDataset
  
      # HDF4 file, NetCDF library needs to be compiled with HDF4 support
      nc = NCDataset(local_filename, "r")
      # average elevation is stored as a 16-bit signed integer but with
      # scale factor 1 and offset 0, convert it to float here
      return nc.variables[var_name][:]
  
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 7 for calling the ReflectanceCorrector obj's underlying member method code with example usage: obj._read_var_from_hdf4_file_netcdf4(local_filename, var_name) and returns: nc