readtgav: Read and format global mean temperature

Description Usage Arguments Details Value

View source: R/readdata.R

Description

Read global mean temperature from an input netCDF file and format for use with the rest of the processing functions.

Usage

1
readtgav(tgavfilename)

Arguments

tgavfilename

netCDF file with global mean temperatures variable

Details

Global mean temperature is a 1-D array, so storing in a netCDF file isn't strictly necessary; however, some tools produce it in that format by default. A vector of tgav values from any source can be used with the other functions in this package; all you have to do is convert it to an ntime x 1 matrix using as.matrix.

Value

A ntime x 1 matrix of global mean temperature


JGCRI/fieldgenr documentation built on July 22, 2020, 3:17 a.m.