code: def _calc_essl_green(ratio):
      """Calculate values for green based on scaled and clipped ratio."""
      green = 1 - (8 / 7) * ratio
      green.data = da.clip(green.data, 0, 1)
      return green
  
file_path: satpy/satpy/enhancements/atmosphere.py
imports: import datetime
  import dask.array
  import xarray
label_desc: Use image node_id 4 for calling a global function with example usage: _calc_essl_green(ratio) and returns: green