class_docstr: Test the AMI L1b reader.
class_docstr_tok: ["Test","the","AMI","L1b","reader","."]
docstr: Test get visible calibrated data.
docstr_tok: ["Test","get","visible","calibrated","data","."]
code: def test_get_dataset_vis(self):
      """Test get visible calibrated data."""
      from satpy.tests.utils import make_dataid
  
      key = make_dataid(name="VI006", calibration="reflectance")
      res = self.reader.get_dataset(
          key,
          {
              "file_key": "image_pixel_values",
              "standard_name": "toa_bidirectional_reflectance",
              "units": "%",
          },
      )
      exp = {
          "calibration": "reflectance",
          "modifiers": (),
          "platform_name": "GEO-KOMPSAT-2A",
          "sensor": "ami",
          "units": "%",
      }
      for key, val in exp.items():
          assert val == res.attrs[key]
      self._check_orbital_parameters(res.attrs["orbital_parameters"])
  
imports: import unittest
  from unittest import mock
  import dask.array
  import numpy
  import xarray
  from pytest import approx, raises
label_desc: Use image node_id 7 for calling the TestAMIL1bNetCDF obj's underlying member method code with example usage: obj.test_get_dataset_vis() without return types