{"id":192242,"name":"Open Global Infrastructure Risk/Resilience Analysis","description":"Can be used to analyse environmental risks to infrastructure networks using global open data.","url":"https://github.com/nismod/open-gira","last_synced_at":"2026-04-13T17:30:25.266Z","repository":{"id":37762308,"uuid":"402416658","full_name":"nismod/open-gira","owner":"nismod","description":"Open-data Global Infrastructure Risk/Resilience Analysis","archived":false,"fork":false,"pushed_at":"2026-03-30T10:24:40.000Z","size":219412,"stargazers_count":21,"open_issues_count":27,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-30T12:22:49.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nismod.github.io/open-gira/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nismod.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-02T12:43:58.000Z","updated_at":"2026-03-20T15:02:46.000Z","dependencies_parsed_at":"2024-11-05T22:33:03.511Z","dependency_job_id":"ef7650c2-83f2-44b5-879e-065c16a39558","html_url":"https://github.com/nismod/open-gira","commit_stats":{"total_commits":1175,"total_committers":12,"mean_commits":97.91666666666667,"dds":"0.46468085106382984","last_synced_commit":"9ec11cbecd321c8a048929c08ce95663f2184cbc"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/nismod/open-gira","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31232577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T09:14:28.471Z","status":"ssl_error","status_checked_at":"2026-03-31T09:14:19.506Z","response_time":111,"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"}},"owner":{"login":"nismod","name":"National Infrastructure Systems Model","uuid":"21081508","kind":"organization","description":"","email":null,"website":"www.itrc.org.uk","location":"United Kingdom","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/21081508?v=4","repositories_count":30,"last_synced_at":"2023-02-28T18:04:50.433Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nismod","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-11T19:45:27.922Z","updated_at":"2023-02-28T18:04:50.441Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod/repositories"},"packages":[{"id":11733289,"name":"github.com/nismod/open-gira","ecosystem":"go","description":null,"homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/nismod/open-gira","keywords_array":[],"namespace":null,"versions_count":7,"first_release_published_at":"2023-08-09T16:07:28.000Z","latest_release_published_at":"2025-12-18T16:48:39.000Z","latest_release_number":"v0.4.1","last_synced_at":"2026-03-24T22:20:05.081Z","created_at":"2025-06-05T11:15:13.112Z","updated_at":"2026-03-24T22:20:05.081Z","registry_url":"https://pkg.go.dev/github.com/nismod/open-gira","install_command":"go get github.com/nismod/open-gira","documentation_url":"https://pkg.go.dev/github.com/nismod/open-gira#section-documentation","metadata":{},"repo_metadata":{"id":37762308,"uuid":"402416658","full_name":"nismod/open-gira","owner":"nismod","description":"Open-data Global Infrastructure Risk/Resilience Analysis","archived":false,"fork":false,"pushed_at":"2025-10-28T15:56:48.000Z","size":219199,"stargazers_count":17,"open_issues_count":27,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-29T08:14:03.893Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nismod.github.io/open-gira/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nismod.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-02T12:43:58.000Z","updated_at":"2025-10-23T05:09:17.000Z","dependencies_parsed_at":"2024-11-05T22:33:03.511Z","dependency_job_id":"ef7650c2-83f2-44b5-879e-065c16a39558","html_url":"https://github.com/nismod/open-gira","commit_stats":{"total_commits":1175,"total_committers":12,"mean_commits":97.91666666666667,"dds":"0.46468085106382984","last_synced_commit":"9ec11cbecd321c8a048929c08ce95663f2184cbc"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/nismod/open-gira","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281625275,"owners_count":26533354,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"nismod","name":"National Infrastructure Systems Model","uuid":"21081508","kind":"organization","description":"","email":null,"website":"www.itrc.org.uk","location":"United Kingdom","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/21081508?v=4","repositories_count":30,"last_synced_at":"2023-02-28T18:04:50.433Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/nismod","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-11T19:45:27.922Z","updated_at":"2023-02-28T18:04:50.441Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nismod/repositories"},"tags":[{"name":"v0.4.0-alpha","sha":"7e9e468118c3a6c3985fbb7901590df424c22dba","kind":"commit","published_at":"2025-03-27T17:37:16.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.4.0-alpha","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.4.0-alpha","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.4.0-alpha","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.4.0-alpha","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.4.0-alpha/manifests"},{"name":"v0.3.2","sha":"5b5a42bc5ca075e1c0df630e669cda57e521890e","kind":"commit","published_at":"2025-02-25T19:05:08.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.3.2","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.2/manifests"},{"name":"v0.3.1","sha":"ef81de1e8644412dd54b4e4cebe1476977f52601","kind":"commit","published_at":"2024-12-20T16:01:09.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.3.1","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"e2c5cb03b1554f5e01b0576267a836d26824ef6d","kind":"commit","published_at":"2024-09-13T15:32:55.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.3.0","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"c0874d54374b025871b6f327986d31ffa32e3c04","kind":"commit","published_at":"2024-03-18T10:01:18.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.2.0","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"6fdf149e764d4e2e47e6f1af5c3babee6702c7fb","kind":"commit","published_at":"2023-08-09T16:07:28.000Z","download_url":"https://codeload.github.com/nismod/open-gira/tar.gz/v0.1.0","html_url":"https://github.com/nismod/open-gira/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/nismod/open-gira@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-29T13:05:15.056Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.757538697138725,"dependent_packages_count":5.395053785167736,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.57629624115323},"purl":"pkg:golang/github.com/nismod/open-gira","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/nismod/open-gira","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/nismod/open-gira","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/nismod/open-gira/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-26T12:47:16.019Z","issues_count":90,"pull_requests_count":126,"avg_time_to_close_issue":11110599.265625,"avg_time_to_close_pull_request":695080.4180327869,"issues_closed_count":64,"pull_requests_closed_count":122,"pull_request_authors_count":6,"issue_authors_count":8,"avg_comments_per_issue":0.7333333333333333,"avg_comments_per_pull_request":0.4365079365079365,"merged_pull_requests_count":119,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":6,"past_year_pull_requests_count":15,"past_year_avg_time_to_close_issue":163438.33333333334,"past_year_avg_time_to_close_pull_request":493145.8461538461,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":13,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.6666666666666666,"past_year_avg_comments_per_pull_request":0.26666666666666666,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":13,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/issues","maintainers":[{"login":"tomalrussell","count":59,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomalrussell"}],"active_maintainers":[{"login":"tomalrussell","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomalrussell"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnismod%2Fopen-gira/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnismod%2Fopen-gira/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnismod%2Fopen-gira/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnismod%2Fopen-gira/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnismod%2Fopen-gira/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2083175,"maintainers_count":0,"namespaces_count":778194,"keywords_count":0,"github":"golang","metadata":{"funded_packages_count":53384},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-03-31T05:29:29.987Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":1548554,"full_name":"nismod/open-gira","default_branch":"main","total_commits":1363,"total_committers":9,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":151.44444444444446,"dds":0.47248716067498164,"past_year_total_commits":95,"past_year_total_committers":2,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":47.5,"past_year_dds":0.25263157894736843,"last_synced_at":"2026-03-27T15:38:36.598Z","last_synced_commit":"3acb87d7d7d2e4edb103c8348e189813ef8afe90","created_at":"2024-05-05T00:17:59.847Z","updated_at":"2026-03-27T15:37:34.554Z","committers":[{"name":"Fred Thomas","email":"fred.thomas@ouce.ox.ac.uk","login":"thomas-fred","count":719},{"name":"Tom Russell","email":"tom.russell@ouce.ox.ac.uk","login":"tomalrussell","count":246},{"name":"Fred Thomas","email":"frederick.thomas@ouce.ox.ac.uk","login":null,"count":153},{"name":"Thibault Lestang","email":"thibault.lestang@cs.ox.ac.uk","login":"tlestang","count":119},{"name":"maxrob27","email":"max.o.robertson@googlemail.com","login":"maxrob27","count":94},{"name":"mjaquiery","email":"matt.jaquiery@psy.ox.ac.uk","login":null,"count":21},{"name":"Matt Jaquiery","email":"matt.jaquiery@cs.ox.ac.uk","login":null,"count":7},{"name":"cenv0972","email":"cenv0972@linux-hn01.ouce.ox.ac.uk","login":null,"count":2},{"name":"Fred Thomas","email":"f.s.thomas@the-iea.org","login":null,"count":2}],"past_year_committers":[{"name":"Fred Thomas","email":"fred.thomas@eci.ox.ac.uk","login":"thomas-fred","count":71},{"name":"Tom Russell","email":"tom.russell@ouce.ox.ac.uk","login":"tomalrussell","count":24}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-30T00:00:08.107Z","repositories_count":6205672,"commits_count":927789822,"contributors_count":35818753,"owners_count":1143371,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"nismod/open-gira","html_url":"https://github.com/nismod/open-gira","last_synced_at":"2025-10-26T12:47:16.019Z","status":"active","issues_count":90,"pull_requests_count":126,"avg_time_to_close_issue":11110599.265625,"avg_time_to_close_pull_request":695080.4180327869,"issues_closed_count":64,"pull_requests_closed_count":122,"pull_request_authors_count":6,"issue_authors_count":8,"avg_comments_per_issue":0.7333333333333333,"avg_comments_per_pull_request":0.4365079365079365,"merged_pull_requests_count":119,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":6,"past_year_pull_requests_count":15,"past_year_avg_time_to_close_issue":163438.33333333334,"past_year_avg_time_to_close_pull_request":493145.8461538461,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":13,"past_year_pull_request_authors_count":3,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.6666666666666666,"past_year_avg_comments_per_pull_request":0.26666666666666666,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":13,"created_at":"2024-05-05T00:18:16.041Z","updated_at":"2025-10-26T12:47:16.019Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/nismod%2Fopen-gira/issues","issue_labels_count":{"enhancement":7,"documentation":3,"bug":2,"good first issue":1},"pull_request_labels_count":{"enhancement":6,"documentation":4,"bug":2},"issue_author_associations_count":{"CONTRIBUTOR":35,"MEMBER":34,"NONE":21},"pull_request_author_associations_count":{"CONTRIBUTOR":90,"MEMBER":25,"NONE":11},"issue_authors":{"tomalrussell":34,"thomas-fred":32,"mjaquiery":12,"itrcrisks":4,"tlestang":3,"alisonpeard":3,"ischlo":1,"jacobbieker":1},"pull_request_authors":{"thomas-fred":68,"tomalrussell":25,"tlestang":16,"mjaquiery":10,"maxrob27":5,"albert8v":2},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-10-27T00:00:36.373Z","repositories_count":11199933,"issues_count":34837903,"pull_requests_count":112957689,"authors_count":11041622,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"MEMBER":3,"NONE":3},"past_year_pull_request_author_associations_count":{"MEMBER":11,"CONTRIBUTOR":3,"NONE":1},"past_year_issue_authors":{"alisonpeard":3,"tomalrussell":3},"past_year_pull_request_authors":{"tomalrussell":11,"albert8v":2,"thomas-fred":2},"maintainers":[{"login":"tomalrussell","count":59,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomalrussell"}],"active_maintainers":[{"login":"tomalrussell","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tomalrussell"}]},"events":{"total":{"CreateEvent":11,"ReleaseEvent":2,"IssuesEvent":11,"WatchEvent":3,"DeleteEvent":7,"IssueCommentEvent":24,"PushEvent":55,"PullRequestReviewCommentEvent":5,"PullRequestReviewEvent":4,"PullRequestEvent":13,"ForkEvent":2},"last_year":{"CreateEvent":10,"ReleaseEvent":2,"IssuesEvent":10,"WatchEvent":3,"DeleteEvent":7,"IssueCommentEvent":22,"PushEvent":49,"PullRequestReviewCommentEvent":5,"PullRequestReviewEvent":4,"PullRequestEvent":12,"ForkEvent":2}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/docs.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T23:46:10.219Z","updated_at":"2023-02-17T23:46:10.219Z","repository_link":"https://github.com/nismod/open-gira/blob/main/.github/workflows/docs.yml","dependencies":[{"id":7748960799,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T23:46:10.319Z","updated_at":"2023-02-17T23:46:10.319Z","repository_link":"https://github.com/nismod/open-gira/blob/main/.github/workflows/test.yml","dependencies":[{"id":7748960956,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7748960958,"package_name":"mamba-org/provision-with-micromamba","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"docker","filepath":"Dockerfile","sha":null,"kind":"manifest","created_at":"2023-02-17T23:46:10.335Z","updated_at":"2023-02-17T23:46:10.335Z","repository_link":"https://github.com/nismod/open-gira/blob/main/Dockerfile","dependencies":[{"id":7748960976,"package_name":"osgeo/proj","ecosystem":"docker","requirements":"latest","direct":true,"kind":"build","optional":false}]},{"ecosystem":"docker","filepath":"docker-compose.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T23:46:10.412Z","updated_at":"2023-02-17T23:46:10.412Z","repository_link":"https://github.com/nismod/open-gira/blob/main/docker-compose.yml","dependencies":[{"id":7748961377,"package_name":"peaceiris/mdbook","ecosystem":"docker","requirements":"v0.4.15","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"pyproject.toml","sha":null,"kind":"manifest","created_at":"2023-09-23T12:25:06.579Z","updated_at":"2023-09-23T12:25:06.579Z","repository_link":"https://github.com/nismod/open-gira/blob/main/pyproject.toml","dependencies":[]},{"ecosystem":"pypi","filepath":"environment.yml","sha":null,"kind":"manifest","created_at":"2024-11-05T22:33:02.899Z","updated_at":"2024-11-05T22:33:02.899Z","repository_link":"https://github.com/nismod/open-gira/blob/main/environment.yml","dependencies":[{"id":20581242119,"package_name":"nismod-snail","ecosystem":"pypi","requirements":"==0.5.2","direct":true,"kind":"runtime","optional":false},{"id":20581242121,"package_name":"osmium","ecosystem":"pypi","requirements":"==3.2.0","direct":true,"kind":"runtime","optional":false},{"id":20581242122,"package_name":"snkit","ecosystem":"pypi","requirements":"==1.8.1","direct":true,"kind":"runtime","optional":false},{"id":20581242140,"package_name":"zenodo_get","ecosystem":"pypi","requirements":"\u003e=1.5.1","direct":true,"kind":"runtime","optional":false}]}],"score":null,"created_at":"2024-05-05T00:17:58.976Z","updated_at":"2026-04-13T17:30:25.270Z","avatar_url":"https://github.com/nismod.png","language":"Python","category":"Climate Change","sub_category":"Natural Hazard and Storms","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"# Open Global Infrastructure Risk/Resilience Analysis\n\n[![mdBook Documentation](https://github.com/nismod/open-gira/actions/workflows/docs.yml/badge.svg?branch=main)](https://nismod.github.io/open-gira)\n[![pyTest](https://github.com/nismod/open-gira/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/nismod/open-gira/actions/workflows/test.yml)\n[![snakemake workflow](https://img.shields.io/badge/snakemake-open--gira-informational)](https://snakemake.github.io/snakemake-workflow-catalog/?usage=nismod/open-gira)\n[![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14537079.svg)](https://doi.org/10.5281/zenodo.14537079)\n\n## Introduction\n\nThis open-source [snakemake](https://snakemake.readthedocs.io/en/stable/)\nworkflow can be used to analyse environmental risks to infrastructure\nnetworks using global open data. It is a work in progress.\n\nGoals:\n\n- Automated pipeline for reproducible analysis anywhere in the world\n- Maps per-country and of larger areas\n- Charts/stats of exposure per admin region, per hazard type, scenario, epoch\n- Consider transport, electricity, water, communications systems\n- Consider river flooding, storm surge coastal flooding, tropical cyclones\n- Estimate direct damages to physical networks\n- Estimate indirect effects of disruption - people affected, economic activity disrupted\n\nNon-goals:\n\n- Using closed data, which may be appropriate for other projects or use-cases\n- Detailed operational/engineering level simulation\n- Long-term planning\n\n## Installation\n\nInstall `open-gira` by cloning the repository:\n\n```bash\ngit clone https://github.com/nismod/open-gira.git\n```\n\n### Conda install\n\nThe repository comes with a `environment.yml` file describing the `conda` and\n`PyPI` packages required to run `open-gira`. The `open-gira` developers\nrecommend using either [micromamba](https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html#micromamba)\nor [mamba](https://mamba.readthedocs.io/en/latest/index.html) to install and\nmanage these `conda` packages.\n\nHaving installed one of the suggested package managers, to create the\n`open-gira` conda environment:\n\n```bash\nmicromamba create -f environment.yml -y\n```\n\n#### MacOS\n\nOn MacOS with Apple silicon chips, the `osmium` and `osmium-tool` packages are\nnot yet available for the `osx-arm64` [conda\nsubdir](https://mamba.readthedocs.io/en/latest/advanced_usage/more_concepts.html#subdir),\nwhich is what Macs with silicon chips use by default.\n\nExplicitly set it to `osx-64` when creating the repo with mamba or conda:\n\n```\nmamba env create -f environment.yml --subdir osx-64\n```\n\nOr [build osmium and osmium-tool from source](https://github.com/osmcode/osmium-tool?tab=readme-ov-file#prerequisites).\n\nAnd to activate the environment:\n\n```bash\nmicromamba activate open-gira\n```\n\n### Pixi install\n\nAn alternative to `micromamba` or `mamba` is the `pixi` package manager. It can\nbuild from a lock file for more reproducible builds. Installation instructions\nfor `pixi` are [here](https://pixi.sh/dev/installation/).\n\nIt is possible to configure `pixi` to install environments in a global location\nusing\n[`detached-environments`](https://pixi.sh/latest/switching_from/conda/#global-environments).\nFor example, in some server/HPC filesystems, you may wish to ensure packages are\ninstalled in an SSD-backed $HOME directory.\n\n```bash\npixi config set detached-environments $HOME/.local/share/pixi_envs\n```\n\nTo install the `open-gira` environment using pixi, change directory to this one and then:\n\n```bash\npixi install\n```\n\nTo get a shell with this environment, run the following from this directory:\n\n```bash\npixi shell\n```\n\nTo keep the `environment.yml` in sync following `pixi` package updates:\n\n```bash\npixi workspace export conda-environment --name open-gira  \u003e environment.yml\n```\n\n### Utilities\n\n#### `wget`\n\nSome rules use the `wget` utility to download files.\n\nOn Linux or MacOS, you may already have the `wget` utility available. If not,\nit should be possible to install with your usual package manager (e.g. apt,\nMacPorts, brew), or else using micromamba:\n\n```bash\nmicromamba install wget\n```\n\nOn Windows, you may have it already if you have a MinGW or Cygwin installation.\nIf not, you can access binaries at [eternallybored.org](https://eternallybored.org/misc/wget/).\nDownload the standalone exe and place it for example in `C:\\Users\\username\\bin`\nor somewhere on your PATH.\n\n#### `exactextract`\n\n[`exactextract`](\u003c(https://github.com/isciences/exactextract)\u003e) is used for zonal\nstatistics in the tropical cyclones / electricity grid analysis. It is not\navailable via the `conda` package management ecosystem and so must be installed\nseparately. Please see [exactextract installation\ninstructions](https://isciences.github.io/exactextract/installation.html).\n\n#### `imagemagick`\n\n[`imagemagick`](https://imagemagick.org) is used for approximate comparison of\nimage files produced by the automated tests. Imagemagick is available for\n[download and installation](https://imagemagick.org/script/download.php). On\nLinux, it is likely available through your package manager. On Mac, run `brew\ninstall imagemagick`.\n\nYou are now ready to request result files, triggering analysis jobs in the\nprocess.\n\nNote that all subsequent commands given in the documentation assume that the\n`open-gira` environment is already activated.\n\n## Tests\n\nWorkflow steps are tested using small sample datasets.\n\nTo run the tests:\n\n```bash\npython -m pytest tests\n```\n\n## Usage\n\n`open-gira` is comprised of a set of `snakemake` rules which call scripts and\nlibrary code to request data, process it and produce results.\n\nThe key idea of `snakemake` is similar to `make` in that the workflow is\ndetermined from the end (the files users want) to the beginning (the files\nusers have, if any) by applying general rules with pattern matching on file and\nfolder names.\n\nA example invocation looks like:\n\n```bash\nsnakemake --cores 2 -- results/wales-latest_filter-road-primary/edges.gpq\n```\n\nHere, we ask `snakemake` to use up to 2 CPUs to produce a target file, in this\ncase, the edges of the Welsh road network. `snakemake` pattern matches\n`wales-latest` as the OSM dataset name and `road-primary` as the network\ntype we want to filter for, picking up the [filter expressions](https://docs.osmcode.org/osmium/latest/osmium-tags-filter.html#filter-expressions) as defined in `config/osm_filters/road-primary.txt`.\n\nTo check what work we're going to request before commencing, use the `-n` flag:\n\n```bash\nsnakemake -n --cores 2 -- results/wales-latest_filter-road-primary/edges.gpq\n```\n\nThis will explain which rules will be required to run to produce the target\nfile. It may be helpful to [visualise](https://snakemake.readthedocs.io/en/stable/executing/cli.html#visualization)\nwhich rules are expected to run, too.\n\nThe workflow configuration details are in `config/config.yml`. You can edit\nthis to set the target OSM infrastructure datasets, number of spatial slices, and\nhazard datasets.\n\nSee the [documentation](https://nismod.github.io/open-gira/)\nand [config/README.md](https://github.com/nismod/open-gira/blob/main/config/README.md)\nfor more details on usage in general and on configuration.\n\n## Development\n\n```bash\nblack .  # run black to autoformat Python files\nflake8 .  # run flake8 for further linting - prefer black styles if they conflict\n```\n\n## Documentation\n\nDocumentation is written using the [`mdbook`](https://rust-lang.github.io/mdBook/index.html)\nformat, using markdown files in the `./docs` directory.\n\nFollow the [installation instructions](https://rust-lang.github.io/mdBook/guide/installation.html)\nto get the `mdbook` command-line tool.\n\nTo build the docs locally:\n\n```bash\ncd docs\nmdbook build\nopen book/index.html\n```\n\nOr run `mdbook serve` to run a server and rebuild the docs as you make changes.\n\n## Related projects\n\nTwo libraries have been developed in tandem with `open-gira` and provide some\nkey functionality.\n\n### snail\n\nThe open-source Python library [snail](https://github.com/nismod/snail)\nis used for vector-raster intersection, e.g. identifying which road segments\nmight be affected by a set of flood map hazard rasters.\n\n### snkit\n\nThe [snkit](https://github.com/tomalrussell/snkit) library is used for\nnetwork cleaning and assembly.\n\n## Acknowledgments\n\nThis research received funding from the FCDO Climate Compatible Growth\nProgramme. The views expressed here do not necessarily reflect the UK\ngovernment's official policies.\n\nThis research has also been supported by funding from: the World Bank\nGroup; the UK Natural Environment Research Council (NERC) through\nthe UK Centre for Greening Finance and Investment (CGFI); and Global\nCenter on Adaptation (GCA).\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.14537079"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/192242","html_url":"https://ost.ecosyste.ms/projects/192242"}