Code Monkey home page Code Monkey logo

clmsapi's Introduction

clmsapi

R-Client for accessing the Copernicus Land Monitoring Service HTTP API on WEkEO by means of REST calls. Currently supported are only data from the High Resolution Snow and Ice Monitoring.

Registration:

Before downloading any data using the clmsapi, you need to register here.

Other Data access possibilities:

Web frontend for seach and download: https://cryo.land.copernicus.eu/finder/
WEkEO catalogue (will gradually become the standard) https://www.wekeo.eu/data?view=catalogue
WMS services:
https://cryo.land.copernicus.eu/wms/FSC/
https://cryo.land.copernicus.eu/wms/RLIE/
https://cryo.land.copernicus.eu/wms/PSA/
https://cryo.land.copernicus.eu/wms/GFSC/
https://cryo.land.copernicus.eu/wms/WDS/
https://cryo.land.copernicus.eu/wms/SWS/

API Url:

https://cryo.land.copernicus.eu/resto/api/collections/HRSI/search.json

API reference:

https://cryo.land.copernicus.eu/resto/api/collections/HRSI/describe.xml

Package maturity note

The package is not at all mature, changes in methods and names are to be expected!
So far tested only on Linux and on Windows.

Installation

To install from GitHub, first install devtools and subsequently run

devtools::install_github("MatMatt/clmsapi", ref = "master")

Currently working is:

x <- composeUrl(productType = 'FSC', productIdentifier = 'T29UNV', startDate='2020-07-01', completionDate=Sys.Date())
x <- selector(x)  
res <- downloader(x, user='yourUser', password='yourPassword')  
res  

Outlook

clmsapi will remain a modular utility package and most probably not go as far as covering any raster processing functionalities. Currently operativ on WEkEO is only the High Resolution Snow and Ice (HR-S&I). In 2021 two more product will commence on WEkEO, (1) the High Resolution Vegetation Phenology and Productivity (HR-VPP). Products might be gradually added to clmsapi as they become avialable on WEkEO (and my time permitting!).

The main part covered by this package will remain the connection to the API, and the personal local data mirrow. You will be able to ask for the products you need, and clmsapi will give you back a character string with path- and filename of the requested files. This covers (1) API call (works), (2) check the availability and integrity of local files (works), (3) structured download of needed files (a bit hardcoded but works), (4) unzip (todo). Further to be imporved are some comfort functionality, so to allow better translation from R spatial objects (extent information) into API paramter 'geometry'.

Legal notice about Copernicus Data:

Access to data is based on a principle of full, open and free access as established by the Copernicus data and information policy Regulation (EU) No 1159/2013 of 12 July 2013. This regulation establishes registration and licensing conditions for GMES/Copernicus users and can be found here: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32013R1159.

Free, full and open access to this data set is made on the conditions that:

  1. When distributing or communicating Copernicus dedicated data and Copernicus service information to the public, users shall inform the public of the source of that data and information.
  2. Users shall make sure not to convey the impression to the public that the user's activities are officially endorsed by the Union.
  3. Where that data or information has been adapted or modified, the user shall clearly state this.
  4. The data remain the sole property of the European Union. Any information and data produced in the framework of the action shall be the sole property of the European Union. Any communication and publication by the beneficiary shall acknowledge that the data were produced “with funding by the European Union”.

clmsapi's People

Contributors

matmatt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eea

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.