Last active
December 5, 2016 06:56
Revisions
-
patchdynamics revised this gist
Jul 28, 2015 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,12 @@ gdal_translate -scale 200 350 0 1 air.59.tif air-rescaled.tif find *.tif -exec gdal_translate -scale 200 350 0 1 {} {}.rescaled.tif \; # make into png files mogrify -format jpg *.rescaled.tif # and make the movie! convert -antialias -delay 1x8 *.rescaled.jpg output.mpeg # create a colorspace convert xc:black xc:red xc:orange xc:yellow xc:green1 xc:cyan xc:blue xc:blueviolet xc:black +append -filter Cubic -resize 300x30! -flop rainbow_lut.png find *.rescaled.jpg -exec convert {} -colorspace gray rainbow_lut.png -clut {}.colored.jpg \; convert -antialias -delay 1x8 *.colored.jpg output.mpeg -
patchdynamics renamed this gist
Jul 28, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
patchdynamics created this gist
Jul 28, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # need to rescale the values gdal_translate -scale 200 350 0 1 air.59.tif air-rescaled.tif # or batch it find *.tif -exec gdal_translate -scale 200 350 0 1 {} {}.rescaled.tif \; # make into png files mogrify -format png *.rescaled.tif # and make the movie! convert -antialias -delay 1x8 *.rescaled.jpg output.mpeg