code: def __init__(self, path):
      if SARModel.__model is not None and SARModel.__path == path:
          self.model = SARModel.__model
          return
  
      # find the .sar.related & .sar.offsets files
      sar_files = list(Path(path).glob("*" + SARModel.__extension))
      sar_files.sort(key=os.path.getmtime, reverse=True)
      if len(sar_files) < 1:
          raise ValueError(
              f"Directory '{path}' must contain at least 1 file ending in '{SARModel.__extension}'"
          )
  
      # instantiate C++ backend
      SARModel.__model = self.model = pysarplus_cpp.SARModelCpp(
          str(sar_files[0])
      )
      SARModel.__path = path
  
imports: import pysarplus_cpp
  import os
  from pathlib import Path
label_desc: Use image node_id 1 to create a new SARModel object  with example: obj = SARModel(path)