code: def test_hsaf_sc_datetime(sc_h5_file):
      """Test the H-SAF reference time."""
      loaded_scene = _get_scene_with_loaded_sc_datasets(sc_h5_file)
      fname = os.path.basename(sc_h5_file)
      dtstr = fname.split("_")[1]
      obs_time = datetime.strptime(dtstr, "%Y%m%d")
      assert loaded_scene["SC"].attrs["data_time"] == obs_time
  
file_path: satpy/satpy/tests/reader_tests/test_hsaf_h5.py
imports: import os
  from datetime import datetime
  import h5py
  import numpy
  import pytest
  from satpy import Scene
  from satpy.resample import get_area_def
label_desc: Use image node_id 5 for calling a global function with example usage: test_hsaf_sc_datetime(sc_h5_file) without return types