Videx 井日志
Videx Well Log是用于提供交互式井日志可视化的TypeScript库.
它提供可堆叠的UI容器,轨迹,地块和比例处理器,可以合并来构建特定域的井日志视图.

安装
npm install @equinor/videx-wellog
发展
安装依赖性 :
npm install
构建库输出 :
npm run build
运行测试 :
npm test
运行林入 :
npm run lint
以文件监视运行 :
npm run start
生成类型文件到 ./docs数字 :
npm run docs
故事书
# from root:
npm run storybook:install
npm run storybook
音轨
轨迹是井日志容器中添加的组件. 轨道负责对其容器提供的生命周期事件作出反应.
发行轨迹
DistributionTrack 将数据构成(连续或离散)沿深度可视化,可选插入模式.
配置
样本配置对象 :
{
label: 'Distribution',
abbr: 'Dst',
data: [
{
"depth": 1,
"composition": [
{ "key": "carbonate", "value": 80.00 },
{ "key": "shale", "value": 20.00 }
]
},
{
"depth": 2,
"composition": [
{ "key": "carbonate", "value": 40.00 },
{ "key": "shale", "value": 60.00 }
]
}
],
legendConfig: distributionLegendConfig,
components: {
carbonate: {
color: 'FireBrick',
textColor: '#8E1B1B', // Optional, will use color by default
},
shale: {
color: 'SlateGrey',
},
},
interpolationType: 2, // 0 = linear, 1 = nearest, 2 = discrete
discreteHeight: 0.01, // Used when interpolationType = 2
}
重要内容:
- 键入
composition[].key匹配密钥components。 。 。 . distributionLegendConfig使用定义的颜色components。 。 。 .- 组成值被解释为百分比,应等于100.
假设
- 深度按上升顺序排序.
- 每个深度样本的构成共为100个.
捐款
欢迎捐款。 见 捐款指南 要开始.