{"id":27812,"library":"ghgforcing","title":"ghgforcing","description":"ghgforcing calculates the radiative forcing resulting from greenhouse gas emissions, following the IPCC AR5 method. Version 0.1.7.1 is the latest. Release cadence is low; library is in maintenance mode with no active development.","status":"active","version":"0.1.7.1","language":"python","source_language":"en","source_url":"https://github.com/gschivley/ghgforcing","tags":["radiative forcing","greenhouse gas","climate","IPCC","AR5"],"install":[{"cmd":"pip install ghgforcing","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Numerical operations","package":"numpy","optional":false}],"imports":[{"wrong":"import ghgforcing","symbol":"ghgforcing","correct":"import ghgforcing"}],"quickstart":{"code":"import ghgforcing\n\n# Define emissions in metric tons CO2 equivalent\nemissions = {'CO2': 1000, 'CH4': 10, 'N2O': 1}\n\n# Calculate radiative forcing (W/m^2) for a 20-year time horizon\nrf = ghgforcing.calculate_radiative_forcing(emissions, time_horizon=20)\nprint(rf)","lang":"python","description":"Calculate radiative forcing for a set of GHG emissions using IPCC AR5 methods."},"warnings":[{"fix":"Use only 20, 100, or 500 as the time_horizon parameter.","message":"Time horizon must be one of 20, 100, or 500. Other values may raise errors or produce incorrect results.","severity":"gotcha","affected_versions":"all"},{"fix":"Use keyword argument 'emissions' instead of 'ghg'.","message":"The 'ghg' parameter name changed from 'ghg' to 'emissions' in version 0.1.6. Old code using ghg=... will raise TypeError.","severity":"deprecated","affected_versions":">=0.1.6"},{"fix":"Check the list of accepted species in the documentation or source code.","message":"Emissions dictionary keys must match exact IPCC compound names (e.g., 'CO2', 'CH4', 'N2O', 'SF6', 'CF4', etc.). Misspellings or alternative abbreviations (e.g., 'CO2e') are ignored silently.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.1.7.1':18 'activ':33 'ar5':15,41 'cadenc':23 'calcul':3 'climat':39 'develop':34 'emiss':11 'follow':12 'forc':6,36 'gas':10,38 'ghgforc':1,2 'greenhous':9,37 'ipcc':14,40 'latest':21 'librari':26 'low':25 'mainten':29 'method':16 'mode':30 'radiat':5,35 'releas':22 'result':7 'version':17","created_at":"2026-05-09T05:52:12.893037+00:00","updated_at":"2026-05-09T05:52:12.893037+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpxt_gmepo/venv/lib/python3.12/site-packages/ghgforcing/__init__.py\", line 3, in <module>\n    from .ghgforcing import *\n  File \"/tmp/tmpxt_gmepo/venv/lib/python3.12/site-packages/ghgforcing/ghgforcing.py\", line 5"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/gschivley/ghgforcing","docs":null,"changelog":null,"pypi":"https://pypi.org/project/ghgforcing/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}