How asergion/plotfuncao.py works
lasviewer is a Streamlit LAS-file viewer and indexer. A user can load LAS data directly or view an indexed dataset; indexing parses the file, derives curve metadata and statistics, and writes Parquet plus JSON metadata. The app supports curve plots, crossplots, histograms, and comparison of curves across two wells. For indexed viewing, it reads selected curves from Parquet before plotting. The app excerpt is partial, so some UI-to-indexing links are unverified; those are marked dashed.
Main entry points: app.py Viewer UI · las_indexer.py LAS indexer · analysis.py Curve analysis · las_parser.py LAS parser
Components 8
Streamlit app
- Viewer UI
app.py
LAS indexing
- LAS indexer
src/las_indexer.py - LAS parser
src/las_parser.py
Analysis and plots
- Curve analysis
src/analysis.py - Plot generation
src/plotting.py
Indexed data
- Parquet access
src/parquet_store.py - Parquet and metadata files
src/las_indexer.py
Other components
- User
Connections 8
- User → Viewer UI: uses
README.md - Viewer UI → LAS indexer: starts indexing
app.py - LAS indexer → LAS parser: parses LAS
src/las_indexer.py - LAS indexer → Curve analysis: computes statistics
src/las_indexer.py - LAS indexer → Parquet and metadata files: writes files
src/las_indexer.py - Viewer UI → Parquet access: reads selected curves
app.py - Viewer UI → Plot generation: renders plots
app.py - Viewer UI → Curve analysis: compares wells
app.py