equinor / equinor/ccs-scripts

CO2Leakage: Print warning when CSV files are inconsistent

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2
Forks
2
Avg merge
5d 23h
Merged PRs (30d)
2

Description

We have one CSV-file for co2 mass and one for co2 volume. If these are inconsistent, various problems can occur in CO2Leakage. For instance, if the volume file has multiple plume groups (not just "All"), while the mass file doesn't, we still show the option of "Plume group" for co2 mass (for coloring, marking or filtering). We will probably get similar errors if there is a difference "Zones" or "Regions" as well.

**Solution:**
Check that the two files are consistent. If not, print a warning.
See comment in https://github.com/equinor/ccs-scripts/issues/213#issuecomment-2552962224

Possible future issue: Handle the inconsistency. For the example above: allow the option of "Plume group" for co2 volume, but not for co2 mass.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.