-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest_dicts.py
42 lines (27 loc) · 921 Bytes
/
test_dicts.py
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
# -*- coding: utf-8 -*-
"""
Created on Wed Feb 17 11:14:59 2021
@author: Avell
"""
import funcs_io
import funcs_solver
# read dicts
the_dicts = funcs_io.read_the_dicts()
# dict of solver types
dict_bho_solver = the_dicts['dict_bho_solver']
# dicts of parameters
dict_parameters_t1 = the_dicts['dict_parameters_t1']
dict_parameters_t2 = the_dicts['dict_parameters_t2']
dict_parameters_t3 = the_dicts['dict_parameters_t3']
dict_parameters_t4 = the_dicts['dict_parameters_t4']
# pointer to dict_of_parameters
dict_type_params = {
1: dict_parameters_t1,
2: dict_parameters_t2,
3: dict_parameters_t3,
4: dict_parameters_t4,
}
# identify dict of required 'mini' for each cotrecho (partial process)
dict_bho_ixc = funcs_solver.make_dict_bho_ixc(the_dicts)
# list of available cotrechos to downscale
available_to_downscale = list(dict_bho_solver.keys())