showmaps: combined maps with northern and southern stereographic...

View source: R/showmaps.R

showmapsR Documentation

combined maps with northern and southern stereographic projections respectively.

Description

as.annual and annual aggregates time series into annual values (e.g. means).

Usage

showmaps(
  x,
  FUN = "mean",
  colbar = list(pal = "bwr", show = FALSE),
  nnum = 11,
  ...
)

Arguments

x

a 'field' object

FUN

a function, see aggregate.zoo

colbar

is a list - see map

nnum

how many numbers to be shown along the colour bar

Details

as.monthly aggregates time series into monthly values (e.g. means).

as.daily aggregates time series into daily values (e.g. means).

showmaps presents a montage of two maps with stereographic projections, one for the northa nd one for the south.

Value

list with map output

See Also

map

Examples

t2m <- t2m.NCEP()
period <- paste(range(year(t2m)),collapse=' - ')
attr(t2m,'sub') <- paste0('Average over: ',period,'; source: NCEP')
showmaps(t2m,FUN='mean',colbar=list(breaks=seq(-60,20,by=5),show=FALSE))

attr(t2m,'sub') <- paste0('Variability (stdv) over: ',period,'; source: NCEP')
showmaps(t2m,FUN='sd')

attr(t2m,'sub') <- paste0('Trend over: ',period,'; source: NCEP')
showmaps(t2m,FUN='trend',colbar=list(breaks=seq(-1,1,by=0.1),show=FALSE))

metno/esd documentation built on Feb. 25, 2025, 6:44 p.m.