class_docstr: Get the reflective part of NIR bands.
class_docstr_tok: ["Get","the","reflective","part","of","NIR","bands","."]
docstr: Collect custom configuration values.
  
  Args:
      sunz_threshold: The threshold sun zenith angle used when deriving
          the near infrared reflectance. Above this angle the derivation
          will assume this sun-zenith everywhere. Unless overridden, the
          default threshold of 85.0 degrees will be used.
      masking_limit: Mask the data (set to NaN) above this Sun zenith angle.
          By default the limit is at 88.0 degrees.  If set to `None`, no masking
          is done.
docstr_tok: ["Collect","custom","configuration","values",".","Args",":","sunz_threshold",":","The","threshold","sun","zenith","angle","used","when","deriving","the","near","infrared","reflectance",".","Above","this","angle","the","derivation","will","assume","this","sun-zenith","everywhere",".","Unless","overridden",",","the","default","threshold","of","85.0","degrees","will","be","used",".","masking_limit",":","Mask","the","data","(","set","to","NaN",")","above","this","Sun","zenith","angle",".","By","default","the","limit","is","at","88.0","degrees",".","If","set","to","`","None","`",",","no","masking","is","done","."]
code: def __init__(
      self,
      sunz_threshold=TERMINATOR_LIMIT,  # noqa: D417
      masking_limit=MASKING_LIMIT,
      **kwargs,
  ):
      """Collect custom configuration values.
  
      Args:
          sunz_threshold: The threshold sun zenith angle used when deriving
              the near infrared reflectance. Above this angle the derivation
              will assume this sun-zenith everywhere. Unless overridden, the
              default threshold of 85.0 degrees will be used.
          masking_limit: Mask the data (set to NaN) above this Sun zenith angle.
              By default the limit is at 88.0 degrees.  If set to `None`, no masking
              is done.
  
      """
      self.sun_zenith_threshold = sunz_threshold
      self.masking_limit = masking_limit
      super(NIRReflectance, self).__init__(**kwargs)
  
file_path: satpy/satpy/modifiers/spectral.py
imports: import logging
  import xarray
  from satpy.modifiers import ModifierBase
label_desc: Use image node_id 1 to create a new NIRReflectance object from inherited base classes: ModifierBase with example: obj = NIRReflectance(sunz_threshold, masking_limit)