nichollsh / AGNI

A 1D radiative-convective model for the atmospheres of hot terrestrial planets.
https://nichollsh.github.io/AGNI/
1 stars 1 forks source link

Stellar spectrum insertion #9

Closed nichollsh closed 3 months ago

nichollsh commented 7 months ago

I think it's fine that the spectra are stored as plain text files in res/, but it would be good to convert the current script src/insert_stellar.py from Python to Julia. It should also check for energy conservation when down-binning the spectra.

nichollsh commented 3 months ago

An alternative approach would instead be to load the stellar spectrum (+rayleigh scattering) into memory directly, rather than modifying the spectral file on the disk.