Meta.Check: Fact sheet overview of data set

View source: R/Meta.R

Meta.CheckR Documentation

Fact sheet overview of data set

Description

Read and return short overview of data set characteristics, supported types, extent, time frames and required arguments.

Usage

Meta.Check(
  DataSet = "reanalysis-era5-land",
  Type = NA,
  VariableCheck,
  CumulativeCheck,
  ExtentCheck,
  DateCheck,
  AggrCheck,
  QueryTimes
)

Arguments

Type

NA or Character. Indicating which sub-type of the specified dataset is queried.

VariableCheck

Character. CDS-compliant variable name.

CumulativeCheck

Logical. Whether queried data will be attempted to be back-calculated from cumulative records.

ExtentCheck

Numeric. Vector defining bounding box of queried data.

DateCheck

data.frame. Containing user-specified dates and their UTC counterparts.

AggrCheck

list. List of length two (1 - TStep, 2 - TResolution).

QueryTimes

Character. Vector of time(s)-of-day for which layers are to be obtained.

dataset

Character. Name of data set. Usually a set of words separated by dashes. See possible datasets by calling Meta.List.

Value

List. Contains:

  • QueryDataSetqueried dataset.

  • QueryTypequeried sub-type of dataset.

  • QueryVariablequeried variable.

  • QueryFormatfile format supported by queried dataset.

  • QueryUnitunit of measurement of queried variable from queried dataset.

See Also

Meta.List, Meta.Read, Meta.Variables, Meta.DOI, Meta.QuickFacts.

Examples

Meta.Check(DataSet = "reanalysis-era5-land", Type = NA, VariableCheck = "2m_temperature", CumulativeCheck = FALSE, ExtentCheck = c(53.06, 9.87, 49.89, 15.03), DateCheck = data.frame(IN = c(as.POSIXct("1995-01-01 CET"), as.POSIXct("2005-01-01 23:00:00 CET")), UTC = c(as.POSIXct("1994-12-31 23:00:00 UTC"), as.POSIXct("2005-01-01 22:00:00 UTC"))), AggrCheck = list(1, "hour"), QueryTimes = c("00:00", "03:00", "06:00", "09:00", "12:00", "15:00", "18:00", "21:00"))


ErikKusch/KrigR documentation built on Feb. 17, 2025, 2:09 p.m.