Skip to content

Commit 4e7a960

Browse files
committed
fix: add sample weather data JSON for location and time information
1 parent 56cfe3a commit 4e7a960

1 file changed

Lines changed: 106 additions & 0 deletions

File tree

data/weather/sample.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"@context": [
3+
"https://geojson.org/geojson-ld/geojson-context.jsonld",
4+
{
5+
"@version": "1.1",
6+
"wx": "https://api.weather.gov/ontology#",
7+
"s": "https://schema.org/",
8+
"geo": "http://www.opengis.net/ont/geosparql#",
9+
"unit": "http://codes.wmo.int/common/unit/",
10+
"@vocab": "https://api.weather.gov/ontology#",
11+
"geometry": {
12+
"@id": "s:GeoCoordinates",
13+
"@type": "geo:wktLiteral"
14+
},
15+
"city": "s:addressLocality",
16+
"state": "s:addressRegion",
17+
"distance": {
18+
"@id": "s:Distance",
19+
"@type": "s:QuantitativeValue"
20+
},
21+
"bearing": {
22+
"@type": "s:QuantitativeValue"
23+
},
24+
"value": {
25+
"@id": "s:value"
26+
},
27+
"unitCode": {
28+
"@id": "s:unitCode",
29+
"@type": "@id"
30+
},
31+
"forecastOffice": {
32+
"@type": "@id"
33+
},
34+
"forecastGridData": {
35+
"@type": "@id"
36+
},
37+
"publicZone": {
38+
"@type": "@id"
39+
},
40+
"county": {
41+
"@type": "@id"
42+
}
43+
}
44+
],
45+
"id": "https://api.weather.gov/points/29.8253,-95.4546",
46+
"type": "Feature",
47+
"geometry": {
48+
"type": "Point",
49+
"coordinates": [-95.4546, 29.8253]
50+
},
51+
"properties": {
52+
"@id": "https://api.weather.gov/points/29.8253,-95.4546",
53+
"@type": "wx:Point",
54+
"cwa": "HGX",
55+
"type": "land",
56+
"forecastOffice": "https://api.weather.gov/offices/HGX",
57+
"gridId": "HGX",
58+
"gridX": 60,
59+
"gridY": 97,
60+
"forecast": "https://api.weather.gov/gridpoints/HGX/60,97/forecast",
61+
"forecastHourly": "https://api.weather.gov/gridpoints/HGX/60,97/forecast/hourly",
62+
"forecastGridData": "https://api.weather.gov/gridpoints/HGX/60,97",
63+
"observationStations": "https://api.weather.gov/gridpoints/HGX/60,97/stations",
64+
"relativeLocation": {
65+
"type": "Feature",
66+
"geometry": {
67+
"type": "Point",
68+
"coordinates": [-95.488497, 29.790849]
69+
},
70+
"properties": {
71+
"city": "Hilshire Village",
72+
"state": "TX",
73+
"distance": {
74+
"unitCode": "wmoUnit:m",
75+
"value": 5036.9691995333
76+
},
77+
"bearing": {
78+
"unitCode": "wmoUnit:degree_(angle)",
79+
"value": 40
80+
}
81+
}
82+
},
83+
"forecastZone": "https://api.weather.gov/zones/forecast/TXZ213",
84+
"county": "https://api.weather.gov/zones/county/TXC201",
85+
"fireWeatherZone": "https://api.weather.gov/zones/fire/TXZ213",
86+
"timeZone": "America/Chicago",
87+
"radarStation": "KHGX",
88+
"astronomicalData": {
89+
"sunrise": "2026-02-14T07:00:41-06:00",
90+
"sunset": "2026-02-14T18:11:11-06:00",
91+
"transit": "2026-02-14T12:35:56-06:00",
92+
"civilTwilightBegin": "2026-02-14T06:37:31-06:00",
93+
"civilTwilightEnd": "2026-02-14T18:34:21-06:00",
94+
"nauticalTwilightBegin": "2026-02-14T06:09:27-06:00",
95+
"nauticalTwilightEnd": "2026-02-14T19:02:25-06:00",
96+
"astronomicalTwilightBegin": "2026-02-14T05:41:37-06:00",
97+
"astronomicalTwilightEnd": "2026-02-14T19:30:15-06:00"
98+
},
99+
"nwr": {
100+
"transmitter": "KGG68",
101+
"sameCode": "048201",
102+
"areaBroadcast": "https://api.weather.gov/radio/KGG68/broadcast",
103+
"pointBroadcast": "https://api.weather.gov/points/29.8253,-95.4546/radio"
104+
}
105+
}
106+
}

0 commit comments

Comments
 (0)