bb_handler_earthdata: Handler for data sets from Earthdata providers

View source: R/earthdata_handler.R

bb_handler_earthdataR Documentation

Handler for data sets from Earthdata providers

Description

This is a handler function to be used with data sets from NASA's Earthdata system. This function is not intended to be called directly, but rather is specified as a method option in bb_source.

Usage

bb_handler_earthdata(...)

Arguments

...

: parameters passed to bb_rget

Details

This function uses bb_rget, and so data sources using this function will need to provide appropriate bb_rget parameters.

Value

TRUE on success

References

https://wiki.earthdata.nasa.gov/display/EL/How+To+Register+With+Earthdata+Login

Examples

## Not run: 

## note that the full version of this data source is provided as part of bb_example_data_sources()

my_source <- bb_source(
  name = "Sea Ice Trends and Climatologies from SMMR and SSM/I-SSMIS, Version 3",
  id = "10.5067/EYICLBOAAJOU",
  description = "NSIDC provides this data set ... [truncated; see bb_example_data_sources()]",
  doc_url = "https://nsidc.org/data/NSIDC-0192/versions/3",
  citation = "Stroeve J, Meier WN (2018) ... [truncated; see bb_example_data_sources()]",
  source_url = "https://daacdata.apps.nsidc.org/pub/DATASETS/nsidc0192_seaice_trends_climo_v3/",
  license = "Please cite, see http://nsidc.org/about/use_copyright.html",
  authentication_note = "Requires Earthdata login, see https://urs.earthdata.nasa.gov/.
    Note that you will also need to authorize the application 'nsidc-daacdata'
    (see 'My Applications' at https://urs.earthdata.nasa.gov/profile)",
  method = list("bb_handler_earthdata", recursive = TRUE, level = 4, no_parent = TRUE,
                relative = TRUE),
  user = "your_earthdata_username",
  password = "your_earthdata_password",
  collection_size = 0.02)

## End(Not run)


AustralianAntarcticDivision/bowerbird documentation built on March 8, 2024, 8:33 a.m.