Skip to content

take astronomical data and put random seeds onto an AWS SQS queue for use

License

Notifications You must be signed in to change notification settings

matthewberryman/astroseed

Repository files navigation

astroseed

Takes images from NASA's Earth Polychromatic Imaging Camera (EPIC) instrument aboard DSCOVR (in a Lissajous orbit at the Sun-Earth L1 Lagrangian point, 1,500,000 km from Earth), computes the SHA256 hash, splits that into a set of 32-bit random seeds, and pushes them onto an AWS SQS queue for applications where a random seed is required. To be evaluated in future research: the statistical properties of generated seeds, to gauge their usefulness for different applications.

requirements

installation

Set up your SQS FIFO queue (with content based dedup enabled) and copy and paste its URL into below instructions, along with a NASA API_KEY (optional, otherwise the code defaults to DEMO_KEY)

export SQS_QUEUE_URL="your_SQS_url"
# export API_KEY=your_API_key
serverless deploy

example

The Midsomer Murders bot as currently running at @midsomerplots.

About

take astronomical data and put random seeds onto an AWS SQS queue for use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published