class_docstr: Test MSU GS/A L1B Reader.
class_docstr_tok: ["Test","MSU","GS\/A","L1B","Reader","."]
docstr: Test that we can retrieve VIS data as both radiance and reflectance.
docstr_tok: ["Test","that","we","can","retrieve","VIS","data","as","both","radiance","and","reflectance","."]
code: def test_vis_cal(self):
      """Test that we can retrieve VIS data as both radiance and reflectance."""
      ds_ids = [make_dataid(name="C01", calibration="radiance")]
      res = self.reader.load(ds_ids)
      rad = res["C01"].data
      ds_ids = [make_dataid(name="C01", calibration="reflectance")]
      res = self.reader.load(ds_ids)
      refl = res["C01"].data
  
      # Check the RAD->REFL conversion
      np.testing.assert_allclose(
          100 * np.pi * rad / float(SOLCONST), refl
      )
  
file_path: satpy/satpy/tests/reader_tests/test_msu_gsa_l1b.py
imports: import os
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 5 for calling the TestMSUGSABReader obj's underlying member method code with example usage: obj.test_vis_cal() without return types