Checks a QWAdata object before submission. Aborts if the object is not a
valid QWAdata (missing, mistyped or NA keys, duplicate (image, year) in
$rings). Warns (or, with strict = TRUE, aborts) on:
values violating the cells or rings schema (types, ranges, allowed values);
duplicate cell keys (image, year,
xpix,ypix), the key of the cells in TRIA;dating problems: gaps and future years;
missing values in the automatic ring flags (see
complete_flags());images only in
$cellsor only in$rings, and images without ring measurements (nomrw> 0; check the output files and re-read them withupdate_QWAdata());years with cells but without a rings row, and
cnonot matching the number of cells (re-runcomplete_QWAdata()).
Arguments
- x
A QWAdata object.
- strict
If
TRUE, abort on the first issue instead of warning.- exclude_mode
Deprecated and ignored.
Details
Also informs about missing optional columns, extra columns (kept, but not imported into TRIA by default) and images without CWT estimates.