P0 - ml_porosity/: survey geometry, LAS/TDR/SEG-Y readers (4 ms delay fix, invalid time scalar, header LUT for incomplete cubes), anti-aliased log-to-time resampling, CNN-GRU v2 with the thesis loss, 41+ unit tests. - Full F3 Demo 2023 under data/ (text well/fault files tracked, bulk data ignored); the filtered copy and its cleanup notes are removed. - SHA-256 manifests for F3, Volve, NLOG and the thesis outputs. P1 - configs/protocol.yaml v2, locked by SHA-256 at 2026-10-26T04:28:09Z, before the first LOWO run (04:30:50Z); 05_lowo.py refuses to run on a hash mismatch. This commit postdates the runs. - Wavelet/synthetic tie QC, residual misregistration, LOWO 5 seeds for B0a, B0b, B1, B2, B3a, B3b (scripts 04-06); gate G-A: no pivot. - Volve D3: horizons, well picks, checkshots and the ST10010 cube read from data/Volve (scripts/07). - D-1 label check against measured NLOG density (scripts/08): PHIE_DT stays the primary label. - docs/plan.md, Volve and NLOG inventories, report.html. Full-text reference PDFs in refs/ stay local (ignored). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.4 KiB
Python
43 lines
1.4 KiB
Python
"""Đường dẫn dự án. Không có đường dẫn tuyệt đối: mọi thứ tính từ gốc repo
|
|
hoặc từ biến môi trường ML_POROSITY_F3_ROOT / ML_POROSITY_VOLVE_ROOT / ML_POROSITY_NLOG_ROOT / ML_POROSITY_OUTPUTS."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import os
|
|
from pathlib import Path
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[1]
|
|
|
|
|
|
def f3_root() -> Path:
|
|
"""Thư mục survey F3 (chứa `.survey`)."""
|
|
env = os.environ.get("ML_POROSITY_F3_ROOT")
|
|
return Path(env) if env else REPO_ROOT / "data" / "F3_Demo_2023" / "F3_Demo_2023"
|
|
|
|
|
|
def f3_wells_dir() -> Path:
|
|
return f3_root() / "Rawdata" / "Well_data" / "All_wells_RawData" / "All_wells_RawData"
|
|
|
|
|
|
def f3_segy() -> Path:
|
|
return f3_root() / "Rawdata" / "F3_entire.segy"
|
|
|
|
|
|
def volve_root() -> Path:
|
|
"""Thư mục Volve tải từ data village (Geophysical_Interpretations/, Seismic/, ...)."""
|
|
env = os.environ.get("ML_POROSITY_VOLVE_ROOT")
|
|
return Path(env) if env else REPO_ROOT / "data" / "Volve"
|
|
|
|
|
|
def nlog_root() -> Path:
|
|
"""LAS và TD công khai của NLOG cho các giếng F3 (tải theo docs/research/f3-nlog-inventory.xlsx)."""
|
|
env = os.environ.get("ML_POROSITY_NLOG_ROOT")
|
|
return Path(env) if env else REPO_ROOT / "data" / "NLOG"
|
|
|
|
|
|
def outputs_dir() -> Path:
|
|
env = os.environ.get("ML_POROSITY_OUTPUTS")
|
|
p = Path(env) if env else REPO_ROOT / "outputs"
|
|
p.mkdir(parents=True, exist_ok=True)
|
|
return p
|