steadfastasart/geoscience-skills/lasio
Claude Code and agent skill by steadfastasart/geoscience-skills
- community
Checking that the SKILL.md file is still in the repository.
Read, write, and manipulate LAS (Log ASCII Standard) well log files for borehole geophysical and petrophysical data. Use when the agent needs to: (1) Read/parse LAS 1.2 or 2.0 files, (2) Extract well headers or curve data, (3) Convert LAS to DataFrame/CSV/Excel, (4) Create new LAS files from arrays, (5) Modify existing LAS files, (6) Handle problematic or malformed LAS files, (7) Batch process multiple well files.
Install
npx vskill@latest install steadfastasart/geoscience-skills/lasioSKILL.md
lasio - LAS Well Log Files
Quick Reference
Key Classes
| Class | Purpose | |
|---|---|---|
LASFile | Main container - holds headers, curves, data | |
CurveItem | Single curve with mnemonic, unit, data array | |
HeaderItem | Header entry (mnemonic, unit, value, descr) |
Essential Operations
Read and Inspect
Access Curve Data
Create New LAS
Modify Existing
Handle Problematic Files
Null Value Handling
LAS files use a specific null value (typically -999.25). Always check and handle:
Batch Processing
When to Use vs Alternatives
| Tool | Best For | |
|---|---|---|
| lasio | Direct LAS file I/O, header manipulation, format conversion | |
| welly | Higher-level well analysis, curve processing, multi-well projects | |
| dlisio | DLIS/RP66 binary format files (not LAS) |
Use lasio when you need low-level control over LAS file reading/writing, need to handle malformed files, or want to programmatically build LAS files.
Use welly instead when you need curve processing (despike, normalize), multi-well project management, or formation tops. Welly uses lasio internally.
Use dlisio instead when your data is in DLIS format. DLIS files are binary, support multi-frame data and array logs -- lasio cannot read them.
Common Workflows
Read, QC, and export well log data
Common Issues
| Issue | Solution | |
|---|---|---|
| Encoding errors | lasio.read(f, encoding='latin-1') | |
| Missing curves | Check las.curves.keys() first | |
| Header errors | Use ignore_header_errors=True | |
| Wrong null value | Check las.well['NULL'].value |
References
- [Curve Mnemonics](references/curve_mnemonics.md) - Standard curve names and units
- [Troubleshooting](references/troubleshooting.md) - Common problems and solutions
- [LAS File Structure](references/file_structure.md) - Detailed format specification
Scripts
- [scripts/validate_las.py](scripts/validate_las.py) - Validate LAS file format
- [scripts/las_to_csv.py](scripts/las_to_csv.py) - Convert LAS to CSV
- [scripts/merge_curves.py](scripts/merge_curves.py) - Merge curves from multiple files
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglasio/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/steadfastasart/geoscience-skills/lasio)