{"id":13819375,"url":"https://github.com/ebimodeling/ghgvc","last_synced_at":"2025-05-16T04:33:48.679Z","repository":{"id":12310487,"uuid":"14943767","full_name":"ebimodeling/ghgvc","owner":"ebimodeling","description":"Ecosystem Climate Regulation Services Calculator","archived":false,"fork":false,"pushed_at":"2023-01-19T04:58:06.000Z","size":1159497,"stargazers_count":47,"open_issues_count":26,"forks_count":12,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-05-28T14:24:27.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.ecosystemservicescalc.org","language":"Ruby","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/ebimodeling.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}},"created_at":"2013-12-05T04:24:21.000Z","updated_at":"2024-01-25T19:08:59.000Z","dependencies_parsed_at":"2023-02-10T20:31:35.334Z","dependency_job_id":null,"html_url":"https://github.com/ebimodeling/ghgvc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebimodeling%2Fghgvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebimodeling%2Fghgvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebimodeling%2Fghgvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebimodeling%2Fghgvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebimodeling","download_url":"https://codeload.github.com/ebimodeling/ghgvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213893321,"owners_count":15653524,"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":[],"created_at":"2024-08-04T08:00:46.335Z","updated_at":"2024-08-04T08:02:10.794Z","avatar_url":"https://github.com/ebimodeling.png","language":"Ruby","funding_links":[],"categories":["Happy Exploring 🤘"],"sub_categories":[],"readme":"\n\n# Ecosystem Climate Regulation Services Calculator\n\nThis is the source code repository for the Ecosystem Climate Regulation\nServices Calculator. Contributions, comments, bug reports, and\nfeature requests are welcome!\n\n# Setup \u0026 Installation\n\nThis project uses Docker to manage dependencies.\n\n1. Install [Docker Community Edition](https://store.docker.com/search?offering=community\u0026type=edition) for your OS\n\n2. Clone the rails application:\n\n    git clone git@github.com:rubyforgood/ghgvc.git --depth 1 \u0026\u0026 cd ghgvc\n\n# Building \u0026 running the application\n\nEnsure Docker is running, the ghgvc app is cloned, and you've navigated to your ghgvc repo.\n\n1. Build Docker:\n\n    docker-compose build\n\n2. Download the required netcdf files\n\n    docker-compose run --rm ghgvcr ./download-netcdf.sh\n\n    \u003e This stores the netcdf data in a volume that will persist across containers\n\n3. Bundle install:\n\n    docker-compose run --rm app bundle\n\n    \u003e This stores the downloaded gems in a volume that will persist across containers\n\n4. Run the application:\n\n    docker-compose up app\n\n5. Navigate to http://localhost:3000/ in your web browser.\n\n  *  If clicking on the map does not return ecosystems, ensure that data was downloaded:\n\n  ```\ndocker-compose run --rm ghgvcr bash\ncd data\nls\n```\n  * This should show a file `name_indexed_ecosystems.json`, and two directories: `maps` and `netcdf`. If it is empty, try:\n  ```\n  docker-compose down # stop everything\n  docker-compose up get_data # should re-download \u0026 un-zip the data\n  ```\n  * If there is still an issue, try:\n  ```\n  docker-compose down # stop everything\n  docker-compose volume rm ghgvc_netcdf-data # removes the volume\n  docker-compose up get_data # should re-download \u0026 un-zip the data\n  ```\n  * `ghgvc_netcdf-data` name should be the name of the volume. If that command fails, try `docker volume ls` and look for one that matches on the netcdf-data\n   * If all of the above fails (if you can't force it to stop with docker-compose or docker commands), try restarting either docker or your machine (sometimes both; it usually means the container was put into a state that it shouldn't be).\n\n# Development \u0026 Test\n\n* Enter the Rails console:\n```\ndocker-compose run --rm app bin/rails c\n```\n* Run all tests:\n```\ndocker-compose run --rm app rspec\n```\n* Run a singular test:\n```\ndocker-compose run --rm app rspec spec/\u003ctest file path\u003e\n```\n\n# About the Ecosystem Climate Regulation Services Calculator\n\nEcosystems regulate climate through both greenhouse-gas exchange with\nthe atmosphere (biogeochemical mechanisms) and regulation of land\nsurface energy and water balances (biophysical mechanisms). The exchange\nof carbon dioxide (CO~2~) and other greenhouse gases (N~2~O, CH~4~)\nbetween ecosystems and the atmosphere influences climate. For example,\nforests remove CO~2~ from the atmosphere as they grow, croplands release\nthe potent greenhouse gas N~2~O as a byproduct of fertilization, and\ndeforestation releases large amounts of CO~2~ and other greenhouse\ngasses to the atmosphere. Beyond this, ecosystems also influence climate\nthrough absorption of incoming solar radiation (dependent upon their\nreflectivity, or *albedo*) and the transfer of heat by evaporation\n(latent heat flux-a process analogous to sweating). Efforts aimed at\nclimate change mitigation through land management quantify greenhouse\ngas exchange, but do not account for the biophysical exchanges, which in\nsome cases can be quite significant.\n\nRecently, researchers proposed an integrated index of the climate\nregulation value (CRV) of terrestrial ecosystems (Anderson-Teixeira *et\nal.*, 2012a; Hungate \u0026 Hampton, 2012), which combines a previous metric\nof the greenhouse gas value of ecosystems (GHGV; Anderson-Teixeira \u0026\nDeLucia, 2011) with biophysical climate regulation services to show the\nclimate regulation services of ecosystems in CO~2~ equivalents - a\ncommon currency for carbon accounting. This is the most comprehensive\nexisting metric of ecosystem climate regulation services, and it sets\nthe stage for thorough accounting of climate regulation services in\ninitiatives aimed at climate protection through land management\n(Anderson-Teixeira *et al.*, 2011; Hungate \u0026 Hampton, 2012).\n\nThe CRV calculator is a publically available web-based tool for\nestimating *CRV* (or *GHGV*) for ecosystems globally. It uses global\nmaps of climatically significant ecosystem properties (for example,\nbiomass, soil carbon, biophysical services) to provide location-specific\nCRV estimates.\n\n# Applications\n\nThe Ecosystem Climate Regulation Services Calculator has potential\napplications in a variety of fields. Below are some examples.\n\n## Conservation\n\nThis calculator can be used to determine which areas of potential\nconservation interest are the most beneficial in terms of their net\neffect on the climate. This information can then be used to help make\nland conservation decisions and inform the general public about the\nclimate benefits of conserving lands.\n\n## Sustainability Science\n\nThe calculator can be used to evaluate the climate consequences of\nvarious land use decisions. For instance, the calculator can be used to\nevaluate the impacts of various bioenergy production strategies\n(Anderson-Teixeira *et al.*, 2012b; Buckeridge *et al.*, 2012). It could\nalso be used in determining the value of land when designing\ninfrastructure projects, such as dams or highways.\n\n## Education\n\nThe calculator can be used to educate students or the general public\nabout the climate regulation services of ecosystems around the globe.\nFor example, by using the calculator to research ecosystems in areas\nwhere land use change is occurring, students will gain a greater\nunderstanding of the issues surrounding land use and conservation\ndecisions. They can also use the calculator to learn more about the\nlocal ecosystems with which they are familiar.\n\n## Business\n\nIncreasing public interest in sustainable business practices creates a\nneed for conscientious businesses to evaluate the climate impact of\nbusiness decisions, including those that affect land use patterns. For\nexample, the calculator might be used to evaluate the climate impacts of\nland use change related to bioenergy production.\n\n## Policy\n\nPolicy decisions regarding the conservation of domestic lands or those\naffecting international land use patterns can benefit from the most\ncomplete information possible regarding the impact of those decisions on\nclimate. Policies aimed at climate protection through land management,\nincluding REDD+ and bioenergy sustainability standards, account for\ngreenhouse gasses but not for biophysical processes that can sometimes\noutweigh greenhouse gas effects (Anderson-Teixeira *et al.*, 2011,\n2012a). This calculator incorporates both greenhouse gases and\nbiophysical climate regulation services, thereby providing a better\nunderstanding of the climate impacts of various policies.\n\n## Further Reading\n\nAnderson-Teixeira KJ, Snyder PK, DeLucia EH (2011) Do biofuels life\ncycle analyses accurately quantify the climate impacts of\nbiofuels-related land use change? *Illinois Law Review*, 2011, 589-622.\n\nAnderson-Teixeira KJ, Snyder PK, Twine TE, Cuadra SV, Costa MH, DeLucia\nEH (2012a) Climate-regulation services of natural and agricultural\necoregions of the Americas. *Nature Climate Change*, 2, 177-181.\n\nAnderson-Teixeira KJ, Duval BD, Long SP, DeLucia EH (2012b) Biofuels on\nthe landscape: Is land sharing? preferable to land sparing? *Ecological\nApplications*, 22, 2035-2048.\n\nAnderson-Teixeira KJ, DeLucia EH (2011) The greenhouse gas value of\necosystems. *Global Change Biology*, 17, 425-438.\n\nBuckeridge MS, Souza AP, Arundale RA, Anderson-Teixeira KJ, DeLucia E\n(2012) Ethanol from sugarcane in Brazil: a \"midway\"? strategy for\nincreasing ethanol production while maximizing environmental benefits.\n*GCB Bioenergy*, 4, 119-126.\n\nHungate BA, Hampton HM (2012) Ecosystem services: Valuing ecosystems for\nclimate. *Nature Climate Change*, 2, 151-152.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febimodeling%2Fghgvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febimodeling%2Fghgvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febimodeling%2Fghgvc/lists"}