forked from f24-it-services/gfs-weather-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.json
56 lines (56 loc) · 1.19 KB
/
config.sample.json
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
{
"server": {
"port":"8080"
},
"db": "mongoose",
"mongoose": {
"connString": "mongodb://localhost/gfs"
},
"sequelize": {
"user": "gfs",
"database": "gfs",
"password": "foo",
"options": {
"host": "localhost",
"port": 5432,
"dialect": "postgres"
},
"modelOptions": {
"schema": "weather",
"underscored": true
}
},
"crontab": {
"cleanup": {
"schedule": "1 3 * * *",
"options": {
"fileTTL": 172800000,
"dataSetTTL": 172800000,
"downloaderTarget": "/tmp/gfs-downloader"
}
},
"download": {
"schedule": "1 0,12 * * *",
"options": {
"latestUpdate": null,
"target": "/tmp/gfs-downloader",
"forecastStart": 0,
"forecastEnd": 72,
"fields": [{
"name": ["UGRD", "VGRD"],
"combinedName": "UVGRD",
"surface": "10 m above ground",
"resolution": 1
}, {
"name": "TMP",
"surface": "surface",
"resolution": 1
}, {
"name": "PRATE",
"surface": "surface",
"process": ["to-regular", 90, 0, 1, 1, 360, 181]
}
]}
}
}
}