code: def make_temporary_file():
      """Make a temporary file to use for backing measurements data
  
      returns a file descriptor (that should be closed when done) and a
      file name.
      """
      from ..preferences import get_temporary_directory
  
      temporary_directory = get_temporary_directory()
      if not (
          os.path.exists(temporary_directory)
          and os.access(temporary_directory, os.W_OK)
      ):
          temporary_directory = None
      return tempfile.mkstemp(
          prefix="Cpmeasurements",
          suffix=".hdf5",
          dir=temporary_directory,
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/utilities/measurement.py
imports: import os
  import re
  import sys
  import tempfile
  from .hdf5_dict import get_top_level_group
  from .hdf5_dict import VERSION
label_desc: Use image node_id 2 for calling a global function with example usage: make_temporary_file() and returns: tempfile