class_docstr: JMA HRIT format reader.
  
  By default, the reader uses the start time parsed from the filename. To use exact time, computed
  from the metadata, the user can define a keyword argument::
  
      scene = Scene(filenames=filenames,
                    reader='ahi_hrit',
                    reader_kwargs={'use_acquisition_time_as_start_time': True})
  
  As this time is different for every channel, time-dependent calculations like SZA correction
  can be pretty slow when multiple channels are used.
  
  The exact scanline times are always available as coordinates of an individual channels::
  
      scene.load(["B03"])
      print(scene["B03].coords["acq_time"].data)
  
  would print something similar to::
  
      array(['2021-12-08T06:00:20.131200000', '2021-12-08T06:00:20.191948000',
             '2021-12-08T06:00:20.252695000', ...,
             '2021-12-08T06:09:39.449390000', '2021-12-08T06:09:39.510295000',
             '2021-12-08T06:09:39.571200000'], dtype='datetime64[ns]')
  
  The first value represents the exact start time, and the last one the exact end time of the data
  acquisition.
docstr: Make sure sensor and platform are consistent.
  
  Args:
      sensor (str) : Sensor name from YAML dataset definition
  
  Raises:
      ValueError if they don't match
docstr_tok: ["Make","sure","sensor","and","platform","are","consistent",".","Args",":","sensor","(","str",")",":","Sensor","name","from","YAML","dataset","definition","Raises",":","ValueError","if","they","do","n't","match"]
code: def _check_sensor_platform_consistency(self, sensor):
      """Make sure sensor and platform are consistent.
  
      Args:
          sensor (str) : Sensor name from YAML dataset definition
  
      Raises:
          ValueError if they don't match
  
      """
      ref_sensor = SENSORS.get(self.platform, None)
      if ref_sensor and not sensor == ref_sensor:
          logger.error(
              "Sensor-Platform mismatch: {} is not a payload "
              "of {}. Did you choose the correct reader?".format(
                  sensor, self.platform
              )
          )
  
imports: import logging
  from datetime import datetime
  import numpy
  import xarray
  from satpy.readers._geos_area import get_area_definition, get_area_extent
  from satpy.readers.hrit_base import HRITFileHandler, ancillary_text, annotation_header, base_hdr_map, image_data_function
  from satpy.readers.utils import get_geostationary_mask
label_desc: Use image node_id 3 for calling the HRITJMAFileHandler obj's underlying member method code with example usage: obj._check_sensor_platform_consistency(sensor) without return types