Skip to content

Commit e361fc9

Browse files
committed
issue #10: Comment out call to get_USGS_metadata() function
1 parent 4ceaa81 commit e361fc9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

get_AWDB_stations_3.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -802,16 +802,16 @@ def main():
802802
write_to_summary_log("{}: stations_{} processing FAILED".format(datetime.now(), network))
803803
continue
804804

805-
if network == "USGS":
806-
LOGGER.info("USGS data requires area from USGS web service. Retreiving...")
807-
try:
808-
get_USGS_metadata(fc)
809-
except Exception as e:
810-
LOGGER.log(15, e)
811-
LOGGER.log(15, traceback.format_exc())
812-
LOGGER.error("Failed to retrieve the USGS area data. Could not continue.")
813-
write_to_summary_log("{}: stations_{} processing FAILED".format(datetime.now(), network))
814-
continue
805+
#if network == "USGS":
806+
# LOGGER.info("USGS data requires area from USGS web service. Retreiving...")
807+
# try:
808+
# get_USGS_metadata(fc)
809+
# except Exception as e:
810+
# LOGGER.log(15, e)
811+
# LOGGER.log(15, traceback.format_exc())
812+
# LOGGER.error("Failed to retrieve the USGS area data. Could not continue.")
813+
# write_to_summary_log("{}: stations_{} processing FAILED".format(datetime.now(), network))
814+
# continue
815815

816816
try:
817817
projectedfc = arcpy.Project_management(fc, os.path.join(templocation, fc_name), prjSR) # from unprjSR to prjSR

0 commit comments

Comments
 (0)