{"id":1004,"name":"CWatM","description":"Assess water supply, water demand and environmental needs at global and regional level.","url":"https://github.com/iiasa/CWatM","last_synced_at":"2026-04-16T06:30:28.830Z","repository":{"id":47143223,"uuid":"320260835","full_name":"iiasa/CWatM","owner":"iiasa","description":"Community Water Model (CWatM) is a hydrological model simulating the water cycle daily at global and local levels, historically and into the future, maintained by IIASA’s Water Security group","archived":false,"fork":false,"pushed_at":"2026-03-18T12:34:21.000Z","size":279803,"stargazers_count":92,"open_issues_count":10,"forks_count":64,"subscribers_count":14,"default_branch":"main","last_synced_at":"2026-03-28T02:34:56.483Z","etag":null,"topics":["climate-change","hydrogeology","hydrological","hydrological-model","hydrological-modelling","hydrology","water-security"],"latest_commit_sha":null,"homepage":"https://cwatm.iiasa.ac.at","language":"Jupyter Notebook","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/iiasa.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":"2020-12-10T12:08:17.000Z","updated_at":"2026-03-27T19:10:56.000Z","dependencies_parsed_at":"2024-05-02T05:09:46.642Z","dependency_job_id":"144bc60c-3c79-4680-a157-73cff271489b","html_url":"https://github.com/iiasa/CWatM","commit_stats":{"total_commits":549,"total_committers":13,"mean_commits":42.23076923076923,"dds":0.5537340619307832,"last_synced_commit":"31ed493131202c16483a02a7192411fc78d76342"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/iiasa/CWatM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iiasa","download_url":"https://codeload.github.com/iiasa/CWatM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31258770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T18:32:52.363Z","status":"ssl_error","status_checked_at":"2026-03-31T18:32:51.507Z","response_time":111,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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"}},"owner":{"login":"iiasa","name":"IIASA","uuid":"15230149","kind":"organization","description":"International Institute for Applied Systems Analysis","email":"github-owners@iiasa.ac.at","website":"https://www.iiasa.ac.at","location":"Laxenburg, Austria","twitter":"IIASAVienna","company":null,"icon_url":"https://avatars.githubusercontent.com/u/15230149?v=4","repositories_count":128,"last_synced_at":"2024-04-16T01:17:07.573Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/iiasa","funding_links":[],"total_stars":510,"followers":116,"following":0,"created_at":"2022-11-11T19:41:36.337Z","updated_at":"2024-04-16T01:17:55.524Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iiasa","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iiasa/repositories"},"packages":[],"commits":{"id":1254536,"full_name":"iiasa/CWatM","default_branch":"main","total_commits":615,"total_committers":14,"total_bot_commits":14,"total_bot_committers":1,"mean_commits":43.92857142857143,"dds":0.5398373983739837,"past_year_total_commits":52,"past_year_total_committers":4,"past_year_total_bot_commits":14,"past_year_total_bot_committers":1,"past_year_mean_commits":13.0,"past_year_dds":0.3653846153846154,"last_synced_at":"2026-04-09T03:16:49.718Z","last_synced_commit":"368c75c1a9203247012ec696cf8fd7b4590519cc","created_at":"2023-03-27T11:49:34.380Z","updated_at":"2026-04-09T03:15:22.406Z","committers":[{"name":"Peter Burek","email":"burek@iiasa.ac.at","login":"PeterBurek","count":283},{"name":"Mikhail Smilovic","email":"mikhail.smilovic@gmail.com","login":"mikhailsmilovic","count":209},{"name":"Jens de Bruijn","email":"j.a.debruijn@outlook.com","login":"jensdebruijn","count":42},{"name":"Dor Fridman","email":"dof1985@gmail.com","login":"dof1985","count":19},{"name":"Sarah Hanus","email":"50082003+sarah-hanus","login":"sarah-hanus","count":17},{"name":"github-actions[bot]","email":"41898282+github-actions[bot]","login":"github-actions[bot]","count":14},{"name":"Luca Guillaumot","email":"61837419+guillaumot","login":"guillaumot","count":10},{"name":"Unknown","email":"yusuke.s.61@gmail.com","login":"yusuke61","count":6},{"name":"politti","email":"politti@nb-politti","login":null,"count":5},{"name":"Yuancheng Xu","email":"134045269+YuanchengXu2718","login":"YuanchengXu2718","count":3},{"name":"EmilioMariaNP","email":"politti@iiasa.ac.at","login":"EmilioMariaNP","count":3},{"name":"David Haro Monteagudo","email":"david.haro.monteagudo@gmail.com","login":"dharomonteagudo","count":2},{"name":"jefe23","email":"124675057+jefe23","login":"jefe23","count":1},{"name":"Silvia","email":"artuso@iiasa.ac.at","login":"SilArt1","count":1}],"past_year_committers":[{"name":"Peter Burek","email":"burek@iiasa.ac.at","login":"PeterBurek","count":33},{"name":"github-actions[bot]","email":"41898282+github-actions[bot]","login":"github-actions[bot]","count":14},{"name":"Dor Fridman","email":"dof1985@gmail.com","login":"dof1985","count":4},{"name":"Mikhail Smilovic","email":"mikhail.smilovic@gmail.com","login":"mikhailsmilovic","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-09T00:00:23.197Z","repositories_count":6212536,"commits_count":905826571,"contributors_count":34964850,"owners_count":1143533,"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":"iiasa/CWatM","html_url":"https://github.com/iiasa/CWatM","last_synced_at":"2026-03-19T17:02:55.760Z","status":"active","issues_count":18,"pull_requests_count":56,"avg_time_to_close_issue":26273408.125,"avg_time_to_close_pull_request":2320360.611111111,"issues_closed_count":8,"pull_requests_closed_count":53,"pull_request_authors_count":16,"issue_authors_count":16,"avg_comments_per_issue":0.8888888888888888,"avg_comments_per_pull_request":0.30357142857142855,"merged_pull_requests_count":42,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":5,"past_year_pull_requests_count":5,"past_year_avg_time_to_close_issue":2235005.0,"past_year_avg_time_to_close_pull_request":2843402.25,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":4,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":0.4,"past_year_avg_comments_per_pull_request":0.2,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":2,"created_at":"2023-05-09T10:37:33.317Z","updated_at":"2026-03-19T17:02:55.760Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/iiasa%2FCWatM/issues","issue_labels_count":{"good first issue":1},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":14,"CONTRIBUTOR":3,"COLLABORATOR":1},"pull_request_author_associations_count":{"COLLABORATOR":21,"NONE":19,"CONTRIBUTOR":16},"issue_authors":{"abbylute":2,"Defeng-Wu":2,"CWatM":1,"jensdebruijn":1,"mikhailsmilovic":1,"peterthomassen":1,"dingxinjun":1,"adeel20112709":1,"c-conboy":1,"ylbestwishes":1,"mahdimohammadnezhad":1,"moritzshore":1,"Nafn84":1,"kkcai-PKU":1,"Supsa":1,"maharikundira":1},"pull_request_authors":{"mikhailsmilovic":21,"dof1985":10,"PeterBurek":3,"aranhax":3,"mrranjbari":2,"pitmonticone":2,"jefe23":2,"rshresth1":2,"EmilioMariaNP":2,"YuanchengXu2718":2,"sarah-hanus":2,"github-actions[bot]":1,"Hirsch1001":1,"dharomonteagudo":1,"c-conboy":1,"SilArt1":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-27T00:00:09.101Z","repositories_count":13948711,"issues_count":34632817,"pull_requests_count":113273202,"authors_count":11210944,"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":{"NONE":4},"past_year_pull_request_author_associations_count":{"NONE":3,"CONTRIBUTOR":2},"past_year_issue_authors":{"c-conboy":1,"kkcai-PKU":1,"mahdimohammadnezhad":1,"Supsa":1},"past_year_pull_request_authors":{"PeterBurek":2,"aranhax":1,"c-conboy":1,"github-actions[bot]":1},"maintainers":[{"login":"mikhailsmilovic","count":22,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mikhailsmilovic"}],"active_maintainers":[]},"events":{"total":{"PullRequestEvent":5,"ForkEvent":10,"DiscussionEvent":1,"IssuesEvent":6,"WatchEvent":15,"IssueCommentEvent":2,"PushEvent":61},"last_year":{"PullRequestEvent":5,"ForkEvent":6,"DiscussionEvent":1,"IssuesEvent":2,"WatchEvent":8,"PushEvent":47}},"keywords":["climate-change","hydrogeology","hydrological","hydrological-model","hydrological-modelling","hydrology","water-security"],"dependencies":[{"ecosystem":"pypi","filepath":"Toolkit/documentation/requirements.txt","sha":null,"kind":"manifest","created_at":"2023-09-21T19:46:11.422Z","updated_at":"2023-09-21T19:46:11.422Z","repository_link":"https://github.com/iiasa/CWatM/blob/main/Toolkit/documentation/requirements.txt","dependencies":[{"id":13856879388,"package_name":"sphinx","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":13856879389,"package_name":"graphviz","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2024-03-17T06:21:45.390Z","updated_at":"2024-03-17T06:21:45.390Z","repository_link":"https://github.com/iiasa/CWatM/blob/main/requirements.txt","dependencies":[{"id":16865928928,"package_name":"numpy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928929,"package_name":"scipy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928930,"package_name":"netCDF4","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928931,"package_name":"gdal","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928932,"package_name":"flopy3.3.2","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928933,"package_name":"xmipy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928934,"package_name":"Python3.8","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928936,"package_name":"ModFlow6dll","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2024-03-17T06:21:47.080Z","updated_at":"2024-03-17T06:21:47.080Z","repository_link":"https://github.com/iiasa/CWatM/blob/main/setup.py","dependencies":[{"id":16865928942,"package_name":"numpy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928943,"package_name":"scipy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928944,"package_name":"netCDF4","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928945,"package_name":"gdal","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928946,"package_name":"pyflow","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928952,"package_name":"pytest","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":16865928953,"package_name":"pytest-html","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]}],"score":7.264030142899529,"created_at":"2023-09-11T11:54:36.634Z","updated_at":"2026-04-16T06:30:28.862Z","avatar_url":"https://github.com/iiasa.png","language":"Jupyter Notebook","category":"Natural Resources","sub_category":"Water Supply and Quality","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"# Community Water Model (CWatM)\n\n[![latest](https://img.shields.io/github/last-commit/iiasa/CWatM)](https://github.com/iiasa/CWatM)\n[![license](https://img.shields.io/github/license/iiasa/CWatM?color=1)](https://github.com/iiasa/CWatM/blob/version1.05/LICENSE)\n[![python](https://img.shields.io/badge/python-3.7_|_3.8_|_3.9_|_3.10|_3.11-blue?logo=python\u0026logoColor=white)](https://github.com/iiasa/CWatM)\n[![pytest](https://github.com/IAMconsortium/pyam/actions/workflows/pytest.yml/badge.svg)](https://github.com/iiasa/CWatM)\n[![codecov](https://codecov.io/gh/iiasa/CWATM_priv/branch/develop/graph/badge.svg?token=6HENTZM7SC)](https://codecov.io/gh/iiasa/CWATM_priv)\n[![size](https://img.shields.io/github/repo-size/iiasa/CWatM)](https://github.com/iiasa/CWatM)\n[![ReadTheDocs](https://readthedocs.org/projects/pyam-iamc/badge/?version=latest)](https://cwatm.iiasa.ac.at/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3528097.svg)](https://doi.org/10.5281/zenodo.3528097)\n\n\nUser manual and model documentation at [https://cwatm.iiasa.ac.at](https://cwatm.iiasa.ac.at).\n\nQuestions? Start a discussion on our [GitHub forum](https://github.com/iiasa/CWatM/discussions) and \ncheck out our [CWatM tutorials on YouTube](https://www.youtube.com/playlist?list=PLyT8dd_rWLaymQIewMyzVcjMYvPR8Rqtw).\n\nOur repository [CWatM-Earth-30min](https://github.com/iiasa/CWatM-Earth-30min) contains input data for CWatM at 30 arcminutes and further links to climate and higher resolution input data.\n\n\n## Overview and scope\n\nCommunity Water Model (CWatM) is a hydrological model simulating the water cycle daily at global and local levels, historically and into the future, maintained by IIASA’s Water Security group. CWatM assesses water supply, demand, and environmental needs, including water management and human influence within the water cycle. CWatM includes an accounting of how future water demands will evolve in response to socioeconomic change and how water availability will change in response to climate and management.\n\nCWatM is open source, and its modular structure facilitates integration with other models. CWatM will be a basis to develop next-generation global hydro-economic modelling coupled with existing IIASA models like MESSAGE and GLOBIOM.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Toolkit/documentation/_static/CWatM_logo.png\" width=\"200\" title=\"CWatM\"\u003e\n\u003c/p\u003e\n\n\n## Model design and processes included\n\nModules for hydrological processes, e.g. snow, soil, groundwater, lakes \u0026 reservoirs, evaporation, etc., are in the folder hydrological_modules. The kinematic routing and the C++ routines (for speeding up the computational time) are in the folder hydrological_modules/routing_reservoirs.\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Toolkit/documentation/_static/Hydrological-model2.jpg\" width=\"450\" title=\"Schematic view of processes\"\u003e\n\u003c/p\u003e\nFigure 1: Schematic view of CWatM processes\n\n## Next-generation global hydro-economic modelling framework\n\nCWatM will help to develop a next-generation hydro-economic modelling tool that represents the economic trade-offs among water supply technologies and demands.  The tool will track water use from all sectors and identify the least-cost solutions for meeting future water demands under policy constraints.  In addition, the tool will track the energy requirements associated with the water supply system (e.g., desalination and water conveyance) to facilitate linking with the energy-economic tool. The tool will also incorporate environmental flow requirements to ensure sufficient water for environmental needs.\n\n## The Nexus framework of IIASA\n\nIn the nexus framework of water, energy, food, and ecosystem, CWatM will be coupled to the existing IIASA models, including the Integrated Assessment Model MESSAGE and the global land and ecosystem model GLOBIOM to realize improved assessments of water-energy-food-ecosystem nexus and associated feedback.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"Toolkit/documentation/_static/nexus.jpg\" width=\"350\" title=\"IIASA nexus\"\u003e\n\u003c/p\u003e\nFigure 2: IIASA model nexus\n\n\n## Short to medium-term vision\n\nOur vision for short to medium-term work is to refine the human influence within the water cycle, integrate biodiversity, introduce water quality (e.g., salinization in deltas and eutrophication associated with megacities), and consider qualitative and quantitative measures of transboundary river and groundwater governance into an integrated modelling framework.\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.3528097"],"works":{"https://doi.org/10.5281/zenodo.3528097":null},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["control","routing","virtual","transform","crop","report","simulations","unitful","interpreter","weighted"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/1004","html_url":"https://ost.ecosyste.ms/projects/1004"}