It appears I keep losing my database connection? I am looping. The first 6 or 20 or so operations execute fine, but then it appears I loose the database connection? There is a pause, then a rapid fire of errors. Once it loses a connection, it does not recover.
Any suggestions? Thanks!
testSQLCreatorConnection = r"D:\PWDs\SDE_Connection_Files\agren-gis-test-DataCreator.sde"
inAllDEMMosaicDataset = r"\GIS.DATACREATOR.all_dem"
inAllDEMMosaicDatasetFullPath = testSQLCreatorConnection + inAllDEMMosaicDataset
result = arcpy.GetCellValue_management(in_raster=inAllDEMMosaicDatasetFullPath, location_point=str(point['x'])+ " " + str(point['y']), band_index="")
EXAMPLE LOG File:
INFO:root:QADEMData: START
INFO:root:2018-05-14 11:39:04.494000 Status: 0, cellSize: 0, cellValue: 69.924477
INFO:root:2018-05-14 11:39:09.009000 Status: 0, cellSize: 0, cellValue: 69.924477