-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetera5_code.lfm
More file actions
497 lines (497 loc) · 13.1 KB
/
getera5_code.lfm
File metadata and controls
497 lines (497 loc) · 13.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
object frmmain: Tfrmmain
Left = 452
Height = 628
Top = 53
Width = 642
HorzScrollBar.Page = 624
HorzScrollBar.Range = 624
VertScrollBar.Page = 576
VertScrollBar.Range = 576
BorderIcons = [biSystemMenu, biMinimize]
Caption = 'Get ERA5'
ClientHeight = 628
ClientWidth = 642
OnShow = FormShow
Position = poScreenCenter
LCLVersion = '3.6.0.0'
object GroupBox2: TGroupBox
Left = 16
Height = 73
Top = 8
Width = 520
Caption = 'Dataset'
ClientHeight = 53
ClientWidth = 516
TabOrder = 0
object cbDataset: TComboBox
Left = 16
Height = 23
Top = 10
Width = 488
ItemHeight = 15
Items.Strings = (
'ERA5 monthly averaged data on single levels'
'ERA5 monthly averaged data on pressure levels'
'ERA5 hourly data on single levels'
'ERA5 hourly data on pressure levels'
)
ParentFont = False
Style = csDropDownList
TabOrder = 0
OnChange = cbDatasetChange
end
end
object PageControl1: TPageControl
Left = 16
Height = 443
Top = 168
Width = 608
ActivePage = TabSheet1
Anchors = [akTop, akLeft, akBottom]
Enabled = False
TabIndex = 0
TabOrder = 1
object TabSheet1: TTabSheet
Caption = 'Parameter'
ClientHeight = 415
ClientWidth = 600
ParentFont = False
object GroupBox3: TGroupBox
Left = 8
Height = 383
Top = 8
Width = 576
Anchors = [akTop, akLeft, akBottom]
Caption = 'Parameter [Units]'
ClientHeight = 363
ClientWidth = 572
ParentFont = False
TabOrder = 0
object cgParameter: TCheckListBox
Left = 4
Height = 327
Top = 32
Width = 564
Anchors = [akTop, akLeft, akBottom]
BorderStyle = bsNone
Columns = 1
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
object cgParamaterFilter: TListFilterEdit
Left = 4
Height = 23
Top = 0
Width = 564
ButtonWidth = 23
NumGlyphs = 1
MaxLength = 0
ParentFont = False
TabOrder = 1
end
end
object lbAllParameters: TLabel
Cursor = crHandPoint
Left = 536
Height = 15
Top = 391
Width = 48
Anchors = [akLeft, akBottom]
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllParametersClick
end
end
object TabSheet2: TTabSheet
Caption = 'Level, Region and Grid'
ClientHeight = 415
ClientWidth = 600
ParentFont = False
object GroupBox4: TGroupBox
Left = 8
Height = 112
Top = 104
Width = 576
Caption = 'Level, hPa'
ClientHeight = 92
ClientWidth = 572
ParentFont = False
TabOrder = 0
object cgLevel: TCheckListBox
Left = 4
Height = 88
Top = 0
Width = 564
BorderStyle = bsNone
Columns = 10
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
end
object lbAllLevels: TLabel
Cursor = crHandPoint
Left = 536
Height = 15
Top = 216
Width = 48
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllLevelsClick
end
object GroupBox12: TGroupBox
Left = 8
Height = 89
Top = 8
Width = 248
Caption = 'Region'
ClientHeight = 69
ClientWidth = 244
ParentFont = False
TabOrder = 1
object seymin: TSpinEdit
Left = 96
Height = 23
Top = 32
Width = 58
MaxValue = 90
MinValue = -90
ParentFont = False
TabOrder = 0
Value = -90
end
object seymax: TSpinEdit
Left = 96
Height = 23
Top = 0
Width = 58
MaxValue = 90
MinValue = -90
ParentFont = False
TabOrder = 1
Value = 90
end
object sexmin: TSpinEdit
Left = 16
Height = 23
Top = 16
Width = 58
MaxValue = 180
MinValue = -180
ParentFont = False
TabOrder = 2
Value = -180
end
object sexmax: TSpinEdit
Left = 176
Height = 23
Top = 16
Width = 58
MaxValue = 180
MinValue = -180
ParentFont = False
TabOrder = 3
Value = 180
end
end
object rgGrid: TRadioGroup
Left = 272
Height = 89
Top = 8
Width = 312
AutoFill = True
Caption = 'Grid'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclTopToBottomThenLeftToRight
ChildSizing.ControlsPerLine = 3
ClientHeight = 69
ClientWidth = 308
ColumnLayout = clVerticalThenHorizontal
Columns = 3
ItemIndex = 0
Items.Strings = (
'0.25'
'0.5'
'0.75'
'1.0'
'1.5'
'2.0'
'2.5'
'3.0'
'5.0'
)
ParentFont = False
TabOrder = 2
end
end
object TabSheet3: TTabSheet
Caption = 'Date'
ClientHeight = 415
ClientWidth = 600
ParentFont = False
object gbYear: TGroupBox
Left = 8
Height = 376
Top = 8
Width = 256
Anchors = [akTop, akLeft, akBottom]
Caption = 'Year'
ClientHeight = 356
ClientWidth = 252
ParentFont = False
TabOrder = 0
object cgYear: TCheckListBox
Left = 0
Height = 356
Top = 0
Width = 252
Align = alClient
Anchors = [akTop, akLeft, akBottom]
BorderStyle = bsNone
Columns = 5
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
end
object gbMonth: TGroupBox
Left = 280
Height = 96
Top = 8
Width = 304
Caption = 'Month'
ClientHeight = 76
ClientWidth = 300
ParentFont = False
TabOrder = 1
object cgMonth: TCheckListBox
Left = 0
Height = 76
Top = 0
Width = 300
Align = alClient
Anchors = [akLeft]
BorderStyle = bsNone
Columns = 3
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
end
object gbMonth2: TGroupBox
Left = 280
Height = 128
Top = 120
Width = 304
Caption = 'Day'
ClientHeight = 108
ClientWidth = 300
ParentFont = False
TabOrder = 2
object cgDay: TCheckListBox
Left = 0
Height = 108
Top = 0
Width = 300
Align = alClient
Anchors = [akLeft]
BorderStyle = bsNone
Columns = 6
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
end
object gbMonth1: TGroupBox
Left = 280
Height = 120
Top = 264
Width = 304
Caption = 'Time'
ClientHeight = 100
ClientWidth = 300
ParentFont = False
TabOrder = 3
object cgTime: TCheckListBox
Left = 0
Height = 100
Top = 0
Width = 300
Align = alClient
Anchors = [akLeft]
BorderStyle = bsNone
Columns = 6
ItemHeight = 0
ParentFont = False
TabOrder = 0
end
end
object lbAllYears: TLabel
Cursor = crHandPoint
Left = 8
Height = 15
Top = 384
Width = 48
Anchors = [akLeft, akBottom]
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllYearsClick
end
object lbAllMonth: TLabel
Cursor = crHandPoint
Left = 280
Height = 15
Top = 104
Width = 48
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllMonthClick
end
object lbAllDays: TLabel
Cursor = crHandPoint
Left = 280
Height = 15
Top = 248
Width = 48
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllDaysClick
end
object lbAllHours: TLabel
Cursor = crHandPoint
Left = 280
Height = 15
Top = 384
Width = 48
Caption = 'Select All'
Font.Color = clNavy
Font.Style = [fsUnderline]
ParentColor = False
ParentFont = False
OnClick = lbAllHoursClick
end
end
object TabSheet4: TTabSheet
Caption = 'Get data'
ClientHeight = 415
ClientWidth = 600
ParentFont = False
object mLog: TMemo
Left = 10
Height = 351
Top = 48
Width = 576
Anchors = [akTop, akLeft, akBottom]
Lines.Strings = (
'mLog'
)
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
end
object btnScript: TBitBtn
Left = 448
Height = 24
Hint = 'Show script'
Top = 15
Width = 29
Enabled = False
Glyph.Data = {
36030000424D3603000000000000360000002800000010000000100000000100
18000000000000030000232E0000232E00000000000000000000FDFDFDF0E5D2
D9B87FD3AE6ACB9F50D3AE69D3AE69D3AE69D3AE69D3AD69D3AE69D3AE69D3AE
69D3AE6BE3CCA4FDFDFDF2E8D7C38F2ED9BA78DDC186CCA150D9BB7EDCC084DA
BC7DDABA7ADABA7ADABA7ADABA7ADABA7AD9B978CBA24CE6D2B0DBBD88DBBD7E
DDC188DEC289DDC188C99B49DABB7DE3CD9FE0C899E0C899E0CA99E0C899E0CA
99E3CCA1D9BB7CD7B578D0A961C38F2DC1902FC49233C79B44C59338D8B875EC
DFC3EAD9B7E9D9B7E9D9B7E9D9B7E9D7B7EDE0C5DBBE82D4B06EF7F2EAFFFFFF
FFFFFFFFFFFFF4EEE6CEA456DBC086F8F6F0F5EFE1F4EFE3F4EFE3F4EFE3F4EF
E3F9F5EED6B672DBBC86FDFDFDFDFFFFFFFFFFFFFFFFCDA45CD6B46ED3AF68D2
AC61D0A85AD0A85AD0A859D0A95BD3AE64D7B672C29130F2E8D7FDFDFDFEFEFF
FFFFFFE9D7BCCB9D47E1CB98FBFCFAF9F8F3F9F8F3FBF8F5F9F8F3FCFAFAF8F7
F1D3AD63D7B57EFDFDFDFDFDFDFFFFFFFEFFFFC29033D8B878E7D4ADE1CA9EE1
C998E1C998E1C998E1CA99E3CEA2D4B068C49237FFFFFFFDFDFDFDFDFDFFFFFF
C69946D5B26ADABE82E3CC9DE1C998DFC798E1C997E2CB9BE5D0A4E4CFA1C290
31FBFAFBFFFFFFFDFDFDFDFDFDE5D0B0CEA655E1CB9AFDFFFFFAFAF8F9F9F5FB
F9F7F9F9F5FCFBFAEFE1C8D3AD62D9BA84FFFFFFFEFFFFFDFDFDFDFDFDC5943E
DABA7AD7B673D5B16AD3AE65D4AF66D4AF67D4AF67D5B16AD8B876C18D2DFFFF
FFFFFFFFFDFFFFFDFDFDF7F1E8C28E2CDCBE83DABB7DDABB7DDCBE83D7B574D7
B876D6B674D8B674D7B877CFA55EFFFFFFFFFFFFFFFFFFF7F2E9F0E5D2C99D44
DCBF84DABB7DDABC7FDBC185BC8421CEA456CBA151CBA151CDA252C79C46C696
3BC1902FC18F2DD0A961F8F3EBC08B29DCBE82DABB7DDCBF83D1AA61D4B26DDE
C28ADCC085DCC085DCC085DCC085DCC085DDC188DBBD7EDBBD88FDFDFDC79A47
D9B977DCBF83DFC48CC59238DFC48CDCBF84DCBE83DCBE83DCBE83DCBE82DBBD
80D9B978C38E2EF2E8D7FDFDFDF8F4ECD8B67BD3AE69CB9F51D1AA63D3AE69D3
AE69D3AE69D3AE69D3AE69D3AE69D3AE6AD9B97EF0E5D2FDFDFD
}
OnClick = btnScriptClick
ParentFont = False
TabOrder = 1
end
object btnDownload: TButton
Left = 482
Height = 24
Hint = 'Download data'
Top = 15
Width = 104
Caption = 'Download'
Enabled = False
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = btnDownloadClick
end
end
end
object rgStream: TRadioGroup
Left = 16
Height = 65
Top = 88
Width = 608
AutoFill = True
Caption = 'Product'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 2
Columns = 2
OnClick = rgStreamClick
TabOrder = 2
end
object btnSettings: TButton
Left = 549
Height = 25
Top = 34
Width = 75
Caption = 'Settings'
ParentFont = False
TabOrder = 3
OnClick = btnSettingsClick
end
end