class_docstr: Test netCDF compression encodings.
docstr: Create a fake scene.
docstr_tok: ["Create","a","fake","scene","."]
code: def scene(self):
      """Create a fake scene."""
      scn = Scene()
      attrs = {
          "start_time": datetime(2018, 5, 30, 10, 0),
          "end_time": datetime(2018, 5, 30, 10, 15),
      }
      scn["test-array"] = xr.DataArray([1.0, 2, 3], attrs=attrs)
      return scn
  
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 the TestNetcdfEncodingKwargs obj's underlying member method code with example usage: obj.scene() and returns: scn