amedash
v0.1.0
Published
AMeDAS CLI -- query Japan Meteorological Agency weather observation data
Maintainers
Readme
ame -- AMeDAS CLI
Query Japan Meteorological Agency weather observations from the terminal. JSON output by default, human-readable tables when stdout is a TTY.
Install
npm install -g amedashUsage
ame now tokyo # latest observation
ame stations --name sapporo # search stations
ame stations show 44132 # station detail
ame history tokyo --from 2025-01-01 --to 2025-01-31 --interval hourly
ame map # all-station snapshot
ame schema fields # field descriptions and unitsGlobal Flags
| Flag | Description |
|------|-------------|
| --json | Force JSON output (even in TTY) |
| --fields F1,F2 | Limit output fields |
| --format FMT | json (default), csv, table |
| --raw | Include raw [value, flag] quality pairs |
Data Sources
All data from JMA. No API key required. The best source (bosai JSON for recent 10-min data, obsdl CSV or etrn HTML for full history) is selected automatically.
Development
bun install
bun test
bun run buildLicense
MIT
