curl needs to be installed on your machine and a token available to download data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ATLdownload(
short_name,
bounding_box,
bbox,
shapefile,
time,
token,
version,
coverage,
projection,
tempDir,
dwlDir,
email = "yes"
)
|
short_name |
Short name ID of the dataset. For example ATL03 or ATL08 |
bounding_box |
Bounding box used as a search filter. lower_left_long, lower_left_lat, upper_right_long, upper_righ_lat |
bbox |
Bounding box used for spatial subsetting. Must match the coordinates entered for bounding_box. If left NULL, automatically copies bounding_box values. |
shapefile |
An ESRI Shapefile used for spatial subsetting. Output files will be cropped to the shapefile extent. |
time |
Temporal range filter |
token |
Token required to access data using Eathdata login credentials |
version |
Dataset version number. Default is 002 |
coverage |
Subsets dataset parameters (based on HDF5 dataset structure) |
projection |
Projection of the output files. |
tempDir |
Full path to temporary folder where download request and eventually clipping shapefile will be saved |
dwlDir |
Full path to folder where data will be downloaded |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.