energy_balance_error#
-
VSPEC.gcm.heat_transfer.energy_balance_error(tmap:
astropy.units.Quantity
, lons: ndarray, lats: ndarray, star_teff:astropy.units.Quantity
, albedo: float, r_star:astropy.units.Quantity
, r_orbit:astropy.units.Quantity
) float # Validate the energy balance.
- Parameters:
tmap (astropy.units.Quantity) – The temperature map.
lons (np.ndarray) – The longitude points of the map.
lats (np.ndarray) – The latitude points of the map.
star_teff (astropy.units.Quantity) – The effective temperature of the star.
albedo (float) – The Bond albedo of the planet.
r_star (astropy.units.Quantity) – The radius of the star.
r_orbit (astropy.units.Quantity) – The orbital radius of the planet.
- Returns:
The fractional error of the energy balance.
- Return type: