if (FALSE) {
require(IceSat2R)
# the default timeout is 60 and we set it to 600
options(timeout = 600)
# we specify a URL and a temporary file
default_url = "https://icesat-2.gsfc.nasa.gov/sites/default/"
url_downl = glue::glue('{default_url}files/page_files/IS2RGTscycle12datetime.zip')
tmp_f = tempfile(fileext = '.zip')
# then we download the file
downl_f = download_file(url = url_downl,
destfile = tmp_f,
download_method = 'curl',
verbose = TRUE)
}
Run the code above in your browser using DataLab