read.input.yearband: Read one year and one band of LPJ clm data, and return a...

View source: R/read.input.r

read.input.yearbandR Documentation

Read one year and one band of LPJ clm data, and return a vector of the select year and band.

Description

Read one year and one band of LPJ clm data, and return a vector of the select year and band.

Usage

read.input.yearband(filename, year, band, data.size, with.scalar = TRUE)

Arguments

filename

input file path

year

absolute value of select year, e.g. 1900

band

band

data.size

data size of input data, generally equal to 2.

Value

vector of npix

Examples

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

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