read.output.yearband: read data of a selected band and year of LPJ binary output....

View source: R/read.output.r

read.output.yearbandR Documentation

read data of a selected band and year of LPJ binary output. (need to be checked, maybe it doesn't work)

Description

read data of a selected band and year of LPJ binary output. (need to be checked, maybe it doesn't work)

Usage

read.output.yearband(filename, year, band, start_year, ncells, nyears, nbands,
  data.size = 4)

Arguments

filename

output file name

year

select year

band

select band

start_year

start year of the LPJ output

ncells

ncells of the LPJ output

nyears

nyears of the LPJ output

nbands

nbands of the LPJ output

data.size

data size, which in general equal to 4.

Value

data in vector with ncells elements

Examples

data<-read.output.yearband("mnpp.bin", year=1982, band=2,
                            nyears=1900, ncells=67420, nyears=120, nbands=12)

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