# NOT RUN {
#' library(ncdf4)
DATE <- "2019-06-13" #Date of interest, for example for 13 june 2019: 2019-06-13
PROD <- "fapar" #Product name: fapar, fcover, lai, ndvi, ss, swi, lst, ...
RES <- "1km" #1km, 300m or 100m
V <- "v1" #Version number: v1, v2, v3, ...
VAR <- "FAPAR" #FAPAR_ERR, FAPAR_QFLAG... Also see https://land.copernicus.eu/global/products/
nc_data <- ncvar_get_CGSL (date=DATE, product=PROD, resolution=RES, version=V, variable=VAR)
# }
Run the code above in your browser using DataLab