Skip to content

Code and instructions for "Satellite Imagery with NEON AOP Data" Working Group at NEON Science Summit

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Code and instructions for "Satellite Imagery with NEON AOP Data" Working Group at NEON Science Summit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published