Skip to content

Instantly share code, notes, and snippets.



Forked from dwtkns/l8get
Last active Aug 29, 2015
What would you like to do?
# This is a shell function to quickly grab the data for a given Landsat 8 tile ID from Google's servers
# For example:
# l8get LC81690352014169LGN00
# The echo at the end is to remind myself of the syntax for extracting bands 8, 4, 3, and 2. (Pansharp, Red, Green, Blue)
# On OSX this would go into your ~/.bash_profile file.
# Requires gsutil from
# Most useful in conjunction with USGS' Earth Explorer:
function l8get() {
gsutil cp gs://earthengine-public/landsat/L8/$path/$row/$ .
echo ""
echo "tar -jxvf * '*_B[4328].TIF'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.