Skip to content
Back to skills

Network Io Data

ASecurity

"Load, save, and validate PyPSA networks across CSV folders,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
dataapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill network-io-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Network Io Data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Network Io Data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-network-io-data/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-network-io-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: network-io-data
description: "Load, save, and validate PyPSA networks across CSV folders,
  netCDF, HDF5, Excel, cloud paths, and external import converters."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Network I/O and Data Formats

Use this sub-skill for PyPSA tasks that import, export, repair, or round-trip network data and example-network loads.

## Use when
- `Network(import_name=...)` must load from a CSV folder, netCDF, HDF5, Excel file, URL, or cloud URI.
- You need `import_from_*` or `export_to_*` format guidance.
- You need CSV folder layout, netCDF, HDF5, Excel, cloud object storage, or external converter behavior.
- You need example-network cache or download behavior.

## Do not use for
- Component meaning, schema design, or network assembly details; use [`../network-modeling/SKILL.md`](../network-modeling/SKILL.md).
- Optimization or power-flow after loading; use [`../optimization-powerflow/SKILL.md`](../optimization-powerflow/SKILL.md).
- Statistics, plotting, or clustering on loaded networks; use [`../analysis-visualization/SKILL.md`](../analysis-visualization/SKILL.md).

## Start here
1. Read [`references/data-formats.md`](references/data-formats.md) for supported formats, file layouts, and format choice rules.
2. Read [`references/import-export-workflows.md`](references/import-export-workflows.md) for load/save/repair/round-trip workflows.
3. Read [`references/optional-io-dependencies.md`](references/optional-io-dependencies.md) before using HDF5, Excel, cloud paths, or external converters.
4. Read [`references/troubleshooting.md`](references/troubleshooting.md) for layout, dependency, version, cache, and converter failures.
5. Run [`scripts/pypsa_io_roundtrip_smoke.py`](scripts/pypsa_io_roundtrip_smoke.py) to check tiny CSV and netCDF round-trips.

## Primary API surface
- `pypsa.Network(import_name=...)`
- `Network.import_from_csv_folder(...)` / `export_to_csv_folder(...)`
- `Network.import_from_netcdf(...)` / `export_to_netcdf(...)`
- `Network.import_from_hdf5(...)` / `export_to_hdf5(...)`
- `Network.import_from_excel(...)` / `export_to_excel(...)`
- `Network.import_from_pypower_ppc(...)`
- `Network.import_from_pandapower_net(...)`
- `pypsa.examples.<name>()` and `pypsa.examples.clear_cache()`

## Validation hints
- Prefer netCDF for large or solved networks.
- Use CSV when you need a human-readable folder layout or folder-based cloud storage.
- Validate a round-trip with a fresh `Network` and `equals(...)`, then confirm snapshots, meta, and CRS if relevant.
- If a format is unavailable, fall back to CSV or netCDF and explain the missing optional dependency.

Files in this skill

  • SKILL.md2.6 KB
  • references/data-formats.md7 KB
  • references/import-export-workflows.md3.8 KB
  • references/optional-io-dependencies.md2 KB
  • references/troubleshooting.md3.5 KB
  • scripts/pypsa_io_roundtrip_smoke.py4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.