-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample_settings.py
36 lines (27 loc) · 1.32 KB
/
example_settings.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
# Copy this file to local_settings.py and customize.
DIR_MIMETYPE = 'application/vnd.google-apps.folder'
SCOPES = ['https://www.googleapis.com/auth/drive.readonly']
ACCEPTED_FILETYPES = ['.csv', '.png']
OL_EXPECTED_FILES_SET = set(
('OL_Air-Soil-7Day.png', 'OL_Air-Soil-24Hr.png', 'OL_Air-Soil-30Day.png',
'OL_Baro-7Day.png', 'OL_Baro-24Hr.png', 'OL_Baro-30Day.png',
'OL_CO2-7Day.png', 'OL_CO2-24Hr.png', 'OL_CO2-30Day.png',
'OL_Ozone-7Day.png', 'OL_Ozone-24Hr.png', 'OL_Ozone-30Day.png',
'OL_Precip-7Day.png', 'OL_Precip-24Hr.png', 'OL_Precip-30Day.png',
'OL_Wind-7Day.png', 'OL_Wind-24Hr.png', 'OL_Wind-30Day.png',
'Widget.png'))
RT_EXPECTED_FILES_SET = set(
('RT_Air-Soil-7Day.png', 'RT_Air-Soil-24Hr.png', 'RT_Air-Soil-30Day.png',
'RT_Baro-7Day.png', 'RT_Baro-24Hr.png', 'RT_Baro-30Day.png',
'RT_Precip-7Day.png', 'RT_Precip-24Hr.png', 'RT_Precip-30Day.png',
'RT_Wind-7Day.png', 'RT_Wind-24Hr.png', 'RT_Wind-30Day.png'))
LOCAL_DIRECTORY_BASE = '/tmp/blackrock/'
CONVERT = '/usr/bin/convert'
PURGE_OLDER_THAN = '+30'
DEBUG = True
REMOTE_FILENAME = 'Lodge.jpg'
LOCAL_WEBCAM_DIRECTORY_BASE = ''
LOCAL_FILENAME_PREFIX = 'Black_Rock'
PROCESSED_DATA_DIR = '/tmp/processed/'
# Explicit Directory required for cron job during production
ACCESS_DIR = '/Users/<user_profile>/blackrock_fetcher/'