This component provides a simple interface to add authorization to process incoming data. It can operate by either adding the certificate digest directly or by scanning files and adding the authorization needed to process them. When no stations or certificates (from files or otherwise) are given it inspects the current directory for data to authorize. If a station is given but no certificates, it looks for unauthorized data for that station.

Usage

da.process.authorize [switches…​] [station…​]

Switches

--certificate=FILE

This is the decryption certificate used with the data.

--deauthorize[=BOOLEAN]

When enabled any existing authorization is removed and replaced with the new authorization. This ensures that old data is not allowed to be accepted after a short grace period.

Default: Enabled

--digest=STRING

This specifies the digest of the certificate to add authorization for. When absent, this is calculated from the unauthorized files. Use "Unsigned" for data without an authorization certificate or "Implied" to set the authorization for already exchanged certificates.

--file=FILE

This will add the authorization needed to process the file.

--move[=BOOLEAN]

When enabled any files with that have their authorization added are automatically moved for reprocessing.

Default: Enabled

--profile=STRING

This is the profile name inspect. This is used when loading existing unauthorized files. Multiple profiles can be defined to perform different types of processing for a station. Consult the station processing configuration for available profiles.

Default: aerosol

--quiet[=BOOLEAN]

If set then no progress output is displayed and any confirmation prompts are bypassed.

Default: Disabled

--template=STRING

This specifies the name of the template configuration used to configure the authorization.

Default: "Standard"

Arguments

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.

Examples

Authorize data in the current directory

This will change the authorization to allow for processing of all files in the current directory.

da.process.authorize
Change authorization

This will add authorization for any stations specified to only accept the given certificate digest.

da.process.authorize --digest=57dfe3dfbb14c8e43a2f9e95ff5758686cb2f1d20a6afde77e2b577fd1a9fead972eaff5b438963a92ed7cd2a50fc044f6ddd02013e6766381783a03dd201891
File authorization

This will add authorization for the given file.

da.process.authorize --file=/tmp/sfa_authorized.cpd3