Lightning Information from JMA(Japan Meteorological Agency) convert to GeoJSON
Getting lightning information from JMA High-resolution Precipitation Nowcasts and convert to GeoJSON.
気象庁 高解像度降水ナウキャストの雷情報から、雲放電と対地放電の座標を取得し、GeoJSONで出力します。
- get_liden.py - code (python3)
- recent.json - sample GeoJSON (May 1, 2017, 13:30 JST)
- docs/viewer.html - sample web viewer (using OpenLayers 4.1.0)
- docs/js/maprenderer.js - same as above
- docs/images/0.png - cloud discharge icon
- docs/images/1.png - ground discharge icon
get recent information.
python get_liden.py
get information of specified date and time.
python get_liden.py 201705010430
{
"type": "FeatureCollection",
"features": [{
"geometry": {
"type": "Point",
"coordinates": [139.762, 35.608]
},
"type": "Feature",
"properties": {
"type": 0
}
}]
}
properties.type 0 is Cloud-to-cloud lightning and 1 is Cloud-to-ground lightning.