Skip to content

A bash tool (script) to generate animated (gif) temporal progressions of land cover with inputs of lat, long, and start/end dates. Requires landsat-util, GNU parallel, and imagemagick. Still under construction!

License

Notifications You must be signed in to change notification settings

alexkapps/landsat-gifworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

landsat-gifworks

A little bash tool (script) to generate animated (gif) temporal progressions of land cover with inputs of lat, long, and start/end dates (for now change dates in the code). Requires landsat-util, GNU parallel, and imagemagick. Still under construction!

  • this is a work in progress. If you know enough to fiddle with it, it's all there!

Boston, MA from August 2014 through March 2015. If you didn't hear.. this was a record year for Boston snowfall!

to get this gif I used:

(venv)alex@alex-laptop:~/Documents/for_fun$ bash landsat-gifworks.sh 42 -71
  • I included a date range of -s "august 30 2014" -e "march 23 2015", but since the script is still under construction.. I ended up removing the first TIF (as it was too dark) from the displayed product.
  • Any time you want to remove an image from the final product, identify which TIF(s) you don't want, delete them from the working folder, and run the final convert command again. Make sure to replace the filename in that final command so that it reflects the path/row 3+3=6digit ID (in this example case it was 011031).

Dependencies

To Do List:

  • make less bootleg
  • fix gdal_translate line so that script crops based on designated subset size (allowing for zoomed in, more place specific gifs)
  • allow for user designated dates, input of rescale factor (from original landsat-util processed output size)
  • remove all working files after its done (these add up quick, keep that in mind)
  • comments
  • fix the final imagemagick convert command so that manual entry of the path/row ID numbers do not need to be entered every time.
  • display the number of images to be downloaded and processed and make sure that this is okay with the user before continuing.

About

A bash tool (script) to generate animated (gif) temporal progressions of land cover with inputs of lat, long, and start/end dates. Requires landsat-util, GNU parallel, and imagemagick. Still under construction!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages