{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Reading PROBA-V data from R \n", "This notebook illustrates how to find locations of PROBA-V data, and reads them using the preinstalled R raster package.\n", "No further processing is carried out.\n", "We use the 'reticulate' R library to access a Python library that supports finding locations of PROBA-V products on the MEP. Reusing this Python library ensures that R users can also benefit from everything that is implemented for Python users." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Load the reticulate library (R-Python bridge) and point it to the Python version that comes preconfigured with all modules." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "library(reticulate)\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Use reticulate calls to load our 'catalogclient' library, written in Python.\n", "More information about the catalog service for PROBA-V product lookup can be found here:\n", "https://proba-v-mep.esa.int/documentation/manuals/product-catalog-api\n", "Using the catalog API avoids having to write our own file lookup code." ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "