Skip to content
Snippets Groups Projects
Commit 2d0f667a authored by Aurélien Beuerle's avatar Aurélien Beuerle
Browse files

Replace Main_Program_to_Execute.py

parent ec1ea7b9
Branches
No related tags found
No related merge requests found
......@@ -192,7 +192,12 @@ def download_hdf_file(data, month,day, GEO_ZONE):
if data == '1' :
print("________________________________________________________________\n")
print("---> Downloading the type : 1 - RGB View of the",GEO_ZONE," for", day,"/",month,"/ 2019")
FILE_NAME = D.download_MOD09GA( month, day, username, password)
try:
import signal
a = signal.SIGALRM
FILE_NAME = D.download_MOD09GA( month, day, username, password)
except:
FILE_NAME = D.download_MOD09GA_Alt(month, day, username, password)
if data == '2' :
print("---> Downloading the type : 2 - NDSI Snow Cover 5km resolution of the",GEO_ZONE,"for", day,"/",month,"/ 2019")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment