Governing model
Dry-air refractivity is estimated from the wavelength-dependent Edlén standard-air relation, scaled by local pressure and temperature:
n(λ,z) = 1 + [nₛ(λ) − 1] (Pₛ/P₀)(T₀/T)e−(hobs+z)/H
The textbook dry-air reference constants are P₀ = 101.325 kPa, T₀ = 288.15 K and g = 9.80665 m/s². The isothermal scale height is H = RairT/g; hobs is observer elevation and z is height above the observer. Spherical symmetry conserves the ray impact parameter:
b = n(r) r sin ζ = constant
The ray's accumulated central angle is integrated from the observer to the top of the model atmosphere. The apparent launch angle is found by bisection for each true solar altitude and wavelength.
What is simplified
- The atmosphere is dry, horizontally uniform, spherical and isothermal. Real temperature inversions and weather layers can strongly alter refraction.
- Dispersion uses standard-air refractivity scaled with density. Humidity, aerosols, clouds and wavelength-dependent extinction are not solved.
- The Sun is a circular 0.533° source (textbook mean angular diameter). The model evaluates its upper and lower limbs separately; it does not simulate a full radiative-transfer image.
- Ray curves and the spectral split are schematic. The display gain magnifies colour separation without changing any calculated value.
What is illustrative
The sea, telescope, sky colours and atmospheric glow are visual context, not a weather forecast or a prediction of whether a real observer will see a flash. A green flash depends on atmospheric structure, visibility, the horizon and visual contrast.
This is an independent educational model and is not affiliated with any observatory or optical-instrument manufacturer.