validate_snowprofileLayers: Validate correctness of snowprofileLayers object
Description
Validator function that checks if class standards are being met and raises an error if not.
Usage
validate_snowprofileLayers(object, silent = FALSE)
Value
Per default an error is raised when discovered, if silent = TRUE
the error is only printed and the
error message returned.
Arguments
- object
to be tested
- silent
remain silent upon error (i.e., don't throw error, but only print it)