git ssb

0+

Dominic / weather



Tree: 571b5463064bb7011993f1fde656c397d90988b9

Files: 571b5463064bb7011993f1fde656c397d90988b9 / urls.js

1931 bytesRaw
1var urls =
2{
3 "auckland":
4 "http://metservice.com/publicData/inshoreForecastAuckland_Auckland_Onehunga",
5 "bay-of-islands":
6 "http://metservice.com/publicData/inshoreForecastNorthland_Opua",
7 "bay-of-plenty":
8 "http://metservice.com/publicData/inshoreForecastBay-of-Plenty_Tauranga_Whakatane",
9 "coromandel":
10 "http://metservice.com/publicData/inshoreForecastCoromandel_Tauranga",
11 "lake-rotorua":
12 "http://metservice.com/publicData/inshoreForecastLakesLake-Rotorua",
13 "lake-taupo":
14 "http://metservice.com/publicData/inshoreForecastLakesLake-Taupo",
15 "hawke-bay":
16 "http://metservice.com/publicData/inshoreForecastHawke-Bay_Napier",
17 "kapiti":
18 "http://metservice.com/publicData/inshoreForecastKapiti_Karehana-Bay",
19 "mana":
20 "http://metservice.com/publicData/inshoreForecastMana_Karehana-Bay",
21 "wellington":
22 "http://metservice.com/publicData/inshoreForecastWellington_Wellington_Karehana-Bay",
23 "christchurch":
24 "http://metservice.com/publicData/inshoreForecastChristchurch_Lyttelton"
25}
26
27var costal = [
28 'plenty',
29 'abel',
30 'colville',
31 'grey',
32 'brett',
33 'milford',
34 'kaipara',
35 'puysegur',
36 'raglan',
37 'foveaux',
38 'stephens',
39 'chalmers',
40 'cook',
41 'rangitata',
42 'castlepoint',
43 'conway',
44 'portland',
45 'chatham-islands'
46].map(function (e) {
47 urls[e] = 'http://metservice.com/publicData/coastalForecast'+e
48})
49
50//pressure charts
51urls.tasman_charts = "http://metservice.com/publicData/tasmanSeaCombinedCharts"
52urls.pacific_charts = "http://metservice.com/publicData/swPacificChartsCombined"
53
54//high seas
55
56urls.subtropics = 'http://metservice.com/publicData/oceanicForecastSubtropic'
57urls.forties = 'http://metservice.com/publicData/oceanicForecastForties'
58urls.southern = 'http://metservice.com/publicData/oceanicForecastSouthern'
59urls.pacific = 'http://metservice.com/publicData/oceanicForecastPacific'
60
61module.exports = urls
62
63

Built with git-ssb-web