Skip to content

Commit 83f4bfe

Browse files
authored
Update IMD-GUI.pyw
1 parent 13c5865 commit 83f4bfe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

IMD-GUI.pyw

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ if len(sys.argv) == 1:
1212
form = sg.FlexForm('IMD-GRD-EXTRACT', default_element_size=(40, 1))
1313
choices = list(reversed(range(1901,2021)))
1414
layout = [
15-
[sg.Text('Downloading IMD gridded Data as CSV Files', size=(40, 1), font=("Helvetica", 20))],
16-
[sg.Text('Start year',size=(15,1)),sg.Text('end year',size=(15,1))],
15+
[sg.Text('Downloading IMD gridded Data as CSV Files', size=(40, 1), font=("Helvetica", 14))],
16+
[sg.Text('choose the time range to download',size=(30,1))],
17+
[sg.Text('Start year',size=(10,1), justification='center'),sg.Text('End year',size=(10,1),justification='center')],
1718
[sg.InputCombo((choices),size=(10, 4)),sg.InputCombo((choices),size=(10, 4))],
18-
[sg.Text('Document to open')],
19+
[sg.Text('Coordinates input file')],
1920
[sg.In(), sg.FileBrowse()],
2021
[sg.Submit(), sg.Cancel()]
2122
]
@@ -66,5 +67,5 @@ for i in range(len(lats)):
6667
print("created the file: " + str(f'{lats[i]:.2f}') + '_' + str(f'{lons[i]:.2f}') + '.csv and deleted the temp files')
6768
for f in os.listdir("temp"):
6869
os.remove(os.path.join("temp", f))
69-
sg.Popup('done')
70-
sg.close
70+
sg.Popup('done downloading')
71+
sg.close

0 commit comments

Comments
 (0)