This component provides a mechanism to apply the Müller et al. (2011) TSI 3563 and Ecotech Aurora 3000 nephelometer truncation correction.
Usage
da.corr.mueller2011 [switches…] [[station] variables times [archive]|[file]]
Switches
- --mode=TYPE
-
This is the correction mode. This determined which set or sets of coefficients to apply. For example, this option can be used to correct data as if it where PM1 (to handle very fine, but not size selected data) or to use the maximum correction factor available (to handle multimodal data).
Default: Automatic
The possible values are:
- --mode=PM1
-
Always use PM1 fine mode constants
- --mode=PM10
-
Always use PM10 coarse mode constants
- --mode=automatic
-
Automatically select the constants to use
- --mode=automatic
-
Same as --mode=automatic
- --mode=coarse
-
Same as --mode=PM10
- --mode=fine
-
Same as --mode=PM1
- --mode=max
-
Same as --mode=maximum
- --mode=maximum
-
Use the constants that result in the largest correction ratio
- --mode=min
-
Same as --mode=minimum
- --mode=minimum
-
Use the constants that result in the smallest correction ratio
- --mode=noang
-
Ignore Ångström exponent fit
- --mode=total
-
Same as --mode=PM10
- --backscatterings=SELECTION
-
These are the backscattering variables to correct. This option is mutually exclusive with instrument specification.
Default: All backscatterings
- --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
- --scatterings=SELECTION
-
These are the scattering variables to correct. This option is mutually exclusive with instrument specification.
Default: All scatterings
- --smoothing=SMOOTHER
-
This is the smoothing applied to the scatterings before calculation of the Ångström exponent.
Default: 3-minute TC single pole low pass
- --tsi[=BOOLEAN]
-
When enabled the correction constants used correspond to the TSI 3563 nephelometer instead of the Ecotech Aurora 3000.
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 correct all scatterings and backscatterings using the default smoothing. The constants used in the fits and no-angstrom multiplies are those described in Müller et al (2011).
da.corr.mueller2011 bnd S11a 2015-05-01 2015-05-03
Or:
da.corr.mueller2011 input_file.c3d
Or:
da.get bnd S11a 2015-05-01 2015-05-03 | da.corr.mueller2011
- Single instrument
-
This will correct all scatterings and backscatterings for S11.
da.corr.mueller2011 --instruments=S11 bnd S11a 2015-05-01 2015-05-03
- Single variable
-
This will correct only the variable BbsG_S11.
da.corr.mueller2011 --backscatterings=bnd:raw:BbsG_S11 bnd S11a 2015-05-01 2015-05-03