PartMC  2.5.0
Output File Format: Aerosol Particle State

Write full state.

Parameters
[in]aero_stateaero_state to write.
[in]ncidNetCDF file ID, in data mode.
[in]aero_dataaero_data structure.
[in]record_removalsWhether to output particle removal info.
[in]record_opticalWhether to output aerosol optical properties.

The aerosol state consists of a set of individual aerosol particles, each with its own individual properties. The properties of all particles are stored in arrays, one per property. For example, aero_absorb_cross_sect(i) gives the absorption cross section of particle number i, while aero_particle_mass(i,s) gives the mass of species s in particle i. The aerosol species are described in Output File Format: Aerosol Material Data.

Each aerosol particle i represents a number concentration given by aero_num_conc(i). Multiplying a per-particle quantity by the respective number concentration gives the concentration of that quantity contributed by the particle. For example, summing aero_particle_mass(i,s) * aero_num_conc(i) over all i gives the total mass concentration of species s in kg/m^3. Similarly, summing aero_absorb_cross_sect(i) * aero_num_conc(i) over all i will give the concentration of scattering cross section in m^2/m^3.

FIXME: the aero_weight is also output

The aerosol state uses the aero_species NetCDF dimension as specified in the Output File Format: Aerosol Material Data section, as well as the NetCDF dimension:

The aerosol state NetCDF variables are: