Learn R Programming

gimms (version 1.0.0)

updateInventory: Update GIMMS NDVI3g File Inventory

Description

Download the latest version of the GIMMS NDVI3g file inventory from the NASA Ames Ecological Forecasting Lab (ECOCAST) or NASA Earth Exchange (NEX) Amazon AWS. If none of the specified endpoints is reachable (e.g., if there is no active internet connection), the latest local version of the file inventory is used.

Usage

updateInventory(server = c("ecocast", "nasanex"), version = 1L)

Arguments

server

character. Specifies the remote server to use. Currently available options are "ecocast" (default) and "nasanex".

version

integer (or any other convertible class), defaults to 1L. Specifies desired GIMMS NDVI3g product version, see 'Details'. Currently ignored if server = "nasanex".

Value

A character vector of online filepaths.

Details

GIMMS NDVI3g.v1 is currently available from ECOCAST until end 2015 and comes in NetCDF (.nc4) format. In contrast, NDVI3g.v0 is available as ENVI binary imagery and available from ECOCAST (NASANEX) until end 2013 (2012) only.

See Also

rearrangeFiles.

Examples

Run this code
# NOT RUN {
updateInventory()            # NDVI3g.v1
updateInventory(version = 0) # NDVI3g.v0
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab