code: def test_basic_load(
      filenames, loadable_ids, platform_name, reader_kw
  ):
      """Test that variables are loaded properly."""
      r = _create_fake_reader(filenames, reader_kw)
  
      test_data = fake_open_dataset(filenames[0])
      exp_limb_corr = reader_kw.get(
          "limb_correction", True
      ) and platform_name in ("npp", "noaa-20", "noaa-21")
      loaded_data_arrs = _load_and_check_limb_correction_variables(
          r, loadable_ids, platform_name, exp_limb_corr
      )
      for _data_id, data_arr_dask in loaded_data_arrs.items():
          data_arr = data_arr_dask.compute()
          assert data_arr.dtype == data_arr_dask.dtype
          if np.issubdtype(data_arr.dtype, np.floating):
              # we started with float32, it should stay that way
              # NOTE: Sfc_type does not have enough metadata to dynamically force integer type
              #   even though it is a mask/category product
              assert data_arr.dtype.type == np.float32
          _check_metadata(data_arr, test_data, platform_name)
  
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from satpy._config import config_search_paths
  from satpy.dataset import DataID
  from satpy.readers import load_reader
  from satpy.readers.yaml_reader import FileYAMLReader
label_desc: Use image node_id 6 for calling a global function with example usage: test_basic_load(filenames, loadable_ids, platform_name, reader_kw) without return types