Skip to content

Compute RAMSES hyperspectral wavelengths - #700

Open
gmaze wants to merge 10 commits into
masterfrom
hyperspectral-wavelength
Open

gmaze wants to merge 10 commits into
masterfrom
hyperspectral-wavelength

Conversation

@gmaze

@gmaze gmaze commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

This PR provides utilities to compute RAMSES hyperspectral wavelengths and integration to the ArgoFloat class.

  • Implement core utilities
  • Implement computation for a single wavelengths vector (based on launch parameters)
  • Implement computation for a list of wavelengths vector (depending on mission parameters)
  • Integrate the computation as an automatic addition to some specific dataset through the ArgoFloat class

New high-levels APIs for a float with auxiliary data:

import argopy as ar

af = ArgoFloat(1902578, aux=True)  # mission-specific pixels
# af = ArgoFloat(3902759, aux=True)  # launch config pixels

af.ramses.coefs          # Dict[str, float | List[float]]
af.ramses.binned_pixel   # Bool
af.ramses.cycle_strides  # Dict[int, Dict[str, int]]

af.ramses.launch_wavelengths      # np.ndarray
af.ramses.wavelengths_by_cycle(3) # np.ndarray
af.ramses.wavelengths             # Dict[int, np.ndarray] 

New low-level utility:

from argopy.utils import hyperspectral

# Read pre-deployment calibration coefficients for down irradiance spectrum
# (from an Auxiliary metadata xarray dataset):
hyperspectral.read_coefs

# Compute RAMSES hyperspectral wavelengths (polynomial formulae, using pixel-binned estimate, or not):
hyperspectral.compute_ramses_wavelengths  

Related content:

@gmaze gmaze self-assigned this Oct 13, 2026
@gmaze gmaze added enhancement New feature or request, development argo-BGC About biogeochemical variables labels Oct 13, 2026
@gmaze gmaze moved this from Queued to In Progress in Argopy Management Dashboard Oct 13, 2026
@gmaze

gmaze commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

poke @catsch @EdLeymarie

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

argo-BGC About biogeochemical variables enhancement New feature or request, development

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant