Last active
December 15, 2015 16:39
-
-
Save hubgit/5290541 to your computer and use it in GitHub Desktop.
Data source: Cavalieri, D., C. Parkinson, P. Gloersen, and H. J. Zwally. 1996, updated yearly. Sea Ice Concentrations from Nimbus-7 SMMR and DMSP SSM/I-SSMIS Passive Microwave Data. Final data subset. Boulder, Colorado USA: National Snow and Ice Data Center.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ftp://sidads.colorado.edu/pub/DATASETS/nsidc0051_gsfc_nasateam_seaice/final-gsfc/readme.txt | |
# http://nsidc.org/data/nsidc-0051.html | |
wget 'ftp://sidads.colorado.edu/pub/DATASETS/nsidc0051_gsfc_nasateam_seaice/final-gsfc/browse/north/daily.tar' | |
tar -xf daily.tar | |
mkdir png | |
find daily -type f -name \*.png -exec mv {} png/ \; | |
opt="vcodec=mpeg4:qpel:mbd=2:trell:v4mv:vbitrate=10000" | |
mencoder mf://png/*.png -mf type=png:fps=50 -ovc lavc -lavcopts vpass=1:$opt -nosound -o /dev/null | |
mencoder mf://png/*.png -mf type=png:fps=50 -ovc lavc -lavcopts vpass=2:$opt -nosound -o output.avi | |
avconv -i output.avi -vcodec copy output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment