write_flags: Add quality flags to a data file in Station Exchange Format...

Description Usage Arguments Note Author(s)

View source: R/output.R

Description

Add quality flags to a data file in Station Exchange Format version 1.0.0

Usage

1
write_flags(infile, qcfile, outpath, note = "")

Arguments

infile

Character string giving the path of the SEF file.

qcfile

Character string giving the path of the file with the quality flags as produced with the QC tests. This file must have 6 (8) tab-separated columns for daily (sub-daily) data: variable code, year, month, day, (hour), (minute), value, semicolon(';')-separated failed tests.

outpath

Character string giving the output path.

note

Character string to be added to the end of the name of the input file to form the output filename. It will be separated from the rest of the name by an underscore. Blanks will be also replaced by underscores. If not specified, input and output filenames will be identical.

Note

The data will be converted to the standard units adopted by the qc (see Variables). An exception is made for cloud cover (oktas will not be converted).

Author(s)

Yuri Brugnara


C3S-Data-Rescue-Lot1-WP3/C3S-QC documentation built on Jan. 15, 2020, 10:36 p.m.