read.input.yearbands: Read one year and all bands of LPJ clm data, and return an...

View source: R/read.input.r

read.input.yearbandsR Documentation

Read one year and all bands of LPJ clm data, and return an ncells by nbands array.

Description

Read one year and all bands of LPJ clm data, and return an ncells by nbands array.

Usage

read.input.yearbands(filename, year, bands = NULL, data.size)

Arguments

filename

input file path

year

absolute value of select year, e.g. 1900

bands

a vector of selected bands, if not specified read all bands.

data.size

data size of input data, generally equal to 2.

Value

vector of $ncells * bands$

Examples

read.input.yearband("temp.clm", 1983, 1, 2)

sinanshi/LPJmL_RUtil documentation built on Feb. 8, 2023, 5:56 p.m.