This component synchronizes local data with data contained on a remote server. This synchronization server is set explicitly and the local data determined by the certificate that the server is using. Synchronization can include both downloading new data from the server and uploading any local changes.

Usage

da.sync.connect [switches…​]

Switches

--port=INTEGER

This is the port on the remote server that the connection is established to.

Default: 14231

This option only accepts integers greater than or equal to 1 and less than or equal to 65535.

--quiet[=BOOLEAN]

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

Default: Disabled

--server=STRING

This is the hostname of the server that synchronization is performed with.

Default: aero1.cmdl.noaa.gov

--ssl-cert=FILE

This sets the certificate used for the connection.

Default: sync.crt

--ssl-key=FILE

This sets the key used for the connection.

Default: sync.key

--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

Examples

Run synchronization

This will run synchronization connecting to the default NOAA server.

da.sync.connect