In [ ]:
Copied!
# %pip install "hypercoast[extra]"
# %pip install "hypercoast[extra]"
In [ ]:
Copied!
import hypercoast
import hypercoast
In [ ]:
Copied!
url = "https://github.com/opengeos/datasets/releases/download/hypercoast/NEON_D02_SERC_DP3_368000_4306000_reflectance.h5"
filepath = "data/neon.h5"
hypercoast.download_file(url, filepath)
url = "https://github.com/opengeos/datasets/releases/download/hypercoast/NEON_D02_SERC_DP3_368000_4306000_reflectance.h5"
filepath = "data/neon.h5"
hypercoast.download_file(url, filepath)
Load the dataset as a xarray.Dataset
object.
In [ ]:
Copied!
dataset = hypercoast.read_neon(filepath)
dataset
dataset = hypercoast.read_neon(filepath)
dataset
Visualize the data interactively with HyperCoast.
In [ ]:
Copied!
m = hypercoast.Map()
m.add_neon(filepath, wavelengths=[1000, 700, 500], vmin=0, vmax=0.5)
m
m = hypercoast.Map()
m.add_neon(filepath, wavelengths=[1000, 700, 500], vmin=0, vmax=0.5)
m
In [ ]:
Copied!
m.set_center(-76.5134, 38.8973, 16)
m.set_center(-76.5134, 38.8973, 16)
In [ ]:
Copied!
m.add("spectral")
m.add("spectral")