pytmosph3r.atmosphere.inputatmosphere
Module Contents
- class InputAtmosphere(grid=None, pressure=None, max_pressure=None, min_pressure=None, temperature=None, gas_mix_ratio=None, transparent_gases=None, aerosols=None, winds=None, chemistry=None, molar_mass=None, albedo_surf=None, wn_albedo_cutoff=None)[source]
Bases:
pytmosph3r.atmosphere.atmosphere.AtmosphereClass to build an atmosphere of your own, which will override the datafile.
Create the atmosphere you want (or you deserve).
- Parameters:
:param
max_pressure.: :param max_pressure: Maximum pressure (at the surface). Incompatible withpressure. :type max_pressure: float :param min_pressure: Minimum pressure to use in the highest column of the model. :type min_pressure: float :param temperature: Temperature for each point ingrid. If it is an array :type temperature: float,array, dict :param or a float: :param it will simply define the temperature over the whole grid. If used as a dictionary: :param : :param it can configureSimple2DTemperature.: :param gas_mix_ratio: Volume Mixing Ratio of gases (dictionary{'H2O': array, ...}. :type gas_mix_ratio: float,array:param transparent_gases: Gases considered transparent (not taken into account for the :type transparent_gases: list, optional :param contributions).: :param aerosols: Aerosols: number density of particles (in number per unit volume). :type aerosols: float,array:param chemistry: Chemistry module. Either a class of :type chemistry:pytmosph3r.chemistry.Chemistry:parampytmosph3r.chemistry.Chemistryor your personal module (which should probably inherit from: :parampytmosph3r.chemistry.Chemistry: :param or at least change the gas mix ratio of the atmosphere).: :param albedo_surf: 2d array with the albedo value to use on each column. :type albedo_surf: ndarray, optional :param wn_albedo_cutoff: 2d array with the cutoff value of the low pass filter on each column. :type wn_albedo_cutoff: ndarray, optional- grid = None
- pressure = None
Pressure (in Pa).
- max_pressure = None
Max (bottom) pressure in the model (in Pa). Optional if using an input file.
- min_pressure = None
Min (top) pressure in the model (in Pa). Optional if using an input file.
- temperature = None
Temperature (in K).
- winds = None
- gas_mix_ratio = None
Volume mixing ratios of each gas.
- transparent_gases = None
- aerosols = None
Dictionary for aerosols. Each aerosol is itself a dictionary of which each element indicates the MMR, the effective radius and the condensate density of the aerosol.
- altitude = None
- albedo_surf: float | numpy.ndarray | None = None
- wn_albedo_cutoff: float | numpy.ndarray | None = None
- molar_mass = None
Molar mass (in kg/mol).