class_docstr: Test the interactions between DataIDs and DataQuerys.
class_docstr_tok: ["Test","the","interactions","between","DataIDs","and","DataQuerys","."]
docstr: Check that the HRV channel has priority over VIS008 when querying 0.8µm.
docstr_tok: ["Check","that","the","HRV","channel","has","priority","over","VIS008","when","querying","0.8\u00b5m","."]
code: def test_seviri_hrv_has_priority_over_vis008(self):
      """Check that the HRV channel has priority over VIS008 when querying 0.8µm."""
      dids = [
          DataID(
              self.default_id_keys_config,
              name="HRV",
              wavelength=WavelengthRange(
                  min=0.5, central=0.7, max=0.9, unit="µm"
              ),
              resolution=1000.134348869,
              calibration="reflectance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="HRV",
              wavelength=WavelengthRange(
                  min=0.5, central=0.7, max=0.9, unit="µm"
              ),
              resolution=1000.134348869,
              calibration="radiance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="HRV",
              wavelength=WavelengthRange(
                  min=0.5, central=0.7, max=0.9, unit="µm"
              ),
              resolution=1000.134348869,
              calibration="counts",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS006",
              wavelength=WavelengthRange(
                  min=0.56, central=0.635, max=0.71, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="reflectance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS006",
              wavelength=WavelengthRange(
                  min=0.56, central=0.635, max=0.71, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="radiance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS006",
              wavelength=WavelengthRange(
                  min=0.56, central=0.635, max=0.71, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="counts",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS008",
              wavelength=WavelengthRange(
                  min=0.74, central=0.81, max=0.88, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="reflectance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS008",
              wavelength=WavelengthRange(
                  min=0.74, central=0.81, max=0.88, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="radiance",
              modifiers=(),
          ),
          DataID(
              self.default_id_keys_config,
              name="VIS008",
              wavelength=WavelengthRange(
                  min=0.74, central=0.81, max=0.88, unit="µm"
              ),
              resolution=3000.403165817,
              calibration="counts",
              modifiers=(),
          ),
      ]
      dq = DataQuery(wavelength=0.8)
      res, distances = dq.sort_dataids(dids)
      assert res[0]["name"] == "HRV"
  
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 7 for calling the TestIDQueryInteractions obj's underlying member method code with example usage: obj.test_seviri_hrv_has_priority_over_vis008() without return types