hypso#
hypso processes images from the HYPSO-1 and HYPSO-2 hyperspectral
satellites (NTNU SmallSat Lab), from raw counts to atmospherically corrected
reflectance, and reads and writes them as CF-compliant NetCDF files that open
in ESA SNAP.
import hypso
l1c = (hypso.open("HYPSO2_HSI.20250304T103805.aeronetvenice.L1A.nc")
.calibrate()
.georeference(latitudes="latitudes_indirectgeoref.dat",
longitudes="longitudes_indirectgeoref.dat")
.toa_reflectance())
l1c.write() # HYPSO2_HSI.20250304T103805.aeronetvenice.L1C.nc
l2a = l1c.correct_atmosphere() # MACHI; or "ocsmart", config="ac_tools.yaml"
l2a.window(45.3139, 12.5083, size=3) # matchup window at AAOT
Level |
Contents |
Made by |
|---|---|---|
L1A |
raw counts ( |
ground station |
L1B |
top-of-atmosphere radiance ( |
|
L1C |
top-of-atmosphere reflectance ( |
|
L2A |
atmospherically corrected reflectance |
|
Getting started
User guide
Development
Reference