code: def new_get_hd(instance, hdr_info):
      """Generate some metadata."""
      if os.fspath(instance.filename).endswith(".C_"):
          instance.mda = mda_compressed.copy()
      else:
          instance.mda = mda.copy()
  
imports: import bz2
  import gzip
  import os
  import unittest
  from datetime import datetime, timedelta
  from tempfile import NamedTemporaryFile, gettempdir
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers import FSFile
  from satpy.readers.hrit_base import HRITFileHandler, decompress, get_xritdecompress_cmd, get_xritdecompress_outfile
label_desc: Use image node_id 1 for calling a global function with example usage: new_get_hd(instance, hdr_info) without return types