code: def create_ctth_file(path, attrs=global_attrs):
      """Create a cmic file."""
      filename = (
          path
          / "S_NWC_CTTH_npp_00000_20230118T1427508Z_20230118T1429150Z.nc"
      )
      with h5netcdf.File(filename, mode="w") as nc_file:
          nc_file.dimensions = dimensions
          nc_file.attrs.update(attrs)
          create_ctth_variables(nc_file, "ctth_alti")
          create_ctth_alti_pal_variable_with_fill_value_color(
              nc_file, "ctth_alti_pal"
          )
      return filename
  
imports: import h5netcdf
  import numpy
  import pytest
  import xarray
  from satpy.readers.nwcsaf_nc import NcNWCSAF, read_nwcsaf_time
label_desc: Use image node_id 7 for calling a global function with example usage: create_ctth_file(path, attrs) and returns: filename