Particle profile (Ppr)#
Ppr-Core v1 [ppr_core_v1]#
This format defines a voxellized description of the state variables of a particulate medium, amount included. Each data
variable describes a field, i.e. a spatially varying quantity, on 3D
gridded coordinates. Data variables are not prescribed:
a ParticleStateComponent binds them by name to the state dimensions of
a particle properties dataset and to the amount scaling its extinction.
The grid is described by the x_edges/y_edges/z_edges coordinates,
which hold the strictly increasing cell edges along each axis. Each is a
coordinate variable in the NetCDF sense (a 1-D variable named after its own
dimension), which xarray loads as a dimension coordinate. The profile is
defined on either a Cartesian coordinate system (x_edges/y_edges in
length units) or a spherical geocentric coordinate system
(x_edges/y_edges in angle units, representing azimuth/colatitude).
- Format
xarray.Dataset(in-memory), NetCDF (storage)- Dimensions
x: cell index along the x axisy: cell index along the y axisz: cell index along the z (altitude) axisx_edges,y_edges,z_edges: cell edge index along each axis, of sizelen(x) + 1,len(y) + 1andlen(z) + 1respectively
- Coordinates
Units are required and specified in the “units” metadata field.
x_edges(x_edges)float [length or angle]: grid cell edges along the x axisy_edges(y_edges)float [length or angle, same asx_edges]: grid cell edges along the y axisz_edges(z_edges)float [length]: grid cell edges along the z (altitude) axis
- Data variables
When relevant, units are required and specified in the “units” metadata field.
At least one
<name>(z, y, x)float [any]: state variable field. The variable used as the amount is zero where no particles are present; other variables are then irrelevant and may take any value.
Ppr-MS v1 [ppr_ms_v1]#
Extension of ppr_core_v1 describing a particle profile with a mass
concentration and particle size parameters (MS). It is the profile counterpart
of Prt-MS v1 and the format
expected by ParticleMSComponent with its default bindings.
- Data variables
In addition to the
ppr_core_v1variables:reff(z, y, x)float [length]: effective radius of the particle size distributionveff(z, y, x)float [—]: effective variance of the particle size distributionmass_concentration(z, y, x)float [mass / volume]: particle mass concentration. Zero where no particles are present;reff/veffare then irrelevant and may take any value.