Skip to content

A set of scripts for processing images from spaaaaace

Notifications You must be signed in to change notification settings

danielsmc/dscovr-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSCOVR-MAP

This is a set of scripts for downloading images from NASA's DSCOVR EPIC instrument, projecting those images onto a world map, and assembling the projected images into videos like this one. These scripts are somewhat fragile and experimental.

fetch.py

Fetches a list of all available images and metadata from the EPIC API. Be aware that as of this writing, the images total almost 20GB. Each time the script is run, it will totally refresh the list of available images, but it will only download image that don't already exist locally. It doesn't verify that images files are valid; there are some that 404.

warp.py

Transforms EPIC disc images into projected world maps and combines them with a nighttime base layer. The fun stuff happens in the fragment shader warp.frag. This script leaks memory like crazy. I suspect that nodebox is "helpfully" caching every texture that's loaded, but I can't figure out where or how to clear said cache.

shotlist.py

Given a start date and end date, produces a ffconcat file that can be fed to ffmpeg to produce a video of that date range. FFmpeg can be invoked like ffmpeg -i frames.ffconcat -c:v libx264 -r 30 -pix_fmt yuv420p -movflags faststart out.mp4.

About

A set of scripts for processing images from spaaaaace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published