This component performs the calibration and calculation for surface radiation data. It takes the raw units (e.g. mV) and produces scientific units (e.g. W/m²) using calibration factors.

Usage

da.calc.radiation [switches…​] [[station] variables times [archive]|[file]]

Switches

--type=TYPE

This is the calibration performed on the inputs to generate the radiation intensity.

Default: Division

The possible values are:

--type=BW

Same as --type=Division

--type=CGR4

Same as --type=Pyrgeometer

--type=CHP1

Same as --type=Division

--type=CM22

Same as --type=Division

--type=Division

Division by the calibration factor

--type=EppleyBW

Same as --type=Division

--type=EppleyNIP

Same as --type=Division

--type=EppleyPIR

Same as --type=Pyrgeometer

--type=EppleyPSP

Same as --type=Division

--type=KippZonenCGR4

Same as --type=Pyrgeometer

--type=KippZonenCHP1

Same as --type=Division

--type=KippZonenCM22

Same as --type=Division

--type=Multiplication

Multiplication by the calibration factor

--type=NIP

Same as --type=Division

--type=PIR

Same as --type=Pyrgeometer

--type=PSP

Same as --type=Division

--type=Pyrgeometer

Pyrgeometer calculation (R=V*cal+σ*T⁴)

--case=INPUT

This is case temperature used for pyrgeometer corrections.

Default: Automatically selected

--dcf=INPUT

This is the dome temperature correction factor. This is applied to the difference of the case and dome temperatures each to the fourth, before the Stefan–Boltzmann constant.

Default: Disabled

--dome=INPUT

This is dome temperature used for pyrgeometer corrections.

Default: Automatically selected

--e=INPUT

This is the E factor used for case temperature correction. This is applied to the case temperature before the Stefan–Boltzmann constant.

Default: 1

--factor=INPUT

This is the calibration factor applied to the input. This factor should convert the input sensor reading to W/m².

--input=INPUT

This is the input sensor reading. This option is mutually exclusive with with instrument specification.

Default: All radiation voltages

--instruments=SUFFIX…​

These are the instrument suffixes to calculate temperatures for. This option is mutually exclusive with manual variable specification.

Default: All radiation instruments

--output=SELECTION

This is output radiation intensity. This option is mutually exclusive with with instrument specification.

--sigma=INPUT

This is the Stefan–Boltzmann constant used.

Default: 5.670374419E-8 W/m²K⁴

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 example BND,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 simply BsB_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 as bnd: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 or clean_meta. The argument accepts multiple archives specified as regular expressions and separated by : or ; or ,. For example raw(_meta)? selects both the raw and raw_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.