read.output.yearband | R Documentation |
read data of a selected band and year of LPJ binary output. (need to be checked, maybe it doesn't work)
read.output.yearband(filename, year, band, start_year, ncells, nyears, nbands, data.size = 4)
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. |
data in vector with ncells elements
data<-read.output.yearband("mnpp.bin", year=1982, band=2, nyears=1900, ncells=67420, nyears=120, nbands=12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.