Unity.Conversion.Atmospheric (Unity v0.7.0)

Copy Markdown View Source

Nonlinear conversions for atmospheric and geophysical functions.

Includes standard atmosphere pressure and temperature profiles, geopotential height, gravitational acceleration by latitude, and air mass calculations.

Summary

Functions

Solar altitude (degrees) to relative air mass (dimensionless).

Solar zenith angle (degrees) to relative air mass (dimensionless).

Solar altitude (degrees) to atmospheric transmission fraction.

Solar zenith angle (degrees) to atmospheric transmission fraction.

Latitude (degrees) to effective Earth radius (m).

Latitude (degrees) to local gravitational acceleration (m/s²).

Gauge reading (Pa) to absolute pressure (Pa).

Geometric altitude (m) to geopotential height (m).

Gauge reading (psi) to absolute pressure (Pa).

Geometric altitude (m) to standard atmosphere pressure (Pa).

Geopotential height (m) to standard atmosphere pressure (Pa).

Geometric altitude (m) to standard atmosphere temperature (K).

Geopotential height (m) to standard atmosphere temperature (K).

Functions

airmass_forward(alt_deg)

Solar altitude (degrees) to relative air mass (dimensionless).

airmass_inverse(am)

airmassz_forward(zenith_deg)

Solar zenith angle (degrees) to relative air mass (dimensionless).

airmassz_inverse(am)

atm_transmission_forward(alt_deg)

Solar altitude (degrees) to atmospheric transmission fraction.

atm_transmission_inverse(t)

atm_transmissionz_forward(zenith_deg)

Solar zenith angle (degrees) to atmospheric transmission fraction.

atm_transmissionz_inverse(t)

earthradius_eff_forward(lat_deg)

Latitude (degrees) to effective Earth radius (m).

earthradius_eff_inverse(r)

g_phi_forward(lat_deg)

Latitude (degrees) to local gravitational acceleration (m/s²).

g_phi_inverse(g)

gaugepressure_forward(x)

Gauge reading (Pa) to absolute pressure (Pa).

gaugepressure_inverse(p)

geopotential_forward(z)

Geometric altitude (m) to geopotential height (m).

geopotential_inverse(h)

psig_forward(x)

Gauge reading (psi) to absolute pressure (Pa).

psig_inverse(p)

stdatm_p_forward(z)

Geometric altitude (m) to standard atmosphere pressure (Pa).

stdatm_p_inverse(p)

stdatm_ph_forward(h)

Geopotential height (m) to standard atmosphere pressure (Pa).

stdatm_ph_inverse(p)

stdatm_t_forward(z)

Geometric altitude (m) to standard atmosphere temperature (K).

stdatm_t_inverse(t)

stdatm_th_forward(h)

Geopotential height (m) to standard atmosphere temperature (K).

stdatm_th_inverse(t)