bmorris3 / shone

Radiative transfer in JAX
https://shone.readthedocs.io/
MIT License
4 stars 5 forks source link

Catch irregular wavenumber ranges #15

Closed Hoeijmakers closed 4 months ago

Hoeijmakers commented 4 months ago

This is a fix for cases where the binary files coming from Dace do not cover the same wavenumber range, which is the case for some species and combinations of T and P.

The solution is to track the minimum end-wavenumber and crop all other (larger) wavenumber ranges to that range.