This calculates integrated properties from a size distribution. For example, it calculates Mie scattering as well as number and volume concentrations.
Usage
da.calc.integratesize [switches…] [[station] variables times [archive]|[file]]
Switches
- --angles=INTEGER
-
The number of angles between 0 and 90 degrees used in Mie calculations.
Default: 2
This option only accepts integers greater than or equal to 2.
- --ba=NUMBER…
-
These are the wavelengths to calculate absorption at. When set to empty, no absorptions are generated.
Default: Disabled
This option only accepts numbers strictly greater than 0.
- --bbs=NUMBER…
-
These are the wavelengths to calculate back scattering at. When set to empty, no back scatterings are generated.
Default: 450,550,700
This option only accepts numbers strictly greater than 0.
- --be=NUMBER…
-
These are the wavelengths to calculate extinction at. When set to empty, no back extinctions are generated.
Default: Disabled
This option only accepts numbers strictly greater than 0.
- --bs=NUMBER…
-
These are the wavelengths to calculate scattering at. When set to empty, no scatterings are generated.
Default: 450,550,700
This option only accepts numbers strictly greater than 0.
- --bsfm=NUMBER…
-
These are the wavelengths to calculate the fine mode scattering at. The diameter cut off used to determine what aerosol is fine mode is set with --fine-diameter. When set to empty, no fine mode scatterings are generated.
Default: Disabled
This option only accepts numbers strictly greater than 0.
- --dnb[=BOOLEAN]
-
When enabled the un-normalized distribution (dN) is calculated.
Default: Disabled
- --dnn[=BOOLEAN]
-
When enabled the normalized distribution (dN/dlogDp) is calculated.
Default: Disabled
- --ds=NUMBER…
-
These are the wavelengths to calculate generate the scattering distribution (dσ/dLogDp) at.
Default: 550
This option only accepts numbers strictly greater than 0.
- --dv[=BOOLEAN]
-
When enabled the volume distribution (dV/dlogDp) is calculated.
Default: Enabled
- --fine-diameter=NUMBER
-
The maximum diameter bin in μm to include in calculations of fine mode only properties. All bins greater than this diameter are excluded from the integration.
Default: 0.7 μm
This option only accepts numbers strictly greater than 0.
- --g=NUMBER…
-
These are the wavelengths to calculate the asymmetry parameter at. When set to empty, no asymmetry parameters are generated.
Default: Disabled
This option only accepts numbers strictly greater than 0.
- --instruments=SUFFIX…
-
These are the instrument suffixes to correct. For example S11 would usually specifies the reference nephelometer. This option is mutually exclusive with manual variable specification.
Default: All instrument suffixes
- --maximum-diameter=NUMBER
-
The maximum diameter bin in μm to include in any calculations. All bins greater than this are excluded from all calculations.
This option only accepts numbers strictly greater than 0. Undefined values are permitted, to indicate that the option is set but not to a specific value.
- --minimum-diameter=NUMBER
-
The minimum diameter bin in μm to include in any calculations. All bins less than this are excluded from all calculations.
This option only accepts numbers strictly greater than 0. Undefined values are permitted, to indicate that the option is set but not to a specific value.
- --n[=BOOLEAN]
-
When enabled the total number concentration is calculated.
Default: Enabled
- --nm[=BOOLEAN]
-
When enabled the geometric number mean diameter and standard deviation are calculated.
Default: Enabled
- --nmv[=BOOLEAN]
-
When enabled the volume mean diameter is calculated.
Default: Enabled
- --nv[=BOOLEAN]
-
When enabled the total volume concentration is calculated.
Default: Enabled
- --ri-i=NUMBER
-
The imaginary component of the refractive index used in Mie calculations.
Default: 0.001
This option only accepts numbers strictly greater than 0.
- --ri-r=NUMBER
-
The real component of the refractive index used in Mie calculations.
Default: 1.53
This option only accepts numbers strictly greater than 0.
Arguments
If no bare word input specification is supplied then data are read from standard input.
- station
-
This argument is used to specify the station used to look up variables that do not include a station as part of an archive read specification. The station is the three letter GAW station code of the location, such as
BND
. The argument accepts multiple stations specified as regular expressions and separated by:
or;
or,
. For exampleBND,MLO
and(BND|MLO)
are two ways of selecting both the BND and MLO stations.The special value
allstations
may also be specified to select all stations. - variables
-
This argument may be split into multiple actual program arguments. Each part consists of one or more variable specifications separated by
,
(commas). The station and archive used if none are explicitly given are defined in the other arguments or inferred from system defaults. For example simplyBsB_S11
selects the blue scattering from the S11 instrument and returns all cut sizes and metadata. If instead::BsB_S11:pm10
is used then only PM10 scattering is returned. That is, the selection specifies "any" station and archive (the defaults are set in the other arguments) then requires that it has the "PM10" flavor. A specification such asbnd:BsB_S11,thd:BsB_S11
allows for data selection from multiple stations.This may also be used to select a "record" type alias such as "S11a". In this mode all the variables defined in the alias are returned.
Finally the special value
everything
can be used to select all available data for the given station(s) and archive(s). - times
-
This argument may be split into multiple actual program arguments. This full list of time arguments defines a time bounds list that sets the range of data queried. The final resulting data are clipped to the given time bounds but any values that intersect them are returned.
- archive
-
This argument is used to specify the archive used to look up variables that do not include an archive as part of an archive read specification. The archive is the internal name, such as
raw
orclean_meta
. The argument accepts multiple archives specified as regular expressions and separated by:
or;
or,
. For exampleraw(_meta)?
selects both theraw
andraw_meta
archives.The special value
allarchives
may also be used to select all available archives. - file
-
This argument is used to specify the the file to read data from. If it is present and exists then data is read from the given file name instead of from standard input. Alternatively
-
(a single dash) may be used to explicitly specify standard input.
Examples
- Defaults
-
This will generate all default size distribution integrations from any size distributions in the input data stream.
da.calc.integratesize bnd S11a 2015-05-01 2015-05-03
Or:
da.calc.integratesize input_file.c3d
Or:
da.get bnd S11a 2015-05-01 2015-05-03 | da.calc.integratesize
- Single instrument with manual input list
-
This will calculate the size distributions from N11 only.
da.calc.integratesize --instruments=N11 bnd S11a 2015-05-01 2015-05-03