Checks a QWAimages object before submission; also run by
check_QWAmetadata(). Aborts if the object is not a valid QWAimages
(structure labels missing or NA, duplicate image_labels, $software
not matching the roxas_version attribute). Warns (or, with
strict = TRUE, aborts) on:
values violating the JSON schema of the given stage;
an unsound data structure: labels not starting with their parent label, or a label in more than one parent;
outmost_yearin the future;missing
spatial_resolution.
Arguments
- x
A QWAimages object.
- submission
Check against the schema of submission files (
TRUE) or TRIA dataset files (FALSE)? Set bycheck_QWAmetadata().- strict
If
TRUE, abort on the first issue instead of warning.
Details
Also informs about missing optional columns and empty values, except for
the source file names (fname_*, only needed during processing) and the
often incomplete EXIF data (img_created_at, img_software).