class_docstr: Test the ViiL2NCFileHandler reader.
class_docstr_tok: ["Test","the","ViiL2NCFileHandler","reader","."]
docstr: Set up the test.
docstr_tok: ["Set","up","the","test","."]
code: def setUp(self):
      """Set up the test."""
      # Easiest way to test the reader is to create a test netCDF file on the fly
      # uses a UUID to avoid permission conflicts during execution of tests in parallel
      self.test_file_name = TEST_FILE + str(uuid.uuid1()) + ".nc"
  
      with Dataset(self.test_file_name, "w") as nc:
          # Create data group
          g1 = nc.createGroup("data")
  
          # Add dimensions to data group
          g1.createDimension("num_points_act", 100)
          g1.createDimension("num_points_alt", 10)
  
          # Create measurement_data group
          g1_2 = g1.createGroup("measurement_data")
  
          # Add variables to data/measurement_data group
          delta_lat = g1_2.createVariable(
              "delta_lat",
              np.float32,
              dimensions=("num_points_alt", "num_points_act"),
          )
          delta_lat[:] = 0.1
  
      self.reader = ViiL2NCFileHandler(
          filename=self.test_file_name,
          filename_info={
              "creation_time": datetime.datetime(
                  year=2017,
                  month=9,
                  day=22,
                  hour=22,
                  minute=40,
                  second=10,
              ),
              "sensing_start_time": datetime.datetime(
                  year=2017,
                  month=9,
                  day=20,
                  hour=12,
                  minute=30,
                  second=30,
              ),
              "sensing_end_time": datetime.datetime(
                  year=2017,
                  month=9,
                  day=20,
                  hour=18,
                  minute=30,
                  second=50,
              ),
          },
          filetype_info={},
      )
  
file_path: satpy/satpy/tests/reader_tests/test_vii_wv_nc.py
imports: import datetime
  import os
  import unittest
  import uuid
  import dask.array
  import numpy
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.vii_l2_nc import ViiL2NCFileHandler
label_desc: Use image node_id 1 for calling the TestViiL2NCFileHandler obj's underlying member method code with example usage: obj.setUp() without return types