code: def _newFortranRoutine(self, rname, filename):
      routine = FortranLibrary._newFortranRoutine(self, rname, filename)
      if "blas" in filename.lower():
          routine.type = "blas"
      elif "install" in filename.lower():
          routine.type = "config"
      elif rname.startswith("z"):
          routine.type = "z_lapack"
      elif rname.startswith("c"):
          routine.type = "c_lapack"
      elif rname.startswith("s"):
          routine.type = "s_lapack"
      elif rname.startswith("d"):
          routine.type = "d_lapack"
      else:
          routine.type = "lapack"
      return routine
  
imports: import sys
  import os
  import re
  import subprocess
  import shutil
  import fortran
  import clapack_scrub
label_desc: Use image node_id 1 for calling the LapackLibrary obj's underlying member method code with example usage: obj._newFortranRoutine(rname, filename) and returns: routine