poliastro2.worldview.earth.atmosphere

Description

This subpackage contains models and utilities for Earth’s atmosphere. It supports various atmospheric models used in orbital, re-entry, and climate simulations.

Modules

  • base: Base functions for atmospheric modeling.

  • coesa62: COESA62 atmospheric model.

  • coesa76: COESA76 atmospheric model.

  • jacchia: Jacchia atmospheric model.

  • util: Utility functions for atmospheric data processing.

  • _jacchia: Internal routines for the Jacchia model.

  • data: Atmospheric data files.

class poliastro2.worldview.earth.atmosphere.COESA62

Holds the model for U.S Standard Atmosphere 1962.

density(alt, geometric=True)

Solves density at given altitude.

Parameters:
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (bool) – If True, assumes geometric altitude.

Returns:

rho – Density at given altitude.

Return type:

Quantity

pressure(alt, geometric=True)

Solves pressure at given altitude.

Parameters:
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (bool) – If True, assumes geometric altitude.

Returns:

p – Pressure at given altitude.

Return type:

Quantity

properties(alt, geometric=True)

Solves density at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

  • T (~astropy.units.Quantity) – Temperature at given height.

  • p (~astropy.units.Quantity) – Pressure at given height.

  • rho (~astropy.units.Quantity) – Density at given height.

sound_speed(alt, geometric=True)

Solves speed of sound at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

Cs – Speed of Sound at given height.

Return type:

Quantity

temperature(alt, geometric=True)

Solves for temperature at given altitude.

Parameters:
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (bool) – If True, assumes geometric altitude kind.

Returns:

T – Kinetic temeperature.

Return type:

Quantity

thermal_conductivity(alt, geometric=True)

Solves coefficient of thermal conductivity at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

k – coefficient of thermal conductivity at given height.

Return type:

Quantity

viscosity(alt, geometric=True)

Solves dynamic viscosity at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

mu – Dynamic viscosity at given height.

Return type:

Quantity

class poliastro2.worldview.earth.atmosphere.COESA76

Holds the model for U.S Standard Atmosphere 1976.

_get_coefficients_avobe_86(z, table_coeff)

Returns corresponding coefficients for 4th order polynomial approximation.

Parameters:
  • z (Quantity) – Geometric altitude

  • table_coeff (list) – List containing different coefficient lists.

Returns:

coeff_list – List of corresponding coefficients

Return type:

list

density(alt, geometric=True)

Solves density at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

rho – Density at given height.

Return type:

Quantity

pressure(alt, geometric=True)

Solves pressure at given altitude.

Parameters:
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (bool) – If True, assumes geometric altitude kind.

Returns:

p – Pressure at given altitude.

Return type:

Quantity

properties(alt, geometric=True)

Solves temperature, pressure, density at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

  • T (~astropy.units.Quantity) – Temperature at given height.

  • p (~astropy.units.Quantity) – Pressure at given height.

  • rho (~astropy.units.Quantity) – Density at given height.

sound_speed(alt, geometric=True)

Solves speed of sound at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

Cs – Speed of Sound at given height.

Return type:

Quantity

temperature(alt, geometric=True)

Solves for temperature at given altitude.

Parameters:
  • alt (Quantity) – Geometric/Geopotential altitude.

  • geometric (bool) – If True, assumes geometric altitude kind.

Returns:

T – Kinetic temeperature.

Return type:

Quantity

thermal_conductivity(alt, geometric=True)

Solves coefficient of thermal conductivity at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

k – coefficient of thermal conductivity at given height.

Return type:

Quantity

viscosity(alt, geometric=True)

Solves dynamic viscosity at given height.

Parameters:
  • alt (Quantity) – Geometric/Geopotential height.

  • geometric (bool) – If True, assumes that alt argument is geometric kind.

Returns:

mu – Dynamic viscosity at given height.

Return type:

Quantity

Modules

base

Holds different classes to model atmospheric models.

coesa62

The U.S.

coesa76

The U.S.

jacchia

util

This script holds several utilities related to atmospheric computations.