readchla: Read Chlorophyll-a, NASA algorithm

View source: R/chla.R

readchlaR Documentation

Read Chlorophyll-a, NASA algorithm

Description

Ocean colour Chlorophyll-a data, provide an input of daily dates and these will be averaged into one layer.

Usage

readCHL_month(
  date,
  xylim = NULL,
  returnfiles = FALSE,
  ...,
  inputfiles = NULL,
  latest = TRUE
)

readchla(
  date,
  product = c("MODISA", "SeaWiFS", "VIIRS"),
  xylim = NULL,
  algorithm = c("nasa"),
  latest = TRUE,
  grid = NULL
)

Arguments

date

date or dates of data to read, see Details

xylim

spatial extents to crop from source data, can be anything accepted by extent, ignored if grid is provided @param algorithm nasa only

latest

if TRUE (and date not supplied) return the latest time available, otherwise the earliest Note that reaCHL_month reads the NASA algorith L3m products.

product

choice of product, see Details

grid

template raster object for output

Value

raster object

See Also

readCHL_month

chlafiles for details on the repository of data files, raster for the return value

Examples

readCHL_month()
## Not run: 
d <- readchla(c("2003-01-01", c("2003-06-01")),
         xylim = extent(100, 150, -70, -30))

## End(Not run)

AustralianAntarcticDivision/raadtools documentation built on Feb. 14, 2024, 6:28 a.m.