code: def _get_compression_params(complevel):
      params = {"complevel": complevel}
      if _should_use_compression_keyword():
          params["compression"] = "zlib"
      else:
          params["zlib"] = True
      return params
  
imports: import os
  import tempfile
  import warnings
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from packaging.version import Version
  from satpy import Scene
  from satpy.tests.utils import make_dsq
  from satpy.writers.cf_writer import _get_backend_versions
label_desc: Use image node_id 1 for calling a global function with example usage: _get_compression_params(complevel) and returns: params