Skip to contents

Reads a binary file formatted for LPJ-GUESS and extracts relevant data.

Usage

read_binary_LPJGUESS(outdir, rundir, version = "PalEON", bak = FALSE)

Arguments

outdir

The directory where the .state file is stored (e.g., .../state/1961)

rundir

The directory where the corresponding params.ins is stored (e.g., .../run/ENS-00001)

version

A character string specifying the LPJ-GUESS version (default is "PalEON").

bak

whether read bak.state or not (default is FALSE)

Value

A matrix or list containing the extracted data.

Author

Istem Fer, Yinghao Sun