{"id":15359026,"url":"https://github.com/compgeolab/temperature-data","last_synced_at":"2025-04-15T07:22:16.578Z","repository":{"id":152042012,"uuid":"355143860","full_name":"compgeolab/temperature-data","owner":"compgeolab","description":"Download and create a subset of global country-average temperature data from Berkeley Earth","archived":false,"fork":false,"pushed_at":"2025-02-14T17:35:45.000Z","size":21276,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T17:47:55.354Z","etag":null,"topics":["climate","climate-data","data-science","open-data","temperature"],"latest_commit_sha":null,"homepage":"https://www.berkeleyearth.org","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/compgeolab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-CC-BY-NC.txt","code_of_conduct":null,"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}},"created_at":"2021-04-06T10:13:01.000Z","updated_at":"2025-02-14T17:35:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c9315f8-5b3f-4523-897b-dae9e245a6cb","html_url":"https://github.com/compgeolab/temperature-data","commit_stats":null,"previous_names":["compgeolab/temperature-data"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compgeolab%2Ftemperature-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compgeolab%2Ftemperature-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compgeolab%2Ftemperature-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compgeolab%2Ftemperature-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compgeolab","download_url":"https://codeload.github.com/compgeolab/temperature-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249024106,"owners_count":21200037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["climate","climate-data","data-science","open-data","temperature"],"created_at":"2024-10-01T12:43:36.252Z","updated_at":"2025-04-15T07:22:16.549Z","avatar_url":"https://github.com/compgeolab.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Global monthly average temperature data\n\nDownload and create a subset of global monthly average temperature data for\ndifferent countries from [Berkeley Earth](https://berkeleyearth.org). This can\nbe used as sample data for introduction to programming and data science\nclasses.\n\n## Download the data\n\nGet the latest version of the dataset as a zip file:\n\n\n| File | MD5 checksum |\n|:-----|:----|\n| [`temperature-data.zip`](https://github.com/compgeolab/temperature-data/releases/download/2025-02-11/temperature-data.zip) | `d102212049af1695b686c94ae1eea233` |\n\nThe zip file contains CSVs with the monthly average temperature in degrees\nCelsius, one for each country. See the [README.md](data/processed/README.md)\nfor more information.\n\nYou can download and unpack this arquive in Python using the [Pooch](https://www.fatiando.org/pooch) library:\n\n```python\nimport pooch\n\n# Copy the URL and MD5 from above.\npaths_to_each_file = pooch.retrieve(\n    url=\"https://github.com/compgeolab/temperature-data/releases/download/2025-02-11/temperature-data.zip\",\n    known_hash=\"md5:d102212049af1695b686c94ae1eea233\",\n    processor=pooch.Unzip(),\n)\n\n# paths_to_each_file is a list with the path to each file in the archive\n# The paths can be passed to pandas directly.\nimport pandas as pd\n\n# Grab the second one because the README.md will be the first.\ndata = pandas.read_csv(sorted(paths_to_each_file)[1], comment=\"#\")\n```\n\n## License\n\nThe processed temperature data are made available under the\n[Creative Commons Attribution-NonCommercial 4.0 International license](https://creativecommons.org/licenses/by-nc/4.0/)\n(CC-BY-NC).\nPlease credit the original authors of the data (Berkeley Earth) as well as\nLeonardo Uieda when using this work.\nPlease include links to https://www.berkeleyearth.org and\nhttps://github.com/compgeolab/temperature-data.\n\nThe Python source code is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompgeolab%2Ftemperature-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompgeolab%2Ftemperature-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompgeolab%2Ftemperature-data/lists"}