Generic function to read LPJmL input & output files in different formats. Depending on the format, arguments can be automatically detected or have to be passed as individual arguments.
read_grid(...)See read_io for further arguments.
An LPJmLGridData object.
See read_io for more details.
if (FALSE) {
my_grid <- read_io("grid.bin.json")
}