Skip to contents

Check that the object has all components, and throw an error if anything is wrong. Optionally, do some basic checks of actualy meteorology files as well.

Usage

check_ed_metheader(ed_metheader, check_files = TRUE)

check_ed_metheader_format(ed_metheader_format, check_files = TRUE)

Arguments

ed_metheader

ED meteorology header object (see read_ed_metheader)

check_files

Logical. If TRUE, perform basic diagnostics on met files as well.

ed_metheader_format

A single format inside the met header object

Details

check_ed_metheader_format checks an individual format (one item in the ed_metheader list). check_ed_metheader applies these checks to each item in the format list.