This component synchronizes local data with data contained on a remote server. The specific data synchronized are determined by the profile selected. Synchronization can include both downloading new data from the server and uploading any local changes.

Usage

da.sync.client [switches…​] [station]

Switches

--profile=STRING

This is the authorization profile to synchronize. The profile controls what data are synchronized with the remote server. Consult the station configuration and authorization for available profiles.

Default: aerosol

--quiet[=BOOLEAN]

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

Default: Disabled

--update[=BOOLEAN]

When disabled, this causes the immediate data update to be skipped. The result is that the clean and averaged data are not updated until the next time the station tasks are run at the appropriate level. This normally means that the data will not be updated until the following night when the execution tasks run automatically.

Default: Enabled

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

Run synchronization

This will run synchronization using the default profile.

da.sync.client bnd