All Projects → dgketchum → Landsat578

dgketchum / Landsat578

Licence: Apache-2.0 License
Very simple API to download Landsat [1-5, 7, 8] data from Google

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Landsat578

deck.gl-raster
deck.gl layers and WebGL modules for client-side satellite imagery analysis
Stars: ✭ 60 (+11.11%)
Mutual labels:  landsat, remote-sensing, satellite-imagery
eodag
Earth Observation Data Access Gateway
Stars: ✭ 183 (+238.89%)
Mutual labels:  landsat, remote-sensing, satellite-imagery
land-cover-to-land-use-classification
Satellite image processing pipeline to classify land-cover and land-use
Stars: ✭ 64 (+18.52%)
Mutual labels:  landsat, remote-sensing, satellite-imagery
pylandtemp
Algorithms for computing global land surface temperature and emissivity from NASA's Landsat satellite images with Python.
Stars: ✭ 110 (+103.7%)
Mutual labels:  landsat, remote-sensing, landsat-data
ee extra
A ninja python package that unifies the Google Earth Engine ecosystem.
Stars: ✭ 42 (-22.22%)
Mutual labels:  landsat, remote-sensing, satellite-imagery
awesome-spectral-indices
A ready-to-use curated list of Spectral Indices for Remote Sensing applications.
Stars: ✭ 357 (+561.11%)
Mutual labels:  landsat, remote-sensing, satellite-imagery
rLandsat
R Package to make Landsat8 data accessible
Stars: ✭ 95 (+75.93%)
Mutual labels:  satellite-imagery, landsat-data
eemont
A python package that extends Google Earth Engine.
Stars: ✭ 290 (+437.04%)
Mutual labels:  remote-sensing, satellite-imagery
dea-coastlines
Extracting tidally-constrained annual shorelines and robust rates of coastal change from freely available Earth observation data at continental scale
Stars: ✭ 24 (-55.56%)
Mutual labels:  remote-sensing, satellite-imagery
lightweight-temporal-attention-pytorch
A PyTorch implementation of the Light Temporal Attention Encoder (L-TAE) for satellite image time series. classification
Stars: ✭ 43 (-20.37%)
Mutual labels:  remote-sensing, satellite-imagery
Python-for-Remote-Sensing
python codes for remote sensing applications will be uploaded here. I will try to teach everything I learn during my projects in here.
Stars: ✭ 20 (-62.96%)
Mutual labels:  remote-sensing, satellite-imagery
Start maja
To process a Sentinel-2 time series with MAJA cloud detection and atmospheric correction processor
Stars: ✭ 47 (-12.96%)
Mutual labels:  remote-sensing, satellite-imagery
GoogleEarthEngine-side-projects
Google Earth Engine side projects and tutorial scripts
Stars: ✭ 23 (-57.41%)
Mutual labels:  remote-sensing, satellite-imagery
geeSharp.js
Pan-sharpening in the Earth Engine code editor
Stars: ✭ 25 (-53.7%)
Mutual labels:  landsat, remote-sensing
sentinel-util
A CLI for downloading, processing, and making a mosaic from Sentinel-1, -2 and -3 data
Stars: ✭ 22 (-59.26%)
Mutual labels:  remote-sensing, satellite-imagery
xarray-sentinel
Xarray backend to Copernicus Sentinel-1 satellite data products
Stars: ✭ 189 (+250%)
Mutual labels:  remote-sensing, satellite-imagery
Bayesian LSP
A Bayesian hierarchical model that quantifies long-term annual land surface phenology from sparse time series of vegetation indices.
Stars: ✭ 32 (-40.74%)
Mutual labels:  landsat, remote-sensing
pylandsat
Search, download, and preprocess Landsat imagery 🛰️
Stars: ✭ 49 (-9.26%)
Mutual labels:  landsat, remote-sensing
deepwatermap
a deep model that segments water on multispectral images
Stars: ✭ 81 (+50%)
Mutual labels:  landsat, remote-sensing
spyndex
Awesome Spectral Indices in Python.
Stars: ✭ 56 (+3.7%)
Mutual labels:  remote-sensing, satellite-imagery

Build Status codecov PyPI version GitHub license

Easy Landsat Download

Download and unzip full size Landsat 5, 7, and 8 (a.k.a. LT5, LE7, LC8) images via the Google service automatically using a command line interface or a simple python script. (Now you can get all Landsat [1, 2, 3, 4, 5, 7, 8]!)

Python 2.7 and 3.6 compatible.

No credentials needed.

Install

To get the package from PyPi:

Note: This package is no longer maintained on PyPi, just use

$ pip install git+git://github.com/dgketchum/Landsat578.git

if you want install/update the package with pip.

Landsat instruments orbit the earth in sun-synchronous fashion. They pass over each place at approximately the same time of day, every 16 days. The area within each image is predefined and is described by (path,row) coordinates of the World Reference System 2 (WRS2). This system applies to all Landsat missions since LT4. Every place on Earth falls under at lease one path/row 'scene.' Some places fall within overlapping path/row scenes. Landsat 'descends' from North to South in the day, these images are of most interest to researchers, though nighttime images are also available. You can get GIS data of WRS2 here.

See WRS2 over the US state of Montana. Scene 38, 27 is highlighted in purple. Note overlap of neighboring scenes.

Landsat

Run

The first time running this code will download and package a large list of scenes. This should thereafter be updated if one is after the latest imagery. This is a large file and will need about 3GB memory available to the python process to process it.

landsat --update-scenes

If you know the path and row of a location, you can enter it in the command line interface to download and unzip images there between your specified start and end dates. You must choose a satellite. Within the package you downloaded, you need to call landsat.py. Dates are entered as YYYY-MM-DD format, e.g. 2008-05-31.

$ landsat -sat 7 --start 2007-05-01 --end 2007-05-31 --path 38 --row 27 -o /path/to/folder

This command will find the two images that were captured by Landsat 5 of scene 38, 27 in the month of May, 2007 and unzip them to your folder. Use the optional parameter --return-list to just get a list of what was found:

$ landsat -sat 7 --start 2007-05-01 --end 2007-05-31 --path 38 --row 27 --return-list

This will return the two image scene IDs and print to your screen.

['LE70360292007122EDC00', 'LE70360292007138EDC00']

These images happen to have been taken 2007-05-02 (Day of Year, DOY: 122), and on 2007-05-18 (DOY 138). See NOAA's day of year calendar.

The naming conventions of Landsat images are as follows from the USGS Landsat site.

Landsat

You can also download by WGS decimal degrees coordinates (i.e., latitude and longitude):

$ landsat -sat 7 --start 2007-05-01 --end 2007-05-31 --lat 46.5 --lon -107.5 

A negative number lat is in the southern hemisphere, a negtive lon is the western hemisphere.

This package is easy to use within a python program:

from landsat.google import GoogleDownload

g = GoogleDownload(start='2015-01-01', end='2015-12-31', sat=8, path='38', row='28', output_path='path/to/place')
g.download()

Help

landsat -h

This command will show you all positional (mandatory) and optional arguments.

2018 dgketchum

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].