checkTemporalConsistency: Temporal consistency check across input grids

View source: R/helpers.R

checkTemporalConsistencyR Documentation

Temporal consistency check across input grids

Description

Check the consistency of temporal aspects across input climate4R objects

Usage

checkTemporalConsistency(...)

Arguments

...

Input grids to be compared. Either as a list, or comma sepparated

Details

The function takes into account the temporal resolution of the input grids via the getTimeResolution helper, and ensures its consistency. Then, it makes the comparison among inputs at that temporal level of resolution. For instance, if the input grids are all monthly, the function will intercompare only the consistency of years AND months, but will disregard lower temporal units (days, hours).

Value

In case of inconsistency of any of the inputs grids, the function stops the execution of the current expression, with an error message.

Author(s)

J Bedia

See Also

checkSeason, for a more specific -less strict- type of check

Other check.helpers: checkDim(), checkGrid(), checkSeason(), checkVarNames()


SantanderMetGroup/transformeR documentation built on Nov. 25, 2024, 1:25 p.m.