I am creating a script that uses AreaSolarRadiation. Currently arcpy gives a cryptic error during the night hours.
arcgisscripting.ExecuteError: ERROR 999999: Error executing function. Failed to open raster dataset Failed to execute (AreaSolarRadiation) My question.
Is there a way to simply check to know when it is night hours so I can skip running the tool? Currently I just catch the cryptic error and skip it. The script calculates Solar Radiation every hour over several days. It would be nice to have a quick check to save computation time during night hours.
أكثر...
arcgisscripting.ExecuteError: ERROR 999999: Error executing function. Failed to open raster dataset Failed to execute (AreaSolarRadiation) My question.
Is there a way to simply check to know when it is night hours so I can skip running the tool? Currently I just catch the cryptic error and skip it. The script calculates Solar Radiation every hour over several days. It would be nice to have a quick check to save computation time during night hours.
أكثر...