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 0.5 or 1 arc-minute (i.e. 30 or 60 arc-seconds) resolution. This is a large file (>1Gb).

Usage

download_etopo(path = NULL, resolution = 1)

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 arc-minute (one of 0.5, or 1). Defaults to 1 arc-minute.

Value

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


EvolEcolGroup/pastclim documentation built on June 30, 2024, 1:26 a.m.