Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 447 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 447 Bytes

RCABLAB

R interface for reading data from the Earth System Datacube.

Installing:

devtools::install_github("CAB-LAB/RCABLAB")

Usage:

cube <- open.cube("/path/to/cube")
dat <- read.cube(
  cube, variable = cube$data.dir.entries,
  time = c(cube$config$start_time, 
           cube$config$end_time - as.difftime(1, units = "days")),
  longitude = c(-180, 180), latitude = c(-90, 90)
)