code: def himl2_filename_bad(tmp_path_factory):
      """Create a fake himawari l2 file."""
      fname = f'{tmp_path_factory.mktemp("data")}/AHI-CMSK_v1r1_h09_s202308240540213_e202308240549407_c202308240557548.nc'
      ds = xr.Dataset(
          {"CloudMask": (["Rows", "Columns"], clmk_data)},
          coords={
              "Latitude": (["Rows", "Columns"], lat_data),
              "Longitude": (["Rows", "Columns"], lon_data),
          },
          attrs=badarea_attrs,
      )
      ds.to_netcdf(fname)
  
      return fname
  
file_path: satpy/satpy/tests/reader_tests/test_ahi_l2_nc.py
imports: from datetime import datetime
  import numpy
  import pytest
  import xarray
  from satpy.readers.ahi_l2_nc import HIML2NCFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling a global function with example usage: himl2_filename_bad(tmp_path_factory) and returns: fname