data.archive.put
data.archive.put adds new data to the archive. It accepts a list of files or reads its input from standard input. Data is read and the archive is updated. Any time ranges for which the new data exists the old data is replaced.
NOTE: As an exception to normal file formating, input files are allowed to have out of order times between records. However all times within a record type must be in order. This only applies to records within a file, records between files must be in order. Additionally if this exception is used records from the time ranged covered by it must only come from a single source file. That is each input file must contain all the records it defines for the time range it covers.
Command Line Usage
data.archive.put [--replace-start=start] [--replace-end=end] [--notify]
station [target] [file1] [file2] ...
Arguments
station
The station identifier code. For example 'brw'. Case insensitive.
target
Target archive. Defaults to βrawβ if omitted.
file1 file2 ... file N
Optional, if omitted input is read from standard input. If any of the files is β-β input is read from standard input possibly in addition from the other files.
--replace-start --replace-end
Set the bounds to replace data for. If either is omitted it defaults to exactly what is found in the input. Used to force replacing of data for a time range even if the input does not extend that far. Any convertible time format is accepted.
--notify
Enable new data notification system. This will trigger various processing systems for all data in the contained interval (which may be more than was actually modified). This is usually only needed in the automatic calls as part of data.pass and data.process.station.
Example Usage
data.archive.put sgp raw input_data_1 input_data_2