Learn R Programming

GSIF (version 0.5-5.1)

SoilGrid.validator: Validate SoilGrid (spatial predictions)

Description

Validate SoilGrid (spatial predictions) i.e. soil property maps following the GSIF validation protocol.

Usage

SoilGrid.validator(obj, domain, ground.truth, N.sample=2000, 
   xml.file, z.lim, md.type="INSPIRE", test.URL=FALSE)

Arguments

obj

"GDALobj" object i.e. a pointer to a spatial layer of interest (single slice)

domain

"GDALobj" object i.e. a pointer to a spatial layer contain soil mask

ground.truth

"SpatialPointsDataFrame"; contains values of the target variable at exactly the same depth / same support size sampled either using Simple Random Sampling or regular sampling on a grid

N.sample

integer; random sampling size

xml.file

character; metadata file (should have the same name as obj file)

z.lim

numeric; upper and lower physical limits

md.type

character; metadata standard (currently INSPIRE)

test.URL

logical; specifies whether to validate XML schema / test download times and proj4 string

Value

Returns a list with validation results. Explanation of codes is available in the SoilGrids.org data validation protocol.

See Also

plotKML::spMetadata