missed dir() and fixed. tested w/ known fail WBIC
missed dir() and fixed. tested w/ working WBIC
handling for model fail w/ no .nc file
handling for small .nc files
added error handling in tryCatch