This package is a collection of functions/workflows used for downloading datasets hosted online. So far there's only one...
This function requires a .txt file generated through the NASA GES DISC webset (https://disc.gsfc.nasa.gov/), seen here:
# Single-threaded:
modelCollect::download_GESDISC(path = "C:/path/to/file.txt",
dest_folder = "C:/path/to/save/folder/")
# Multi-threaded:
library(parallel)
cl <- parallel::makeCluster(4)
modelCollect::download_GESDISC(path = "C:/path/to/file.txt",
dest_folder = "C:/path/to/save/folder/",
cl = cl)
# warning: The NASA GES DISC may stop downloads when >5 requests are made simultaneously. 5 or less cores are suggested.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.