chla: Estimate chlorophyll-a from NASA ocean colour.

Description Usage Arguments Examples

View source: R/calc.R

Description

Estimate chlorophyll-a from Remote Sensing Reflectance wavelengths. Use SeaWiFS or MODISA with original or Johnson algorithm for the Southern Ocean.

Usage

1
chla(x, sensor, algo = c("oceancolor", "johnson"), quiet = TRUE, ...)

Arguments

x

list object with Remote Sensing Reflectance wavelengths (see Details)

sensor

which satellite sensor

algo

algorithm to use, oceancolor or Johnson et al. (2013)

quiet

logical to emit warnings or not

...

not used

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#f <- "S1998001.L3b_DAY_RRS.main"
#x <- readL3(f)
#asub <- x$bin_num < initlist()$totbins / 2
#ll <- bin2lonlat(x$bin_num[asub])
#sw <- swchl(x)[asub]
#js <- swchl(x, johnson = TRUE)[asub]
#par(mfrow = c(2,1))
#plot(ll, col = palr::chlPal(sw), pch = ".")
#plot(ll, col = palr::chlPal(js), pch = ".")

## setup a polar raster

mdsumner/roc documentation built on May 22, 2019, 5:05 p.m.