In [ ]:
Copied!
# %pip install "hypercoast[extra]"
# %pip install "hypercoast[extra]"
In [ ]:
Copied!
import hypercoast
import hypercoast
Register and obtain the PRISMA datasets from the ASI PRISMA portal: https://www.asi.it/en/earth-science/prisma/
The dataset contains Prisma.he5
, which we will use in this notebook.
In [ ]:
Copied!
filepath = "/path/to/Prisma.he5"
filepath = "/path/to/Prisma.he5"
Read the PRISMA data as an xarray.Dataset
object.
Create an interactive map.
In [ ]:
Copied!
ds = hypercoast.read_prisma(filepath, method="nearest")
ds
ds = hypercoast.read_prisma(filepath, method="nearest")
ds
In [ ]:
Copied!
m = hypercoast.Map()
m.add_prisma(ds, wavelengths=[650.0, 550.0, 450.0], vmin=0, vmax=0.2)
m.add("spectral")
m
m = hypercoast.Map()
m.add_prisma(ds, wavelengths=[650.0, 550.0, 450.0], vmin=0, vmax=0.2)
m.add("spectral")
m
Add the PRISMA data to the map.