Skip to content

9SQ/jma-liden2geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jma-liden2geojson

Lightning Information from JMA(Japan Meteorological Agency) convert to GeoJSON

Description

Getting lightning information from JMA High-resolution Precipitation Nowcasts and convert to GeoJSON.

気象庁 高解像度降水ナウキャスト雷情報から、雲放電と対地放電の座標を取得し、GeoJSONで出力します。

Files

  • 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

sample web viewer

How to use

get recent information.

python get_liden.py

get information of specified date and time.

python get_liden.py 201705010430

GeoJSON format

{
	"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.

About

Lightning Information convert to GeoJSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages