check_content: Check availability of content in registered weather database

check_contentR Documentation

Check availability of content in registered weather database

Description

Check availability of content in registered weather database

Usage

dbW_has_sites(Labels, ignore.case = FALSE)

dbW_has_siteIDs(Site_ids)

dbW_has_scenarioIDs(Scenario_ids)

dbW_has_scenarios(Scenarios, ignore.case = FALSE)

dbW_has_weatherData(Site_ids, Scenario_ids)

dbW_have_sites_all_weatherData(
  site_labels = NULL,
  site_ids = NULL,
  scen_labels = NULL,
  scen_ids = NULL,
  verbose = FALSE
)

Arguments

Labels

A vector of character strings. The names/labels of queried sites.

ignore.case

A logical value.

Site_ids

An integer vector. The IDs/database keys of the queried sites

Scenario_ids

An integer vector. The IDs/database keys of the queried scenario.

Scenarios

A vector of character strings. The climate scenarios of which the first one is enforced to be scen_ambient.

site_labels

A vector of character string. The names/labels of queried sites.

site_ids

An integer vector. The IDs/database keys of the queried sites

scen_labels

A vector of character strings. The climate scenarios of which the first one is enforced to be scen_ambient.

scen_ids

An integer vector. The IDs/database keys of the queried scenario.

verbose

A logical value.

Value

dbW_has_siteIDs returns a logical vector of the length of queried sites.

dbW_has_siteIDs returns a logical vector of the length of queried sites.

dbW_has_scenarios returns a logical vector of the length of queried Scenarios.

dbW_has_scenarios returns a logical vector of the length of queried Scenarios.

dbW_has_weatherData returns a logical matrix with rows corresponding to queried sites and columns to queried scenarios.

dbW_have_sites_all_weatherData returns a logical vector of length of queried sites; a TRUE element indicates that weather data for each queried scenarios is available for that queried site.

Details

dbW_has_siteIDs checks whether sites are available.

dbW_has_siteIDs checks whether sites are available.

dbW_has_scenarioIDs checks whether scenarios are available.

dbW_has_scenarios checks whether scenarios are available.

dbW_has_weatherData checks whether weather data are available but ignores start_year and end_year.

dbW_have_sites_all_weatherData checks whether weather data are available but ignores start_year and end_year.


DrylandEcology/rSOILWAT2 documentation built on Jan. 12, 2024, 9:06 p.m.