{"id":18412250,"url":"https://github.com/bashrc2/tempgraph2","last_synced_at":"2026-02-13T23:02:04.318Z","repository":{"id":109424043,"uuid":"429018877","full_name":"bashrc2/tempgraph2","owner":"bashrc2","description":"Commandline tool to plot global temperature data using data from the Global Historical Climatology Network.","archived":false,"fork":false,"pushed_at":"2025-01-11T10:12:23.000Z","size":244,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T02:36:53.450Z","etag":null,"topics":["climate","climatology"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bashrc2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-11-17T11:29:30.000Z","updated_at":"2025-01-11T10:12:26.000Z","dependencies_parsed_at":"2023-03-23T03:47:52.177Z","dependency_job_id":"255173cc-3aae-4976-b6c6-738be2ab15cf","html_url":"https://github.com/bashrc2/tempgraph2","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.5,"last_synced_commit":"58065b1c28ea47a5c5eefc59123fe4727a2e6071"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bashrc2/tempgraph2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashrc2%2Ftempgraph2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashrc2%2Ftempgraph2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashrc2%2Ftempgraph2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashrc2%2Ftempgraph2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bashrc2","download_url":"https://codeload.github.com/bashrc2/tempgraph2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashrc2%2Ftempgraph2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29422243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: 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":["climate","climatology"],"created_at":"2024-11-06T03:40:33.487Z","updated_at":"2026-02-13T23:02:04.276Z","avatar_url":"https://github.com/bashrc2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![WMO stations](img/stations.jpg)\n\nThis is a commandline tool to plot global temperature data using data from the Global Historical Climatology Network.\n\nSee https://www.ncei.noaa.gov/pub/data/ghcn/v4\n\nInstallation\n============\n\nTo compile from source first install the prerequisites:\n\nOn a Debian based system:\n\n``` bash\nsudo apt-get install build-essential gnuplot wget marble python3\n```\n\nOn Arch/Parabola:\n\n``` bash\nsudo pacman -S gnuplot wget marble python\n```\n\nObtaining the data\n==================\n\nBefore you begin you'll need to download the latest version of the GHCN version 4 data.  tempgraph needs three files: the country codes, the weather stations and the temperature data itself.  These files can be obtained here:\n\n```bash\nmkdir data\ncd data\nwget https://www.ncei.noaa.gov/pub/data/ghcn/v4/ghcnm.tavg.latest.qcf.tar.gz\nwget https://www.ncei.noaa.gov/pub/data/ghcn/v4/ghcnm-countries.txt\ntar -xzvf ghcnm.tavg.latest.qcf.tar.gz\ncd ..\n```\n\nThe compressed archive contains two files, one which is the temperature data (.dat) and the other which contains details of the weather stations (.inv). I typically rename these to:\n\n```bash\ncp data/ghcnm.v4*/*.dat data/v4.mean\ncp data/ghcnm.v4*/*.inv data/wmo.txt\ncp data/ghcnm-countries.txt data/v4.country.codes\n```\n\nUsage\n=====\n\n``` bash\npython3 tempgraph2.py\nls *.kml *.jpg\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashrc2%2Ftempgraph2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbashrc2%2Ftempgraph2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashrc2%2Ftempgraph2/lists"}