Skip to content

Add rule to process raw CO2Stop data#1606

Merged
fneum merged 6 commits intomasterfrom
raw-co2-storage-pot
Mar 24, 2025
Merged

Add rule to process raw CO2Stop data#1606
fneum merged 6 commits intomasterfrom
raw-co2-storage-pot

Conversation

@fneum
Copy link
Copy Markdown
Member

@fneum fneum commented Mar 24, 2025

Closes #585.

Changes proposed in this Pull Request

Integrates cleaned-up code from https://github.com/ericzhou571/Co2Storage.

Checklist

  • I tested my contribution locally and it works as intended.
  • Code and workflow changes are sufficiently documented.
  • Changed dependencies are added to envs/environment.yaml.
  • Changes in configuration options are added in config/config.default.yaml.
  • Changes in configuration options are documented in doc/configtables/*.csv.
  • Sources of newly added data are documented in doc/data_sources.rst.
  • A release note doc/release_notes.rst is added.

@fneum fneum requested a review from Copilot March 24, 2025 10:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR integrates cleaned-up code from an external repository to process raw CO2Stop data and build regionalized geological sequestration potential maps for carbon dioxide.

  • Introduces functions to handle 3D-to-2D conversion of geometries, build separate capacity maps for storage and traps, and merge these maps.
  • Implements data processing routines including grouping, merging, and aggregating data from various CSV inputs.
Files not reviewed (6)
  • doc/data-retrieval.rst: Language not supported
  • doc/release_notes.rst: Language not supported
  • doc/retrieve.rst: Language not supported
  • doc/sector.rst: Language not supported
  • rules/build_sector.smk: Language not supported
  • rules/retrieve.smk: Language not supported
Comments suppressed due to low confidence (1)

scripts/build_co2_sequestration_potentials.py:299

  • [nitpick] The argument passed to mock_snakemake ('build_co2_storage') does not match the file's context 'build_co2_sequestration_potentials'; consider updating it for consistency.
        snakemake = mock_snakemake("build_co2_storage")

@fneum fneum mentioned this pull request Mar 24, 2025
3 tasks
@fneum fneum merged commit b9fe6ee into master Mar 24, 2025
12 checks passed
@fneum fneum deleted the raw-co2-storage-pot branch March 24, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add rule building regional CO2 sequestration potentials

2 participants