A Go-based, open-source CLI tool without dependencies for downloading Disturbance Storm Time (DST) index data.
You'll need Go installed.
First of all, you need to install dst
locally:
$ go install stefanco.de/dst/cmd/...@latest
This will install dst
into $GOROOT/bin
.
Then you're able to run dst
locally:
$ dst --help
This message is also available when running $ dst --help
.
Usage:
dst [--all --output <file>]
dst (--start-year <start-year> --end-year <end-year>) [-o <file>]
Options:
-a, --all download everything from 1957 to %d
-s, --start-year download interval start year
[default: 1957]
-e, --end-year download interval end year
[default: %d]
-o <file>, --output <file> write the result to the file at
path <file>
-v, --version output version information and exit
-h, --help display this help and exit
dst is a utility tool for downloading Disturbance Storm Time (DST)
index data (final, provisional, real-time) from 1957 up to %d.
Example:
$ dst --all
DST5701*01 X219 000 011 013 012 012 009 007 007 006 002-001-007-007-008-001 009 008 004 000 001 003 002 004 009 009 004
DST5701*02 X219 000 011 003 006 009 010 012 007 005 008 032 007-007-007-002-001 001 002 005 005-014-041-065-065-059-006
...
DST2403*31RRX020 09999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
$ dst --all --output=dst.txt
$ dst --start-year=1957 --end-year=2024
DST5701*01 X219 000 011 013 012 012 009 007 007 006 002-001-007-007-008-001 009 008 004 000 001 003 002 004 009 009 004
DST5701*02 X219 000 011 003 006 009 010 012 007 005 008 032 007-007-007-002-001 001 002 005 005-014-041-065-065-059-006
...
DST2403*31RRX020 09999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
$ dst --start-year=1957 --end-year=2024 --output=dst.txt
The following technologies, tools and platforms were used during development.
- Code: Go
- CI/CD: GitHub Actions
Thank you for your message! Please fill out a bug report.
This project is licensed under the European Union Public License 1.2.