class_docstr: Test netCDF compression encodings.
docstr: Get compression options.
docstr_tok: ["Get","compression","options","."]
code: def compression_on(self, request):
      """Get compression options."""
      return request.param
  
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 2 for calling the TestNetcdfEncodingKwargs obj's underlying member method code with example usage: obj.compression_on(request) and returns: request