This function uses the 30-m resolution image collection of Landsat Net Primary Productivity to get selected time frames. There's really only one product here so 'cloud_mask' is a method instead of a logical.

get_npp(
  aoi,
  method = "cloud_mask",
  param = "annualNPP",
  stat = "median",
  startDate = "1986-01-01",
  endDate = "2019-01-01",
  mask = FALSE,
  m.low = NULL,
  m.high = NULL,
  c.low = 1,
  c.high = 12
)

Arguments

aoi

A sf object indicating the extent of the geom.

method

A character indicating what method to use, e.g. 'cloud_mask', 'raw'.

param

A character indicating what band to visualize, e.g. 'annualNPP'.

stat

A character indicating what to reduce the imageCollection by, e.g. 'median' (default), 'mean', 'max', 'min', 'sum', 'stdDev', 'first'.

startDate

character format date, e.g. "2018-10-23"

endDate

character format date, e.g. "2018-10-23"

mask

logical whether to mask out certain ranges

m.low

numeric low value for mask, e.g. greater than 'm.low'

m.high

numeric high value for mask, e.g. less than 'm.high'

c.low

numeric lower month value for calendar range

c.high

numeric higher month value for calendar range

Value

A list of Earth Engine Objects and arguments.

Note

The Landsat Net Primary Production (NPP) CONUS dataset estimates NPP using Landsat Surface Reflectance for CONUS. NPP is the amount of carbon captured by plants in an ecosystem, after accounting for losses due to respiration. NPP is calculated using the MOD17 algorithm (see MOD17 User Guide) with Landsat Surface Reflectance, gridMET, and the National Land Cover Database. Some composites were masked out because of missing data, high cloud contamination, and/or erroneous pixels which didn't meet the gap-filling method.

Examples

if (FALSE) {
# Load Libraries

library(rgee)
rgee::ee_intialize()
library(exploreRGEE)

# Bring in data
huc <- exploreRGEE::huc

npp <- get_npp(huc, method = 'cloud_mask', param = 'annualNPP', startDate = '2014-01-01',
                  endDate = '2018-12-31')


}