download_etopo: Download the ETOPO Global relief model

View source: R/download_etopo.R

download_etopoR Documentation

Download the ETOPO Global relief model

Description

This function downloads the ETOPO2022 global relief model at 30 or 60 arcsecs resolution. This is a large file (>1Gb).

Usage

download_etopo(path = NULL, resolution = 60)

Arguments

path

character. Path where to download the data to. If left NULL, the data will be downloaded from the directory returned by get_data_path(), and automatically named ⁠etopo2022_{resolution}s_v1.nc⁠

resolution

numeric resolution in arcsecs (one of 30, or 60). Defaults to 60 arcsecs.

Value

a dataframe produced by curl::multi_download() with information about the download (including error codes)


EvolEcolGroup/pastclim documentation built on Nov. 6, 2023, 5:11 a.m.