data.sync.station is the utility used to synchronize a station's data directories with a remote server. It assumes that an SSH key have been exchanged with the target.
The defualt mode of operation is NOAA authoritative. In this mode all directories except the edit directives and clean archive are local authoritative and pushed to the target. The edit directives and clean archive are remote authoritative and read from the target.
The secondary mode is station authoritative. This is the inverse of NOAA authoritative. Only the edit directives and clean archive are local authoritative, everything else is remote.
The final mode is station authoritative sync to NOAA. This sets all directories to remote authoritative and reads them from the target.
By default the edit directives, comments and segmentation are synchronized bidirectionally. That is the authoritative is transfered first but then the non-authoritative copy is retrieved if it is newer.
data.sync.station [--mode=noaa|station|stationsync] [--local=directory] [--remote=directory] [--target=server] [--localrawdata] [--verbose] station
Set the mode to one of the modes described above. “noaa” for the default NOAA authoritative. “station” for station authoritative. “stationsync” for station authoritative sync to NOAA.
Add directory to the list of local authoritative ones, removing from the remote authoritative list if needed.
Add directory to the list of local authoritative ones, removing from the local authoritative list if needed.
Set directory to unidirectional synchronization.
Set directory to bidirectional synchronization.
Set the target server, by default aerolab6.cmdl.noaa.gov.
Do not alter the local raw data archive.
Enable verbose output.
Station to sync for.
data.sync.station --mode=noaa lln