get_nex: NASA Earth Exchange Products

View source: R/get.R

get_nexR Documentation

NASA Earth Exchange Products

Description

This function allows the user to get NASA Earth Exchange products.

Usage

get_nex(
  aoi,
  method = "ensemble",
  scenario = "rcp85",
  model = "ACCESS1-0",
  param = NULL,
  stat = "median",
  startDate = NULL,
  endDate = NULL,
  mask = FALSE,
  m.low = NULL,
  m.high = NULL,
  c.low = NULL,
  c.high = NULL
)

Arguments

aoi

A sf object indicating the extent of the geom.

method

A character indicating what imageCollection to use, e.g. "ensemble" is equal to = "NASA/NEX-DCP30_ENSEMBLE_STATS".

scenario

A character indicating what Representative Concentration Pathways (RCPs) to use, e.g. 'rcp85' (default).

model

A character indicating what model to use (only for 'dcp' and 'gddp'). 'ACCESS1-0' (default).

param

A character indicating what band to select.

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. "1999-10-23"

endDate

character format date, e.g. "1999-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

Details

The method, scenario and model currently available:

  • method: ensemble, dcp, gddp.

  • scenario: 'historical', 'rcp26', 'rcp45', 'rcp60', 'rcp85'

  • model: ACCESS1-0', 'bcc-csm1-1', 'bcc-csm1-1-m', 'BNU-ESM', 'CanESM2', 'CCSM4', 'CESM1-BGC', 'CESM1-CAM5', 'CMCC-CM', 'CNRM-CM5', 'CSIRO-Mk3-6-0', 'FGOALS-g2', 'FIO-ESM', 'GFDL-CM3', 'GFDL-ESM2G', 'GFDL-ESM2M', 'GISS-E2-H-CC', 'GISS-E2-R', 'GISS-E2-R-CC', 'HadGEM2-AO', 'HadGEM2-CC', 'HadGEM2-ES', 'inmcm4', 'IPSL-CM5A-LR', 'IPSL-CM5A-MR', 'IPSL-CM5B-LR', 'MIROC5', 'MIROC-ESM', 'MIROC-ESM-CHEM', 'MPI-ESM-LR', 'MPI-ESM-MR', 'MRI-CGCM3', 'NorESM1-M'

Value

A list of Earth Engine Objects and arguments.

Note

scenario only uses dcp and gddp so disregard when using ensemble and be aware when using the others. In addition, it is up to the users to understand what model to use with what scenario! Some scenarios and models don't jive so do your research.

Examples

## Not run: 
# Load Libraries

library(rgee)
ee_Initialize()
library(exploreRGEE)

# Bring in data
huc <- exploreRGEE::huc

# get any Image or ImageCollection

forest_cover_loss <- get_any(huc, method = 'ensemble',
                             scenario = 'rcp85',
                             model = 'ACCESS1-0',
                             method = 'NASA/NEX-DCP30_ENSEMBLE_STATS',
                             param = 'lossyear')

## End(Not run)


joshualerickson/exploreRGEE documentation built on May 9, 2022, 10:33 p.m.