code: def test_get_polarized_longitudes(sgli_pol_file):
      """Test getting polarized reflectances."""
      handler = HDF5SGLI(sgli_pol_file, {"resolution": "L"}, {})
      did = dict(name="longitude", resolution=1000, polarization=0)
      res = handler.get_dataset(
          did,
          {
              "file_key": "Geometry_data/Longitude",
              "units": "",
              "standard_name": "",
          },
      )
      assert res.dtype == np.float32
      expected = FULL_KM_ARRAY.astype(np.float32)
      np.testing.assert_allclose(res, expected)
  
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 22 for calling a global function with example usage: test_get_polarized_longitudes(sgli_pol_file) without return types