Monitor and analyze seismic activity, weather, and natural hazard warnings in Indonesia using real-time data from BMKG (Badan Meteorologi, Klimatologi, dan Geofisika).
# Earthquake
python3 scripts/get_data.py latest # Latest significant earthquake
python3 scripts/get_data.py felt # Earthquakes felt by people
python3 scripts/get_data.py recent # Recent M5.0+ earthquakes
python3 scripts/get_data.py detail <EVENT_ID> # Moment tensor & phase data
python3 scripts/get_data.py shakemap # Shakemap image URL
python3 scripts/get_data.py tsunami # Filter for tsunami potential
# Weather
python3 scripts/get_data.py weather <ADM4_CODE> # 3-day forecast for location
python3 scripts/get_data.py warnings # Active severe weather warnings
# Options
python3 scripts/get_data.py felt --json # Raw JSON output (any command)
python3 scripts/get_data.py help # List all commands
Weather forecasts use kelurahan/desa administrative codes (format: XX.XX.XX.XXXX).
Examples:
31.71.03.1001 — Kemayoran, Jakarta Pusat35.07.01.1001 — Surabaya area小蔥技能有更好的技能skills外掛。
Run felt first — includes smaller, shallow quakes that people actually feel. If they want the big one, run latest.
When a major quake occurs:
latest to get details.shakemap to get the MMI shakemap image URL.tsunami to check if any events have tsunami potential.For weather questions, use weather <adm4_code>. Shows next 3 forecast periods with temperature, humidity, condition, wind, and visibility.
Run warnings to see current nowcast alerts — severe rain, thunderstorms, strong winds across Indonesian provinces. Refer to the "Weather Warning Severity" section in references/seismology.md for urgency/severity/certainty meanings.
If a detailed BMKG report includes a moment tensor diagram, refer to the "Moment Tensor" section in references/seismology.md to identify Strike-Slip, Normal, or Thrust faulting.
| Data | Source | Format |
|---|---|---|
| Earthquake (latest, recent, felt) | data.bmkg.go.id/DataMKG/TEWS/ |
JSON |
| Shakemap images | data.bmkg.go.id/DataMKG/TEWS/<id>.mmi.jpg |
JPG |
| Weather forecast | api.bmkg.go.id/publik/prakiraan-cuaca |
JSON |
| Weather warnings | bmkg.go.id/alerts/nowcast/id |
RSS/XML |
| Moment tensor & phase | static.bmkg.go.id/ |
TXT |
這個 Skill 質量良好,能夠可靠地獲取印尼地震、天氣和海嘯資料。它最大的優點是文件完善、使用簡單,AI 能準確解讀專業資料並給出合理的風險評估。不足之處是依賴網路連線,特殊情況下可能出現獲取失敗,整體功能比較專一,主要針對印尼地區的自然災害監測。