class_docstr: Test the interactions between DataIDs and DataQuerys.
class_docstr_tok: ["Test","the","interactions","between","DataIDs","and","DataQuerys","."]
docstr: Check sorting data ids when the query has a different set of keys.
docstr_tok: ["Check","sorting","data","ids","when","the","query","has","a","different","set","of","keys","."]
code: def test_sort_dataids_with_different_set_of_keys(self):
      """Check sorting data ids when the query has a different set of keys."""
      dq = DataQuery(
          name="solar_zenith_angle", calibration="reflectance"
      )
      dids = [
          DataID(
              self.default_id_keys_config,
              name="solar_zenith_angle",
              resolution=1000,
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="solar_zenith_angle",
              resolution=500,
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="solar_zenith_angle",
              resolution=250,
              modifiers=(),
          ),
      ]
      dsids, distances = dq.sort_dataids(dids)
      assert distances[0] < distances[1]
      assert distances[1] < distances[2]
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  from satpy.dataset.dataid import DataID, DataQuery, ModifierTuple, WavelengthRange, minimal_default_keys_config
  from satpy.readers.pmw_channels_definitions import FrequencyDoubleSideBand, FrequencyQuadrupleSideBand, FrequencyRange
  from satpy.tests.utils import make_cid, make_dataid, make_dsq
label_desc: Use image node_id 6 for calling the TestIDQueryInteractions obj's underlying member method code with example usage: obj.test_sort_dataids_with_different_set_of_keys() without return types