getShape | R Documentation |
Retrieve array attributes 'dimensions' and 'dim'
getShape(obj, dimension = NULL)
obj |
A grid or station object |
An integer vector with dim values, labelled with the "dimension"
attribute names
J. Bedia
Other get.helpers:
get2DmatCoordinates()
,
getCoordinates()
,
getDim()
,
getGrid()
,
getGridProj()
,
getGridVerticalLevels()
,
getRefDates()
,
getSeason()
,
getStationID()
,
getVarNames()
,
getWT()
,
getYearsAsINDEX()
,
setGridProj()
,
typeofGrid()
,
which.leap()
require(climate4R.datasets)
#Station data:
data("VALUE_Iberia_tas")
getShape(VALUE_Iberia_tas)
#Regular grid
data("NCEP_Iberia_hus850")
getShape(NCEP_Iberia_hus850)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.