Description Usage Arguments Details Author(s) References See Also Examples
Build a directed metadata graph describing a ETCDDI climate index transformation on a climate4R grid
1 2 | metaclipR.etccdi(graph, package = "climate4R.climdex", version = "0.1.2",
output = NULL, fun = "climdexGrid", arg.list = NULL)
|
graph |
Output from previous metaclipR function. A list with an i-graph class object plus the name of the parent node
from which the climate index step hangs.
|
package |
package |
version |
version |
output |
Optional. The output R object name, as character string |
fun |
function name. Unused (set to |
arg.list |
Argument list. See details |
This function takes as reference the semantics defined in the Data Source and Transformation ontology defined in the Metaclip Framework (http://metaclip.predictia.es/).
Argument list
The following (minimal) list of arguments is required to define an ETCCDI climate index transformation:
index.code
Further optional arguments can be passed to arg.list for a more detailed description of the command call.
The different arguments are explained in the the help page of climdexGrid.
D. San MartÃn, J. Bedia
Visual schema of the data transformation ontology
Climate4R page at University of Cantabria
Other transformation: metaclip.graph.Command,
metaclipR.Aggregation,
metaclipR.AnomalyCalculation,
metaclipR.Climatology,
metaclipR.Dataset,
metaclipR.Ensemble,
metaclipR.Regridding
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
require(climate4R.climdex)
require(igraph)
data("tasmax.eobs")
a <- metaclipR.DatasetSubset(output = "tasmax.eobs",
fun = "subsetGrid",
arg.list = list(lonLim = c(-10,4.5),
latLim = c(35,44),
season = 1:12,
years = 1991:2010))
tx10p <- climdexGrid(index.code = "TX10p",
tx = tasmax.eobs,
index.arg.list = list(freq = "annual"))
arg.list <- list(index.code = "TX10p",
index.arg.list = list(freq = "annual"))
require(visualizeR)
spatialPlot(climatology(tx10p),
backdrop.theme = "countries",
main = "Mean percentage of days when TX < 10 degC (1991-2010)")
metadata <- metaclipR.etccdi(graph = a, arg.list = arg.list)
plot(metadata$graph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.