isRegular: Check if the input grid is regular

View source: R/helpers.R

isRegularR Documentation

Check if the input grid is regular

Description

Check if the coordinates in the data are regular or irregular

Usage

isRegular(grid)

Arguments

grid

a grid or station data, or the object returned by function getGrid

Value

Logical.

Author(s)

M Iturbide

See Also

getGrid

typeofGrid, for a character representation of the type of grid

Examples

 
require(climate4R.datasets)
data("EOBS_Iberia_tas")
isRegular(EOBS_Iberia_tas)
isRegular(getGrid(EOBS_Iberia_tas))
data("VALUE_Iberia_tas")
isRegular(VALUE_Iberia_tas)


SantanderMetGroup/transformeR documentation built on Nov. 25, 2024, 1:25 p.m.