{"id":32203678,"url":"https://github.com/pepijn-devries/copernicusclimate","last_synced_at":"2026-02-21T12:01:51.250Z","repository":{"id":317389074,"uuid":"1065375468","full_name":"pepijn-devries/CopernicusClimate","owner":"pepijn-devries","description":"Search Download and Handle Data from Copernicus Climate Data Service","archived":false,"fork":false,"pushed_at":"2025-11-30T09:22:33.000Z","size":6971,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-02T12:33:08.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pepijn-devries.github.io/CopernicusClimate/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pepijn-devries.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T15:45:35.000Z","updated_at":"2025-11-30T09:20:01.000Z","dependencies_parsed_at":"2025-10-23T09:14:08.906Z","dependency_job_id":"f6e79d39-b7cc-40fc-8200-e620e22cc3d8","html_url":"https://github.com/pepijn-devries/CopernicusClimate","commit_stats":null,"previous_names":["pepijn-devries/copernicusclimate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pepijn-devries/CopernicusClimate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2FCopernicusClimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2FCopernicusClimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2FCopernicusClimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2FCopernicusClimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepijn-devries","download_url":"https://codeload.github.com/pepijn-devries/CopernicusClimate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepijn-devries%2FCopernicusClimate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29680147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-22T04:45:07.958Z","updated_at":"2026-02-21T12:01:51.245Z","avatar_url":"https://github.com/pepijn-devries.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\ntryCatch({\n  Sys.setlocale(\"LC_ALL\", \"English\")\n})\nlibrary(ggplot2)\ntheme_set(theme_light())\n```\n\n# CopernicusClimate \u003cimg src=\"man/figures/logo.svg\" align=\"right\" height=\"139\" copyright=\"cc-sa\" alt=\"logo\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/pepijn-devries/CopernicusClimate/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pepijn-devries/CopernicusClimate/actions/workflows/R-CMD-check.yaml)\n![cranlogs](https://cranlogs.r-pkg.org/badges/CopernicusClimate)\n[![version](https://www.r-pkg.org/badges/version/CopernicusClimate)](https://CRAN.R-project.org/package=CopernicusClimate)\n[![cran checks](https://badges.cranchecks.info/worst/CopernicusClimate.svg)](https://cran.r-project.org/web/checks/check_results_CopernicusClimate.html)\n[![CopernicusClimate status badge](https://pepijn-devries.r-universe.dev/badges/CopernicusClimate)](https://pepijn-devries.r-universe.dev/CopernicusClimate)\n[![Codecov test coverage](https://codecov.io/gh/pepijn-devries/CopernicusClimate/graph/badge.svg)](https://app.codecov.io/gh/pepijn-devries/CopernicusClimate)\n\u003c!-- badges: end --\u003e\n\n## Overview\n\n[The Copernicus Climate Change Service (C3S)](https://climate.copernicus.eu/) has the mission of\nproviding information about the past, present and future climate, as well as tools to enable\nclimate change mitigation and adaptation strategies.\n\nThe C3S Climate Data Store provides open and state-of-the-art climate data to scientists. This\npackage allows users to download data from the data store and handle it in R.\n\n## Installation\n\nInstall CRAN release:\n\n```{r install1, eval=FALSE}\ninstall.packages(\"CopernicusClimate\")\n```\n\nInstall latest developmental version from R-Universe:\n\n```{r install2, eval=FALSE}\ninstall.packages(\"CopernicusClimate\", repos = c('https://pepijn-devries.r-universe.dev', 'https://cloud.r-project.org'))\n```\n\n## Example\n\nIn order to download data from C3S you first need to submit a request with `cds_submit_job()`.\nAfter your request has been processed by C3S, you can download the data with `cds_download_jobs()`.\nThis workflow is demonstrated in the code snippet below. For a more detailed\ndescription of the workflow see `vignette(\"download\")`.\n\n```{r example, message=FALSE, fig.width=7, fig.height=3, fig.alt=\"Temperature map created from downloaded data\"}\nlibrary(CopernicusClimate)\nlibrary(stars)   ## For loading spatial raster data\nlibrary(ggplot2) ## For plotting the data\n\nif (cds_token_works()) { ## Make sure there is an operational access token\n  \n  ## Submit a download job:\n  job \u003c-\n    cds_submit_job(\n      \"sis-agrometeorological-indicators\",\n      statistic = \"day_time_mean\",\n      variable = \"2m_temperature\",\n      year = \"2025\",\n      month = \"01\",\n      day = \"01\")\n  \n  ## Actually download the data:\n  data_file \u003c- cds_download_jobs(job$jobID, tempdir())\n  \n  ## Unzip the downloaded data:\n  data_unzipped \u003c- unzip(data_file$local, list = TRUE)\n  unzip(data_file$local, exdir = tempdir())\n  data_stars \u003c- read_mdim(file.path(tempdir(), data_unzipped))\n  \n  ## Plot the downloaded data\n  ggplot() +\n    geom_stars(data = data_stars) +\n    coord_sf() +\n    labs(fill = \"T(air 2m) [K]\", x = NULL, y = NULL) +\n    scale_fill_viridis_c(option = \"inferno\", na.value = \"transparent\")\n}\n```\n\n## More of Copernicus\n\nMore R packages for exploring other Copernicus data services:\n\n * [CopernicusMarine](https://github.com/pepijn-devries/CopernicusMarine)\n Dedicated to marine datasets\n\n## Code of Conduct\n\nPlease note that the CopernicusClimate project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepijn-devries%2Fcopernicusclimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepijn-devries%2Fcopernicusclimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepijn-devries%2Fcopernicusclimate/lists"}