Skip to content

Latest commit

 

History

History
executable file
·
35 lines (20 loc) · 1.41 KB

README.md

File metadata and controls

executable file
·
35 lines (20 loc) · 1.41 KB

What is nasa-hls

nasa_hls might help you to query, download and work with S30 and/or L30 data from NASA's Harmonized Landsat and Sentinel-2 project. If you are lucky, your area of interest is covered by the test sites (see also the map with available tiles).

The package comprises the following functionality:

  • query the right scenes
  • download scenes
  • convert the HDF files (one per scene) in GeoTiff raster files (one per band)
  • convert the bit-encoded Quality Assessment (QA) layer in a mask according to your needs

Installation

In case you have git installed you can install the package as follows:

pip install git+https://github.com/benmack/nasa_hls.git

If not and you have trouble to find a way, please open an issue.

Requirements

This package requires that the GDAL command line tools. Specifically,

  • gdal_translate is required by the function convert_hdf2tiffs
  • gdalinfo is required by the function get_cloud_coverage_from_hdf

Furthermore it depends on the Python packages bs4, requests and tqdm.

Usage

Tutorials are available in the documentation of the package