diff --git a/tools/site_and_regional/modify_singlept_site_neon.py b/tools/site_and_regional/modify_singlept_site_neon.py index f9f7188b42..2798f463ec 100755 --- a/tools/site_and_regional/modify_singlept_site_neon.py +++ b/tools/site_and_regional/modify_singlept_site_neon.py @@ -274,10 +274,10 @@ def find_surffile(surf_dir, site_name): surf_file = surf_file[0] else: sys.exit( - "Surface data for this site " + site_name + "was not found:" + surf_file, - ".", - "\n", - "Please run ./subset_data.py for this site.", + "Surface data for this site " + str(site_name) + " was not found:" + str(surf_dir) + str(sf_name) + + "." + + "\n" + + "Please run ./subset_data.py for this site." ) return surf_file