Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlampros/copernicusdem

Copernicus Digital Elevation Models (DEM)
https://github.com/mlampros/copernicusdem

awscli awscliv2 copernicus digital-elevation-model r

Last synced: 29 days ago
JSON representation

Copernicus Digital Elevation Models (DEM)

Awesome Lists containing this project

README

        

[![tic](https://github.com/mlampros/CopernicusDEM/workflows/tic/badge.svg?branch=master)](https://github.com/mlampros/CopernicusDEM/actions)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/CopernicusDEM)](http://cran.r-project.org/package=CopernicusDEM)
[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/CopernicusDEM?color=blue)](http://www.r-pkg.org/pkg/CopernicusDEM)
Buy Me A Coffee
[![Dependencies](https://tinyverse.netlify.com/badge/CopernicusDEM)](https://cran.r-project.org/package=CopernicusDEM)

## CopernicusDEM


Copernicus Digital Elevation Model datasets (DEM) of 90 and 30 meters resolution using the 'awscli' command line tool. The Copernicus (DEM) is included in the Registry of Open Data on AWS. Details on how to use the R package can be found both in the Vignette and in the [blog post](http://mlampros.github.io/2021/05/21/copernicusDEM_package/).


**System Requirements**:

This R package uses the command line **awscli** internally, which has to be installed first in the Operating System.


On **Ubuntu** this can be done using:

```R
sudo apt install -y awscli

```


On **Macintosh** use,

```R
brew install awscli

```


and on **Windows 10** (tested) open the command line (cmd) and type,

```R
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi

```

which will open a new window ('AWS command line interface v2 Setup'), then click twice on 'next' and then 'install' and 'allow the device to make changes' and once another window pop-ups click 'finish'


Then verify the installation using,

```R
aws --version

```


and proceed to **configure aws** using either

```R
aws configure

```

or

```R
export AWS_ACCESS_KEY_ID=xxxxxxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxxxxx
export AWS_DEFAULT_REGION=eu-central-1

```


To check that **awscli** was installed and configured successfully run the following line in the command line. It returns the first 10 files of the 90 meter DEM product (for verification purposes),

```R
aws s3 ls s3://copernicus-dem-90m | head -n 10

```


To install the package from CRAN use,

```R
install.packages("CopernicusDEM")

```

and to download the latest version of the package from Github,

```R
remotes::install_github('mlampros/CopernicusDEM')

```


### Citation:


If you use the **CopernicusDEM** R package in your paper or research please cite:


```R
@Manual{,
title = {{CopernicusDEM}: Copernicus Digital Elevation Models},
author = {Lampros Mouselimis},
year = {2024},
doi = 10.32614/CRAN.package.CopernicusDEM,
note = {R package version 1.0.5 produced using Copernicus
WorldDEMTM-90 DLR e.V. 2010-2014 and Airbus Defence and Space
GmbH 2014-2018 provided under COPERNICUS by the European Union
and ESA; all rights reserved},
url = {https://CRAN.R-project.org/package=CopernicusDEM},
}
```