plot_skill

Plot and compare OPM Flow summary metrics from .SMSPEC/.PRT data using Matplotlib.

4.1k|1.1k|Updated Oct 19, 2023
One-click install
npx skills add https://github.com/NVIDIA/GenerativeAIExamples --skill plot-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plot_skill
Source: https://github.com/NVIDIA/GenerativeAIExamples/tree/main/industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/plot_skill
Command: npx skills add https://github.com/NVIDIA/GenerativeAIExamples --skill plot-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, pydantic, langchain_core, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Visualize and compare OPM Flow simulation results by generating plots of key summary metrics, enabling rapid interpretation of production trends and scenario comparisons.

Core Features & Use Cases

  • Plot one or more summary metrics from .SMSPEC/.PRT data on a single figure.
  • Compare results across multiple cases with aligned axes for side-by-side analysis.
  • Auto-resolve common metric keywords from user requests and render clear, interpretable plots.

Quick Start

Plot the default summary metric from the first .SMSPEC in your output directory.

Frequently Asked Questions about plot_skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plot summary metrics from OPM Flow simulation outputs?

To plot summary metrics from OPM Flow outputs, this tool parses .SMSPEC and .PRT data using EclReader and renders production trends via Matplotlib. It supports single or multiple metrics and auto-resolves keywords from summary files.

Can I compare multiple simulation cases on aligned axes using Matplotlib?

You can compare multiple simulation cases using Matplotlib with aligned axes for side-by-side analysis. The tool plots one or more summary metrics per figure, enabling rapid interpretation of scenario performance across different cases.

Do I need EclReader to parse .SMSPEC and .PRT files for visualization?

Yes, EclReader is required to parse .SMSPEC and .PRT data files for visualization. The tool depends on this parser to extract summary metrics and auto-resolve common keywords from user requests before plotting with Matplotlib.

What is the best way to visualize production trends from OPM Flow summary files?

The best way to visualize production trends from OPM Flow summary files is by plotting default summary metrics from the first .SMSPEC in your output directory. The tool handles auto-resolution of keywords and renders clear, interpretable plots.

Why does my OPM Flow summary plot fail to generate?

Your OPM Flow summary plot may fail to generate due to parsing errors or missing data in the .SMSPEC or .PRT files. The tool provides error handling when plots cannot be generated, ensuring you are notified of issues.

Are there limitations when auto-resolving keywords from OPM Flow summary files?

When auto-resolving keywords from OPM Flow summary files, limitations may arise if requested metrics are not present in the .SMSPEC data. The tool relies on EclReader to find available keywords and will trigger error handling for unsupported metrics.