Currently using MODISA 4km Mapped L2m, see raadfiles::read_par() for the actual source files.

read_par(
  date,
  time.resolution = "8D",
  xylim = NULL,
  lon180 = FALSE,
  nobsonly = FALSE,
  latest = TRUE,
  returnfiles = FALSE,
  inputfiles = NULL,
  ...
)

Arguments

date

date or dates of data to read,

time.resolution

'8D' currently, use the NASA tokens for time period

xylim

spatial extents to crop from source data, can be anything accepted by extent, see Details

lon180

defaults to TRUE, to "rotate" Pacific view 0, 360 data to Atlantic view -180, 180

latest

if TRUE (and date not supplied) return the latest time available

returnfiles

ignore options and just return the file names and dates

inputfiles

input the files data base to speed up initialization

...

passed in to brick, primarily for filename

Value

raster object

Examples

read_par(latest = FALSE)
#> class      : RasterStack 
#> dimensions : 4320, 8640, 37324800, 1  (nrow, ncol, ncell, nlayers)
#> resolution : 0.04166667, 0.04166667  (x, y)
#> extent     : -180, 180, -90, 90  (xmin, xmax, ymin, ymax)
#> crs        : +proj=longlat +datum=WGS84 +no_defs 
#> names      : X1 
#> time        : 2002-07-04 
#>