sodir-data-extractor
Extract and process Norwegian Petroleum Directorate field and production data from SODIR
Best use case
sodir-data-extractor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Extract and process Norwegian Petroleum Directorate field and production data from SODIR
Teams using sodir-data-extractor should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/sodir-data-extractor/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How sodir-data-extractor Compares
| Feature / Agent | sodir-data-extractor | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Extract and process Norwegian Petroleum Directorate field and production data from SODIR
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Sodir Data Extractor
## When to Use This Skill
Use this skill when you need to:
- Extract Norwegian continental shelf field data
- Query SODIR production statistics
- Compare Norwegian fields with GOM fields
- Build cross-basin analysis datasets
- Access historical NCS field performance
## Core Pattern
```python
"""
ABOUTME: Norwegian Petroleum Directorate (SODIR) data extraction
ABOUTME: Provides field and production data from the Norwegian Continental Shelf
"""
from dataclasses import dataclass
from typing import List, Optional
import requests
import pandas as pd
@dataclass
class SODIRField:
"""Norwegian field information."""
field_name: str
discovery_year: int
status: str # PRODUCING, SHUT DOWN, etc.
operator: str
area_name: str # Quadrant/block area
water_depth_m: float
recoverable_oil_mmbbl: float
recoverable_gas_bcm: float
*See sub-skills for full details.*
## YAML Configuration Template
```yaml
# config/input/sodir-extraction.yaml
metadata:
feature_name: "sodir-extraction"
created: "2025-01-15"
data_source:
type: "sodir"
cache_enabled: true
cache_ttl_days: 7
query:
fields:
- "JOHAN SVERDRUP"
- "TROLL"
- "EKOFISK"
status_filter: "PRODUCING"
start_year: 2015
end_year: null
output:
format: "csv"
path: "data/sodir/"
include_metadata: true
```
## CLI Usage
```bash
# Extract field list
python -m worldenergydata.sodir \
--action list-fields \
--status PRODUCING \
--output data/sodir/fields.csv
# Get production data
python -m worldenergydata.sodir \
--action production \
--field "JOHAN SVERDRUP" \
--start-year 2019 \
--output data/sodir/johan_sverdrup.csv
```
## Sub-Skills
- [Best Practices](best-practices/SKILL.md)Related Skills
data-validation-reporter
Generate interactive validation reports with quality scoring, missing data analysis, and type checking. Combines Pandas validation, Plotly visualization, and YAML configuration for comprehensive data quality reporting.
worldenergydata-source-readiness
Route agents to the canonical worldenergydata source-readiness skill and summary script. Use when asked for worldenergydata data completeness, data locations, latest known data dates, scheduler freshness, source-readiness status, or acceptance-criteria inputs across the repo ecosystem.
metocean-data-fetcher
Fetch real-time and historical metocean data from NDBC, CO-OPS, Open-Meteo, ERDDAP, and MET Norway. Use for buoy data retrieval, tidal observations, marine forecasts, and multi-source data fusion.
energy-data-visualizer
Interactive visualization for oil and gas production data analysis using Plotly dashboards
bsee-data-extractor
Extract and process BSEE (Bureau of Safety and Environmental Enforcement) data including production, WAR (Well Activity Reports), and APD (Application for Permit to Drill) data. Use for querying production data, well activities, drilling permits, completions, and workovers by API number, block, lease, or field with automatic data normalization and caching.
tax-return-data-capture-and-archival
Capture structured tax return summaries as YAML for year-over-year comparison, with fallback to manual PDF download and relocation when automation fails
repo-separation-for-sensitive-data
Architecture pattern for splitting confidential data and reusable algorithms across repos
metadata-only-wiki-sweep-workflow
Disciplined inventory process for cataloging documents by filename/path without content claims, using parent-centric grouping to prevent stub proliferation
metadata-only-inventory-sweep
Execute constrained file inventory sweeps with metadata-only stubs and validation, useful for staged documentation work on large file sets
handle-blocked-financial-sites-data-export
Workflow for extracting data from blocked financial sites when browser automation is restricted
financial-data-export-workflow
Structured process for exporting and analyzing multi-year brokerage transaction history when browser automation is blocked
extract-and-archive-tax-summary-data
Capture structured tax return summaries as YAML when PDF downloads are blocked or inaccessible