-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
80 lines (66 loc) · 2.07 KB
/
config.yml
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
---
CPRINT: 'N'
## Logging config
LOG_FORMAT: '{asctime}.{msecs:03.0f} {module:10s} ({lineno:4d}) {funcName:12s} {levelname:5s} {message}'
LOG_DATE_FORMAT: '%Y-%m-%d %H:%M:%S'
LOG_FILENAME: 'climatefind.log'
LOG_FORMAT_JSON: '{message}'
LOG_FILENAME_JSON: 'climatefind.log.json'
OUTPUT_FILENAME: 'report'
OUTPUT_EXT: csv
MODE: 'DATA_THREAD_4' # DATA_BIG or DATA_SMALL
MAX_FILES: 10000
SPEED: 'SLOW' # FAST or SLOW
## Data dir config
DATA_BIG: 'data/big/*.CSV'
DATA_SMALL: 'data/small/*.CSV'
DATA_ONE: 'data/one/*.CSV'
DATA_THREAD_1: 'data/thread/1/*.CSV'
DATA_THREAD_2: 'data/thread/2/*.CSV'
DATA_THREAD_3: 'data/thread/3/*.CSV'
DATA_THREAD_4: 'data/thread/4/*.CSV'
## Export Data File
META_HEADER_ROWS:
- 'site_identifier_code'
- 'station_name'
- 'station_state'
- 'site_time_zone'
- 'site_latitude'
- 'site_longitude'
- 'site_elevation'
#DATA_SMALL_SAMPLES:
# - 'data/small/martha.CSV'
# - 'data/small/bridgeport.CSV'
# - 'data/small/phoenix.CSV'
# - 'data/small/estherville.CSV'
# - 'data/small/sanfrancisco.CSV'
# - 'data/small/denver.CSV'
COLUMS_REPLACEMENT_DICTIONARY:
'Date (MM/DD/YYYY)_Time (HH:MM)': 'time'
'-': '_'
'^': ''
'/': '_'
'%': 'percent'
' (': '_'
')': ''
' ': '_'
MIN_METABOLIC_RATE: 3.01 # 1.0 is sitting at rest; 3 is a normal walk - see https://onlinelibrary.wiley.com/doi/pdf/10.1002/clc.4960130809
MAX_METABOLIC_RATE: 5.01 # 5 is a fast walk
MIN_CLOTHING_RATING: 0.4 # 1.0 is a business suit - ; 0.36 = Walking shorts, short-sleeved shirt https://www.engineeringtoolbox.com/clo-clothing-thermal-insulation-d_732.html - https://en.wikipedia.org/wiki/Clothing_insulation
MAX_CLOTHING_RATING: 0.8
#MAX_CLOTHING_RATING: 1.01 # Trousers, long-sleeved shirt, long-sleeved sweater, T-shirt
DESIRED_STANDARD_EFFECTIVE_TEMPERATURE: 25.6
MAX_WIND_SPEED: 10 # In meters per second
MAX_RAIN_DEPTH: 0
EARLIEST_HOUR: 9
LATEST_HOUR: 18
MAX_DEW_POINT: 15
MIN_COMFY_HOURS: 6
MIN_COMFY_DAYS_PER_MONTH_PERCENT: 50
MIN_ETR: 10 # In W/m^2
# Fast vars
MIN_DRY_BULB_C: 12
MAX_DRY_BULB_C: 25
MAX_DEW_POINT_C: 15
MAX_WINDSPEED_MS: 10
MAX_LIQUID_PRECIP_MM: 0