Skip to content

Create and merge GIBS browse imagery for HLS hdf files.

Notifications You must be signed in to change notification settings

NASA-IMPACT/hls-browse_imagery

Repository files navigation

hls-browse_imagery

Create and merge GIBS browse imagery for HLS products.

Requirements - Requires a system installation of gdal with Python bindings.

Installation

$ pip install .

Example Usage

$ granule_to_gibs inputdir outputdir HLS.S30.T01LAH.2020097T222759.v1.5
$ create_gibs_tile inputdir HLS.S30.2020097.320071.v1.5 320071 

The create_gibs_tile command returns the gibs tile name with the count of sub tiles appended to the file name.

$ generate_gibs_metadata inputdir HLS.S30.2020097.320071.v1.5.xml HLS.S30.2020097.320071.v1.5.tiff  2020097

Run tests in container

docker build -t hls-browse_imagery . && docker run hls-browse_imagery