compare_variables_in_inventory: Compare an EURO-CORDEX inventory for different variables

Description Usage Arguments Value Examples

View source: R/compare_variables_in_inventory.R

Description

Casts the result from get_inventory for different variables in order to compare completeness of the inventory. Adds columns for checking equality of years and number of files.

Usage

1
compare_variables_in_inventory(data_inventory, vars = NULL)

Arguments

data_inventory

A data.table as resulting from get_inventory.

vars

Character vector of variables to compare. If NULL, will use all variables in data_inventory.

Value

The casted data.table with boolean columns if all years and number of files are equal for all variables.

Examples

1
2
3
4
5
6
7
## Not run: 

path <- "/mnt/CEPH_BASEDATA/METEO/SCENARIO"
dat <- get_inventory(path)
dat_compare <- compare_variables_in_inventory(dat, c("tas","rsds","pr"))

## End(Not run)

eurocordexr documentation built on Aug. 19, 2021, 9:06 a.m.