Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.69 KB

File metadata and controls

36 lines (21 loc) · 1.69 KB

NSS-Satellite-Imagery-with-NEON-AOP-Data

This repository holds iPython notebooks which process NEON imaging spectrometer (NIS) data to spectrally and spatially align with satellite image datasets from Landsat 8 and Sentinel 2.

The spectral_response_cutoff folder holds json files which contain weights and band indexes for the NIS data to be resampled to a satellite's larger bandwidth multispectral band. It can be loaded directly into a Python dictionary object using:

import json
with open('NIS_weights_L8.json') as fi:
    nis_weights = json.load(fi)

# get the Near-Infrared weights for the Landsat 8 NIR band
nir_weights, nir_bands = nis_weights['L8_NIR']

# construct a single NIR band using those weights and band indexes, stored in simul_l8_nir
# nis_hs_cube is of shape [bands, rows, cols]
simul_l8_nir = nis_hs_cube[nir_bands] * nir_weights / nir_weights.sum()

Clone the repository

git clone https://github.com/earthlab/NSS-Satellite-Imagery-with-NEON-AOP-Data