Environmental Data Platform


openEO Reference data S2_32636_10m_L2A detail

Go to full metadata


The Copernicus Sentinel-2 dataset that is to be used as a reference dataset for testing and validation on various backends in the openEO Project.

Land use, Land cover, collection, openEO, Sentinel-2, Sentinel-2A

CC-BY-4.0

eurac research - Institute for Earth Observation
bartolomeo.ventura@eurac.edu
Viale Druso, 1 / Drususallee 1, eurac research, Bolzano, Autonomous Province of Bolzano, 39100, Italy


2018-06-04T00:00:00Z 2018-06-23T00:00:00Z

WGS-84 (32632:EPSG)

Grid


Snippet code
Copy to clipboard

#remotes::install_github(repo="Open-EO/openeo-r-client",ref="develop", dependencies=TRUE)
library(openeo)

# login ----
euracHost = "https://openeo.eurac.edu"
conf = read.csv("./pwd/openeo_eurac_conf.csv") # adapt this path to where you store the conf file.
conf = list(client_id = conf$client_id, secret = conf$secret)
eurac = connect(host = euracHost)
prov = list_oidc_providers()
prov$Eurac_EDP_Keycloak
login(login_type = "oidc", provider = prov$Eurac_EDP_Keycloak, config = conf, con = eurac)

# load colleaction - save result ----
p = processes()
data = p$load_collection(id = "https://openeo.eurac.edu/collections/", 
                                             spatial_extent = list(west = 7.709,
                                                                                 east = 11.802847,
                                                                                 south = 45.958259,
                                                                                 north = 47.819474),
                                             temporal_extent = list("2018-06-04T00:00:00Z", "2018-06-23T00:00:00Z"))
result = p$save_result(data = data, format="netCDF")

# download results ----
# either directly (suitable for smaller requests)
compute_result(result,
                             format = "netCDF",
                             output_file = "https://openeo.eurac.edu/collections/.nc", 
                             con = eurac)

# or start a batch job (suitable for larger requests)
job_id = create_job(graph = result,
                                   title = "https://openeo.eurac.edu/collections/",
                                   description = "https://openeo.eurac.edu/collections/",
                                   format = "netCDF")
start_job(job = job_id)
result_list = list_results(job = job_id)
download_results(job = job_id, folder = ".")
Copy to clipboard

#pip install openeo
import openeo

# login ----
euracHost        = "https://openeo.eurac.edu"
eurac = openeo.connect(euracHost).authenticate_oidc(client_id="openEO_PKCE")

# load collection - save result ----
data = eurac.load_collection("https://openeo.eurac.edu/collections/",spatial_extent={'west':7.709,'east':11.802847,'south':45.958259,'north':47.819474},temporal_extent=["2018-06-04T00:00:00Z", "2018-06-23T00:00:00Z"])

result = data.save_result(format="NetCDF")

# download results ----
# either directly (suitable for smaller requests)
data.download("https://openeo.eurac.edu/collections/.nc",format="netCDF")

# or start a batch job (suitable for larger requests)

job = result.send_job(title = "https://openeo.eurac.edu/collections/",description = "https://openeo.eurac.edu/collections/",out_format = "netCDF")
jobId = job.job_id
job.start_job()

jobResults = job.get_results()
jobResults.download_files('.')

Related docs
Name Description Link Date published Category
openEO for ADO project Tutorial and snippets on how to use openEO in the ADO project Link Sept. 15, 2021 OpenEO
EDP video tutorial Presentation of edp-platform and tutorial for data analysis and processing Link Sept. 15, 2021 OpenEO
Official OpenEO documentation and project site Official Documentation provided in the project web site for a deeper overview and introduction. Link June 10, 2021 OpenEO
OpenEO doc Documentation for OpenEO API Link June 9, 2021 OpenEO
Eurac - OpenEO openEO endpoint Link April 28, 2021 OpenEO