code: def test_get_vn_dataset_radiance(sgli_vn_file):
      """Test that datasets can be calibrated to radiance."""
      handler = HDF5SGLI(sgli_vn_file, {"resolution": "L"}, {})
      did = dict(
          name="VN1",
          resolution=1000,
          polarization=None,
          calibration="radiance",
      )
      res = handler.get_dataset(
          did,
          {
              "file_key": "Image_data/Lt_VN01",
              "units": "W m-2 um-1 sr-1",
              "standard_name": "toa_outgoing_radiance_per_unit_wavelength",
          },
      )
      assert np.allclose(
          res[0, :], FULL_KM_ARRAY[0, :] * np.float32(0.02) - 25
      )
      assert res.dtype == np.float32
      assert res.attrs["units"] == "W m-2 um-1 sr-1"
      assert (
          res.attrs["standard_name"]
          == "toa_outgoing_radiance_per_unit_wavelength"
      )
  
imports: import sys
  from datetime import datetime, timedelta
  import dask
  import h5py
  import numpy
  import pytest
  from satpy.readers.sgli_l1b import HDF5SGLI
label_desc: Use image node_id 10 for calling a global function with example usage: test_get_vn_dataset_radiance(sgli_vn_file) without return types