{"id":26690235,"url":"https://github.com/jsdhami/ghgplot","last_synced_at":"2026-01-22T07:03:56.019Z","repository":{"id":283986987,"uuid":"867955692","full_name":"jsdhami/ghgplot","owner":"jsdhami","description":"Greenhouse Gas Data Analysis with ghgplot","archived":false,"fork":false,"pushed_at":"2024-10-07T04:58:00.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T14:30:17.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vayu.jsdhami.com.np/","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/jsdhami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2024-10-05T05:11:11.000Z","updated_at":"2024-10-07T04:58:57.000Z","dependencies_parsed_at":"2025-03-23T14:31:15.087Z","dependency_job_id":null,"html_url":"https://github.com/jsdhami/ghgplot","commit_stats":null,"previous_names":["jsdhami/ghgplot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdhami%2Fghgplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdhami%2Fghgplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdhami%2Fghgplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdhami%2Fghgplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdhami","download_url":"https://codeload.github.com/jsdhami/ghgplot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248632523,"owners_count":21136702,"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":"2025-03-26T15:26:53.664Z","updated_at":"2026-01-22T07:03:50.993Z","avatar_url":"https://github.com/jsdhami.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Greenhouse Gas Data Analysis with `ghgplot`\n\nWelcome to the Greenhouse Gas Data Analysis project! This repository contains tools and scripts for analyzing greenhouse gas (GHG) data, including CO2 flux, CH4 and CO2 concentrations, and CO mixing ratios.\n\n## Table of Contents\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [CO2 Air-to-Sea Flux](#co2-air-to-sea-flux)\n  - [CH4 and CO2 Concentrations](#ch4-and-co2-concentrations)\n  - [CO Mixing Ratio](#co-mixing-ratio)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Introduction\nThis project leverages the `ghgplot` library to provide tools for analyzing various greenhouse gases. It includes functionalities for mapping areas of interest, comparing fluxes, and retrieving concentration data from different sources.\n\n## Features\n- **CO2 Air-to-Sea Flux Analysis**: Compare fluxes between different dates and locations.\n- **CH4 and CO2 Concentration Data**: Retrieve and visualize concentration data from NOAA Global Monitoring Laboratory.\n- **CO Mixing Ratio**: Analyze CO mixing ratios and surface temperatures from MOPITT data.\n\n## Installation\nTo get started, clone the repository and install the required dependencies:\n\n```bash\ngit clone https://github.com/jsdhami/ghgplot.git\ncd ghgplot\npip install -r requirements.txt\n```\n\n## Usage\n\n### CO2 Air-to-Sea Flux\n1. **Select Area of Interest**:\n   ```python\n   from ghgplot import co2\n   co2.aoimap(lat1,lon1,lat2,lon2,lat3,lon3,lat4,lon4)\n   ```\n\n2. **Compare Flux Between Dates**:\n   ```python\n   co2.flux(YYYYMM,YYYYMM,lat,lon)\n   ```\n\n3. **Print Flux Statistics**:\n   ```python\n   co2.print_stats(lat1,lon1,lat2,lon2,lat3,lon3,lat4,lon4,yyyymm)\n   ```\n\n### CH4 and CO2 Concentrations\n1. **Locate Site**:\n   ```python\n   from ghgplot import conc\n   conc.locate_site('site_code')\n   ```\n\n2. **Get CO2 Dataframe**:\n   ```python\n   conc.get_df_co2('site_code')\n   ```\n\n3. **Get CH4 Dataframe**:\n   ```python\n   conc.get_df_ch4('site_code')\n   ```\n\n4. **Plot CH4 Concentration**:\n   ```python\n   conc.get_ch4_plot('site_code')\n   ```\n\n5. **Plot CO2 Concentration**:\n   ```python\n   conc.get_co2_plot('site_code')\n   ```\n\n### CO Mixing Ratio\n1. **Get CO Dataframe**:\n   ```python\n   from ghgplot import co\n   co.get_df(year, month, day)\n   ```\n\n2. **Plot CO Mixing Ratio**:\n   ```python\n   co.get_plot(year, month, day, pressure, count)\n   ```\n\n3. **Plot Surface Temperature**:\n   ```python\n   co.get_plot_temp(year, month, day, count)\n   ```\n\n## Contributing\nWe welcome contributions!\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contact\nFor any questions or feedback, please contact us at [manish24864pande@gmail.com](mailto:manish24864pandey@gmail.com).\n```\n# SetUp Project\n\n# Install all Required packages\n```bash\npip install -r requirements.txt\n```\n\n# Make requirements.txt file\n```bash\npip freeze \u003e requirements.txt\n```\n# activate env\n```bash\nsource env/bin/activate\n``` window\nenv\\Scripts\\activate\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdhami%2Fghgplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdhami%2Fghgplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdhami%2Fghgplot/lists"}