code: def read_atms_coeff_to_string(fn):
      """Read the coefficients into a string."""
      if os.path.isfile(fn):
          coeff_str = open(fn, "r").readlines()
      else:
          parts = fn.split(":")
          mod_part, file_part = (
              parts if len(parts) == 2 else ("", parts[0])
          )
          mod_part = mod_part or __package__  # self.__module__
          coeff_str = (
              get_resource_string(mod_part, file_part)
              .decode()
              .split("\n")
          )
  
      return coeff_str
  
imports: import datetime
  import importlib
  import logging
  import os
  from collections import Counter
  import dask.array
  import numpy
  import xarray
  from satpy.aux_download import retrieve
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 2 for calling a global function with example usage: read_atms_coeff_to_string(fn) and returns: coeff_str