eradiate.thermoprops.util.column_number_density#

eradiate.thermoprops.util.column_number_density(ds, species)[source]#

Computes the column number density of a given species in an atmospheric profile. The column number density is computed according to the formula:

\[N = \sum_{i=0}^{L-1} n_i \, (z_{i+1} - z_i)\]

where

\(N\) denotes the column number density, \(z_i\) are the level altitudes and \(n_i\) are the number densities of that given species inside the \(L\) atmospheric layers.

Parameters
  • ds (Dataset) – Atmosphere thermophysical properties data set.

  • species (str) – Species.

Returns

quantity – Column number density.