@webviz/subsurface-viewer 0.0.1-alpha.1 → 0.0.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/package.json +5 -2
- package/package.json +6 -3
- package/dist/DashSubsurfaceViewer.d.ts +0 -56
- package/dist/DashSubsurfaceViewer.js +0 -160
- package/dist/DashSubsurfaceViewer.js.map +0 -1
- package/src/DashSubsurfaceViewer.tsx +0 -270
- package/src/SubsurfaceViewer.stories.tsx +0 -449
- package/src/SubsurfaceViewer.test.tsx +0 -98
- package/src/SubsurfaceViewer.tsx +0 -356
- package/src/__snapshots__/SubsurfaceViewer.test.tsx.snap +0 -178
- package/src/assets/glTF/north_arrow/scene.bin +0 -0
- package/src/assets/glTF/north_arrow/scene.gltf +0 -315
- package/src/assets/glTF/north_arrow/textures/Arrow5_baseColor.png +0 -0
- package/src/assets/glTF/north_arrow/textures/Arrow5_metallicRoughness.png +0 -0
- package/src/assets/glTF/north_arrow/textures/Arrow5_normal.png +0 -0
- package/src/components/ColorLegend.test.tsx +0 -32
- package/src/components/ColorLegend.tsx +0 -80
- package/src/components/ColorLegends.test.tsx +0 -97
- package/src/components/ColorLegends.tsx +0 -46
- package/src/components/DistanceScale.stories.tsx +0 -28
- package/src/components/DistanceScale.test.tsx +0 -36
- package/src/components/DistanceScale.tsx +0 -84
- package/src/components/InfoCard.test.tsx +0 -110
- package/src/components/InfoCard.tsx +0 -263
- package/src/components/Map.test.tsx +0 -142
- package/src/components/Map.tsx +0 -1435
- package/src/components/StatusIndicator.test.tsx +0 -14
- package/src/components/StatusIndicator.tsx +0 -38
- package/src/components/ViewAnnotation.tsx +0 -16
- package/src/components/ViewFooter.test.tsx +0 -12
- package/src/components/ViewFooter.tsx +0 -30
- package/src/components/__snapshots__/ColorLegends.test.tsx.snap +0 -15
- package/src/components/__snapshots__/DistanceScale.test.tsx.snap +0 -33
- package/src/components/__snapshots__/InfoCard.test.tsx.snap +0 -561
- package/src/components/__snapshots__/Map.test.tsx.snap +0 -119
- package/src/components/__snapshots__/StatusIndicator.test.tsx.snap +0 -3
- package/src/components/__snapshots__/ViewFooter.test.tsx.snap +0 -7
- package/src/components/settings/DrawModeSelector.test.tsx +0 -45
- package/src/components/settings/DrawModeSelector.tsx +0 -58
- package/src/components/settings/DrawModeSelector_performance.test.tsx +0 -35
- package/src/components/settings/LayerProperty.test.tsx +0 -35
- package/src/components/settings/LayerProperty.tsx +0 -153
- package/src/components/settings/LayerProperty_performance.test.tsx +0 -39
- package/src/components/settings/LayerSettingsButton.test.tsx +0 -133
- package/src/components/settings/LayerSettingsButton.tsx +0 -95
- package/src/components/settings/LayersButton.test.tsx +0 -102
- package/src/components/settings/LayersButton.tsx +0 -97
- package/src/components/settings/NumericInput.test.tsx +0 -25
- package/src/components/settings/NumericInput.tsx +0 -67
- package/src/components/settings/Settings.tsx +0 -71
- package/src/components/settings/SliderInput.test.tsx +0 -28
- package/src/components/settings/SliderInput.tsx +0 -71
- package/src/components/settings/ToggleButton.test.tsx +0 -25
- package/src/components/settings/ToggleButton.tsx +0 -53
- package/src/components/settings/__snapshots__/DrawModeSelector.test.tsx.snap +0 -124
- package/src/components/settings/__snapshots__/LayerProperty.test.tsx.snap +0 -124
- package/src/components/settings/__snapshots__/LayerSettingsButton.test.tsx.snap +0 -36
- package/src/components/settings/__snapshots__/LayersButton.test.tsx.snap +0 -83
- package/src/components/settings/__snapshots__/NumericInput.test.tsx.snap +0 -123
- package/src/components/settings/__snapshots__/SliderInput.test.tsx.snap +0 -244
- package/src/components/settings/__snapshots__/ToggleButton.test.tsx.snap +0 -182
- package/src/custom.d.ts +0 -9
- package/src/index.ts +0 -5
- package/src/inputSchema/ColorTables.json +0 -51
- package/src/inputSchema/FaultPolygons.json +0 -80
- package/src/inputSchema/Grid.json +0 -39
- package/src/inputSchema/PieChart.json +0 -72
- package/src/inputSchema/WellLog.json +0 -126
- package/src/inputSchema/WellLogTemplate.json +0 -136
- package/src/inputSchema/WellLogs.json +0 -5
- package/src/inputSchema/Wells.json +0 -106
- package/src/inputSchema/schemaValidationUtil.tsx +0 -55
- package/src/inputSchema/validator.tsx +0 -72
- package/src/inputSchema/wellCompletions.json +0 -108
- package/src/layers/BoxSelectionLayer/boxSelectionLayer.stories.tsx +0 -172
- package/src/layers/BoxSelectionLayer/boxSelectionLayer.tsx +0 -136
- package/src/layers/axes/axes-fragment.glsl.ts +0 -15
- package/src/layers/axes/axesLayer.stories.tsx +0 -87
- package/src/layers/axes/axesLayer.ts +0 -692
- package/src/layers/axes/boxLayer.ts +0 -71
- package/src/layers/axes/grid-vertex.glsl.ts +0 -14
- package/src/layers/axes2d/axes2DLayer.stories.tsx +0 -150
- package/src/layers/axes2d/axes2DLayer.ts +0 -841
- package/src/layers/axes2d/font-atlas.png +0 -0
- package/src/layers/axes2d/label-fragment.glsl.js +0 -37
- package/src/layers/axes2d/label-vertex.glsl.js +0 -20
- package/src/layers/axes2d/line-fragment.glsl.js +0 -14
- package/src/layers/axes2d/line-vertex.glsl.js +0 -13
- package/src/layers/colormap/colormap.fs.glsl.ts +0 -42
- package/src/layers/colormap/colormapLayer.ts +0 -247
- package/src/layers/drawing/drawingLayer.tsx +0 -256
- package/src/layers/fault_polygons/faultPolygonsLayer.ts +0 -54
- package/src/layers/grid3d/fragment.fs.glsl.ts +0 -109
- package/src/layers/grid3d/fragment_lines.glsl.ts +0 -21
- package/src/layers/grid3d/grid3dLayer.stories.tsx +0 -172
- package/src/layers/grid3d/grid3dLayer.ts +0 -248
- package/src/layers/grid3d/privateLayer.ts +0 -292
- package/src/layers/grid3d/vertex.glsl.ts +0 -43
- package/src/layers/grid3d/vertex_lines.glsl.ts +0 -15
- package/src/layers/grid3d/webworker.ts +0 -173
- package/src/layers/hillshading2d/hillshading2d.fs.glsl.ts +0 -62
- package/src/layers/hillshading2d/hillshading2dLayer.ts +0 -172
- package/src/layers/index.ts +0 -35
- package/src/layers/intersection/intersectionView.stories.tsx +0 -294
- package/src/layers/intersection/unfoldedGeoJsonLayer.ts +0 -92
- package/src/layers/map/fragment.fs.glsl.ts +0 -127
- package/src/layers/map/fragment_lines.glsl.ts +0 -21
- package/src/layers/map/mapLayer.stories.tsx +0 -1369
- package/src/layers/map/mapLayer.ts +0 -470
- package/src/layers/map/privateMapLayer.ts +0 -317
- package/src/layers/map/vertex.glsl.ts +0 -45
- package/src/layers/map/vertex_lines.glsl.ts +0 -15
- package/src/layers/map/webworker.ts +0 -479
- package/src/layers/northarrow/northArrow.stories.tsx +0 -108
- package/src/layers/northarrow/northArrow3DLayer.ts +0 -204
- package/src/layers/northarrow/northarrow-fragment.glsl.js +0 -14
- package/src/layers/northarrow/northarrow-vertex.glsl.js +0 -13
- package/src/layers/piechart/fragment.glsl.js +0 -42
- package/src/layers/piechart/pieChartLayer.ts +0 -246
- package/src/layers/piechart/vertex.glsl.js +0 -42
- package/src/layers/points/pointsLayer.stories.tsx +0 -141
- package/src/layers/points/pointsLayer.ts +0 -143
- package/src/layers/polylines/polylinesLayer.stories.tsx +0 -144
- package/src/layers/polylines/polylinesLayer.ts +0 -263
- package/src/layers/selectable_geojson/selectableGeoJsonLayer.ts +0 -25
- package/src/layers/shader_modules/decoder.fs.glsl.ts +0 -41
- package/src/layers/shader_modules/decoder.ts +0 -46
- package/src/layers/shader_modules/index.ts +0 -1
- package/src/layers/terrain/map3DLayer.stories.tsx +0 -340
- package/src/layers/terrain/map3DLayer.ts +0 -556
- package/src/layers/terrain/terrainMapLayer.ts +0 -334
- package/src/layers/terrain/terrainmap.fs.glsl.ts +0 -134
- package/src/layers/triangle/fragment.fs.glsl.ts +0 -126
- package/src/layers/triangle/fragment_lines.glsl.ts +0 -21
- package/src/layers/triangle/privateTriangleLayer.ts +0 -203
- package/src/layers/triangle/test_data/surfacePoints.ts +0 -4344
- package/src/layers/triangle/test_data/surfaceTriangles.ts +0 -7392
- package/src/layers/triangle/triangleLayer.stories.tsx +0 -191
- package/src/layers/triangle/triangleLayer.ts +0 -273
- package/src/layers/triangle/vertex.glsl.ts +0 -35
- package/src/layers/triangle/vertex_lines.glsl.ts +0 -15
- package/src/layers/triangle/webworker.ts +0 -165
- package/src/layers/utils/glsl.d.ts +0 -4
- package/src/layers/utils/layerTools.ts +0 -182
- package/src/layers/utils/propertyMapTools.ts +0 -43
- package/src/layers/wells/utils/spline.ts +0 -318
- package/src/layers/wells/wellsLayer.stories.tsx +0 -625
- package/src/layers/wells/wellsLayer.ts +0 -1377
- package/src/redux/actions.ts +0 -8
- package/src/redux/reducer.ts +0 -43
- package/src/redux/store.ts +0 -15
- package/src/redux/types.ts +0 -114
- package/src/storybook/SubsurfaceViewer.stories.jsx +0 -644
- package/src/storybook/components/InfoCard.stories.jsx +0 -39
- package/src/storybook/components/colorLegends/ContinuousLegend.stories.jsx +0 -32
- package/src/storybook/components/colorLegends/DiscreteLegend.stories.jsx +0 -33
- package/src/storybook/components/colorLegends/IndividualScaleForMap.stories.jsx +0 -99
- package/src/storybook/components/colorLegends/SingleScaleForMap.stories.jsx +0 -120
- package/src/storybook/components/settings/LayerSettingsButton.stories.jsx +0 -34
- package/src/storybook/components/settings/NumericInput.stories.jsx +0 -17
- package/src/storybook/components/settings/ToggleButton.stories.jsx +0 -16
- package/src/storybook/schemaValidation/sampleData.js +0 -177
- package/src/storybook/schemaValidation/schemaValidation.stories.jsx +0 -91
- package/src/test/TestWrapper.tsx +0 -13
- package/src/utils/configuration.ts +0 -61
- package/src/utils/fit-bounds.js +0 -85
- package/src/utils/measurement.ts +0 -61
- package/src/utils/northArrow.ts +0 -4
- package/src/utils/specExtractor.ts +0 -36
- package/src/viewports/index.js +0 -1
- package/src/viewports/intersectionViewport.ts +0 -137
- package/src/views/index.js +0 -1
- package/src/views/intersectionView.ts +0 -38
- package/tsconfig.json +0 -7
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Test Toggle Input snapshot test 1`] = `
|
|
4
|
-
.c0 {
|
|
5
|
-
display: -webkit-box;
|
|
6
|
-
display: -webkit-flex;
|
|
7
|
-
display: -ms-flexbox;
|
|
8
|
-
display: flex;
|
|
9
|
-
-webkit-box-pack: justify;
|
|
10
|
-
-webkit-justify-content: space-between;
|
|
11
|
-
-ms-flex-pack: justify;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
position: relative;
|
|
14
|
-
margin: 0;
|
|
15
|
-
color: var(--eds_text__static_icons__tertiary,rgba(111,111,111,1));
|
|
16
|
-
font-family: Equinor;
|
|
17
|
-
font-size: 0.750rem;
|
|
18
|
-
font-weight: 500;
|
|
19
|
-
line-height: 1.333em;
|
|
20
|
-
text-align: left;
|
|
21
|
-
margin-left: 8px;
|
|
22
|
-
margin-right: 8px;
|
|
23
|
-
color: var(--eds_text__static_icons__tertiary,rgba(111,111,111,1));
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.c1 {
|
|
27
|
-
margin: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.c5 {
|
|
31
|
-
width: 48px;
|
|
32
|
-
height: 48px;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
position: relative;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.c3 {
|
|
38
|
-
border: 0;
|
|
39
|
-
-webkit-clip: rect(0 0 0 0);
|
|
40
|
-
clip: rect(0 0 0 0);
|
|
41
|
-
height: 1px;
|
|
42
|
-
margin: -1px;
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
padding: 0;
|
|
45
|
-
position: absolute;
|
|
46
|
-
width: 1px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.c3:focus {
|
|
50
|
-
outline: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.c3[data-focus-visible-added]:focus + span :first-child {
|
|
54
|
-
outline: 1px dashed var(--eds_interactive__focus,rgba(0,112,121,1));
|
|
55
|
-
outline-offset: 6px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.c4:checked + span > span {
|
|
59
|
-
background-color: var(--eds_interactive_primary__selected_highlight,rgba(230,250,236,1));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.c4:checked + span > span:last-child {
|
|
63
|
-
-webkit-transform: translate(135%,-50%);
|
|
64
|
-
-ms-transform: translate(135%,-50%);
|
|
65
|
-
transform: translate(135%,-50%);
|
|
66
|
-
background-color: var(--eds_interactive_primary__resting,rgba(0,112,121,1));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.c7 {
|
|
70
|
-
border-radius: 4px;
|
|
71
|
-
border: none;
|
|
72
|
-
width: 34px;
|
|
73
|
-
height: 8px;
|
|
74
|
-
background-color: var(--eds_ui_background__medium,rgba(220,220,220,1));
|
|
75
|
-
position: absolute;
|
|
76
|
-
left: 50%;
|
|
77
|
-
top: 50%;
|
|
78
|
-
-webkit-transform: translate(-50%,-50%);
|
|
79
|
-
-ms-transform: translate(-50%,-50%);
|
|
80
|
-
transform: translate(-50%,-50%);
|
|
81
|
-
-webkit-transition: background 0.36s;
|
|
82
|
-
transition: background 0.36s;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.c8 {
|
|
86
|
-
background-color: var(--eds_text__static_icons__tertiary,rgba(111,111,111,1));
|
|
87
|
-
box-shadow: 0 1px 5px rgba(0,0,0,0.2),0 3px 4px rgba(0,0,0,0.12),0 2px 4px rgba(0,0,0,0.14);
|
|
88
|
-
width: 16px;
|
|
89
|
-
height: 16px;
|
|
90
|
-
border-radius: 50%;
|
|
91
|
-
display: inline-block;
|
|
92
|
-
position: absolute;
|
|
93
|
-
top: 50%;
|
|
94
|
-
-webkit-transform: translate(0,-50%);
|
|
95
|
-
-ms-transform: translate(0,-50%);
|
|
96
|
-
transform: translate(0,-50%);
|
|
97
|
-
left: 6px;
|
|
98
|
-
-webkit-transition: -webkit-transform 0.36s cubic-bezier(0.78,0.14,0.15,0.86);
|
|
99
|
-
-webkit-transition: transform 0.36s cubic-bezier(0.78,0.14,0.15,0.86);
|
|
100
|
-
transition: transform 0.36s cubic-bezier(0.78,0.14,0.15,0.86);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.c2 {
|
|
104
|
-
cursor: pointer;
|
|
105
|
-
border: none;
|
|
106
|
-
background-color: transparent;
|
|
107
|
-
vertical-align: middle;
|
|
108
|
-
display: -webkit-inline-box;
|
|
109
|
-
display: -webkit-inline-flex;
|
|
110
|
-
display: -ms-inline-flexbox;
|
|
111
|
-
display: inline-flex;
|
|
112
|
-
-webkit-align-items: center;
|
|
113
|
-
-webkit-box-align: center;
|
|
114
|
-
-ms-flex-align: center;
|
|
115
|
-
align-items: center;
|
|
116
|
-
position: relative;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.c9 {
|
|
120
|
-
margin: 0;
|
|
121
|
-
color: rgba(61,61,61,1);
|
|
122
|
-
font-family: Equinor;
|
|
123
|
-
font-size: 1.000rem;
|
|
124
|
-
font-weight: 400;
|
|
125
|
-
line-height: 1.000em;
|
|
126
|
-
-webkit-letter-spacing: 0.013em;
|
|
127
|
-
-moz-letter-spacing: 0.013em;
|
|
128
|
-
-ms-letter-spacing: 0.013em;
|
|
129
|
-
letter-spacing: 0.013em;
|
|
130
|
-
text-align: left;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
@media (hover:hover) and (pointer:fine) {
|
|
134
|
-
.c6:hover {
|
|
135
|
-
background-color: var(--eds_interactive_primary__hover_alt,rgba(222,237,238,1));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.c6:hover > span:last-child {
|
|
139
|
-
background-color: var(--eds_interactive_primary__hover,rgba(0,79,85,1));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
<div
|
|
144
|
-
style="display: flex; justify-content: space-between;"
|
|
145
|
-
>
|
|
146
|
-
<label
|
|
147
|
-
class="c0"
|
|
148
|
-
id="Log curves-switch-label"
|
|
149
|
-
style="padding-top: 15px; font-size: 15px;"
|
|
150
|
-
>
|
|
151
|
-
<span
|
|
152
|
-
class="c1"
|
|
153
|
-
>
|
|
154
|
-
Log curves
|
|
155
|
-
</span>
|
|
156
|
-
</label>
|
|
157
|
-
<label
|
|
158
|
-
class="c2"
|
|
159
|
-
>
|
|
160
|
-
<input
|
|
161
|
-
aria-label="Log curves"
|
|
162
|
-
class="c3 c4"
|
|
163
|
-
id="Log curves-switch"
|
|
164
|
-
style="padding-right: 10px; width: 3rem;"
|
|
165
|
-
type="checkbox"
|
|
166
|
-
/>
|
|
167
|
-
<span
|
|
168
|
-
class="c5 c6"
|
|
169
|
-
>
|
|
170
|
-
<span
|
|
171
|
-
class="c7"
|
|
172
|
-
/>
|
|
173
|
-
<span
|
|
174
|
-
class="c8"
|
|
175
|
-
/>
|
|
176
|
-
</span>
|
|
177
|
-
<span
|
|
178
|
-
class="c9"
|
|
179
|
-
/>
|
|
180
|
-
</label>
|
|
181
|
-
</div>
|
|
182
|
-
`;
|
package/src/custom.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare module "*.svg" {
|
|
2
|
-
import React = require("react");
|
|
3
|
-
export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;
|
|
4
|
-
const src: string;
|
|
5
|
-
export default src;
|
|
6
|
-
}
|
|
7
|
-
declare module "*.png";
|
|
8
|
-
declare module "@emerson-eps/color-tables";
|
|
9
|
-
declare module "deck.gl";
|
package/src/index.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "ColorTables data schema",
|
|
3
|
-
"$id": "inputSchema/ColorTables.json",
|
|
4
|
-
"type": "array",
|
|
5
|
-
"items": { "$ref": "#/definitions/color-table" },
|
|
6
|
-
"definitions": {
|
|
7
|
-
"color-table": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"required": ["name", "discrete", "colors"],
|
|
10
|
-
"properties": {
|
|
11
|
-
"name": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "Color table name"
|
|
14
|
-
},
|
|
15
|
-
"discrete": {
|
|
16
|
-
"type": "boolean",
|
|
17
|
-
"description": "True if color table is for discrete data"
|
|
18
|
-
},
|
|
19
|
-
"colors": {
|
|
20
|
-
"type": "array",
|
|
21
|
-
"description": "Color entries as [anchor, R, G, B] for continuous and [index, R, G, B] for discrete",
|
|
22
|
-
"items": {
|
|
23
|
-
"$ref": "#/definitions/color-row",
|
|
24
|
-
"minItems": 4
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"description": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"description": "Description"
|
|
30
|
-
},
|
|
31
|
-
"colorNaN": {
|
|
32
|
-
"$ref": "#/definitions/color-row",
|
|
33
|
-
"description": "Color for NaN/undefined value"
|
|
34
|
-
},
|
|
35
|
-
"colorBelow": {
|
|
36
|
-
"$ref": "#/definitions/color-row",
|
|
37
|
-
"description": "Color for value below minimum color range"
|
|
38
|
-
},
|
|
39
|
-
"colorAbove": {
|
|
40
|
-
"$ref": "#/definitions/color-row",
|
|
41
|
-
"description": "Color for value above minimum color range"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"color-row": {
|
|
46
|
-
"type": "array",
|
|
47
|
-
"items": { "type": "number" },
|
|
48
|
-
"minItems": 3
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$comment": "Inspired from https://geojson.org/schema/FeatureCollection.json",
|
|
4
|
-
"$id": "inputSchema/FaultPolygons.json",
|
|
5
|
-
"title": "GeoJSON FeatureCollection",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["type", "features"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"type": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"enum": ["FeatureCollection"]
|
|
12
|
-
},
|
|
13
|
-
"features": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": {
|
|
16
|
-
"title": "GeoJSON Feature",
|
|
17
|
-
"type": "object",
|
|
18
|
-
"required": ["type", "properties", "geometry"],
|
|
19
|
-
"properties": {
|
|
20
|
-
"type": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["Feature"]
|
|
23
|
-
},
|
|
24
|
-
"id": {
|
|
25
|
-
"oneOf": [
|
|
26
|
-
{
|
|
27
|
-
"type": "number"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "string"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
"properties": {
|
|
35
|
-
"oneOf": [
|
|
36
|
-
{
|
|
37
|
-
"type": "null"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "object"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"geometry": {
|
|
45
|
-
"title": "GeoJSON Polygon",
|
|
46
|
-
"type": "object",
|
|
47
|
-
"required": ["type", "coordinates"],
|
|
48
|
-
"properties": {
|
|
49
|
-
"type": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"enum": ["Polygon"]
|
|
52
|
-
},
|
|
53
|
-
"coordinates": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"items": {
|
|
56
|
-
"type": "array",
|
|
57
|
-
"minItems": 4,
|
|
58
|
-
"items": {
|
|
59
|
-
"type": "array",
|
|
60
|
-
"minItems": 2,
|
|
61
|
-
"items": {
|
|
62
|
-
"type": "number"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"bbox": {
|
|
68
|
-
"type": "array",
|
|
69
|
-
"minItems": 4,
|
|
70
|
-
"items": {
|
|
71
|
-
"type": "number"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "See https://jsonwelllogformat.org",
|
|
3
|
-
"$id": "inputSchema/Grid.json",
|
|
4
|
-
"type": "array",
|
|
5
|
-
"items": { "$ref": "#/definitions/data_row" },
|
|
6
|
-
"definitions": {
|
|
7
|
-
"data_row": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"required": ["cs", "vs"],
|
|
10
|
-
"properties": {
|
|
11
|
-
"i": {
|
|
12
|
-
"type": "number",
|
|
13
|
-
"description": "Cell i-index, increases toward east."
|
|
14
|
-
},
|
|
15
|
-
"j": {
|
|
16
|
-
"type": "number",
|
|
17
|
-
"description": "Cell j-index, increases towards north."
|
|
18
|
-
},
|
|
19
|
-
"z": { "type": "number", "description": "Cell depth." },
|
|
20
|
-
"cs": {
|
|
21
|
-
"type": "array",
|
|
22
|
-
"description": "Cell corners",
|
|
23
|
-
"items": { "$ref": "#/definitions/cell_corner" },
|
|
24
|
-
"minItems": 3
|
|
25
|
-
},
|
|
26
|
-
"vs": {
|
|
27
|
-
"type": "array",
|
|
28
|
-
"description": "Time dependent cell values.",
|
|
29
|
-
"items": { "type": "number" }
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"cell_corner": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"items": { "type": "number" },
|
|
36
|
-
"minItems": 3
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "PieChart data schema",
|
|
3
|
-
"$id": "inputSchema/PieChart.json",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"pies": {
|
|
7
|
-
"type": "array",
|
|
8
|
-
"items": { "$ref": "#/definitions/pie" }
|
|
9
|
-
},
|
|
10
|
-
"properties": {
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": { "$ref": "#/definitions/property" }
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": ["pies", "properties"],
|
|
16
|
-
"definitions": {
|
|
17
|
-
"pie": {
|
|
18
|
-
"type": "object",
|
|
19
|
-
"properties": {
|
|
20
|
-
"x": {
|
|
21
|
-
"type": "number",
|
|
22
|
-
"description": "Pie chart y-coordinate"
|
|
23
|
-
},
|
|
24
|
-
"y": {
|
|
25
|
-
"type": "number",
|
|
26
|
-
"description": "Pie chart x-coordinate"
|
|
27
|
-
},
|
|
28
|
-
"R": {
|
|
29
|
-
"type": "number",
|
|
30
|
-
"description": "Pie chart radius."
|
|
31
|
-
},
|
|
32
|
-
"fractions": {
|
|
33
|
-
"type": "array",
|
|
34
|
-
"description": "Number and proportion of slices on pie chart.",
|
|
35
|
-
"items": { "$ref": "#/definitions/fraction" }
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": ["x", "y", "R", "fractions"]
|
|
39
|
-
},
|
|
40
|
-
"property": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"properties": {
|
|
43
|
-
"color": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"minItems": 3,
|
|
46
|
-
"maxItems": 3,
|
|
47
|
-
"items": { "type": "number" },
|
|
48
|
-
"description": "Pie slice color as RGB array."
|
|
49
|
-
},
|
|
50
|
-
"label": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"description": "Pie slice name."
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": ["color", "label"]
|
|
56
|
-
},
|
|
57
|
-
"fraction": {
|
|
58
|
-
"type": "object",
|
|
59
|
-
"properties": {
|
|
60
|
-
"value": {
|
|
61
|
-
"type": "number",
|
|
62
|
-
"description": "Proportion on pie slice."
|
|
63
|
-
},
|
|
64
|
-
"idx": {
|
|
65
|
-
"type": "number",
|
|
66
|
-
"description": "Pie slice color and label indexed from properties array."
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": ["value", "idx"]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$comment": "See https://jsonwelllogformat.org",
|
|
3
|
-
"$id": "inputSchema/WellLog.json",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"header": { "$ref": "#/definitions/header" },
|
|
7
|
-
"curves": {
|
|
8
|
-
"type": "array",
|
|
9
|
-
"items": { "$ref": "#/definitions/curve" }
|
|
10
|
-
},
|
|
11
|
-
"data": {
|
|
12
|
-
"type": "array",
|
|
13
|
-
"items": { "$ref": "#/definitions/data_row" }
|
|
14
|
-
},
|
|
15
|
-
"metadata_discrete": {
|
|
16
|
-
"type": "object"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"required": ["curves", "data", "header"],
|
|
20
|
-
"definitions": {
|
|
21
|
-
"header": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"properties": {
|
|
24
|
-
"name": { "type": "string", "description": "Log name" },
|
|
25
|
-
"description": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"description": "Log description"
|
|
28
|
-
},
|
|
29
|
-
"externalIds": {
|
|
30
|
-
"type": "object",
|
|
31
|
-
"description": "Record<string,string>; IDs within external storage, key being the storage name, and value being the ID."
|
|
32
|
-
},
|
|
33
|
-
"well": { "type": "string", "description": "Well name" },
|
|
34
|
-
"wellbore": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "wellbore name"
|
|
37
|
-
},
|
|
38
|
-
"field": { "type": "string", "description": "Field name" },
|
|
39
|
-
"country": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"description": "Country of operation"
|
|
42
|
-
},
|
|
43
|
-
"date": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "datetime; Logging date"
|
|
46
|
-
},
|
|
47
|
-
"operator": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Operator company name"
|
|
50
|
-
},
|
|
51
|
-
"serviceCompany": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Service company name"
|
|
54
|
-
},
|
|
55
|
-
"source": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "Source system or process of this log"
|
|
58
|
-
},
|
|
59
|
-
"runNumber": { "type": "string", "description": "Run number" },
|
|
60
|
-
"elevation": {
|
|
61
|
-
"type": "number",
|
|
62
|
-
"description": "float; Vertical distance between measured depth 0.0 and mean sea level in SI unit (meters)"
|
|
63
|
-
},
|
|
64
|
-
"startIndex": {
|
|
65
|
-
"type": "number",
|
|
66
|
-
"description": "Value of the first index. Unit according to index curve"
|
|
67
|
-
},
|
|
68
|
-
"endIndex": {
|
|
69
|
-
"type": "number",
|
|
70
|
-
"description": "Value of the last index. Unit according to index curve"
|
|
71
|
-
},
|
|
72
|
-
"step": {
|
|
73
|
-
"type": ["number", "null"],
|
|
74
|
-
"description": "Distance between indices if regularly sampled. Unit according to index curve. If log is time based, milliseconds assumed. null if irregular step"
|
|
75
|
-
},
|
|
76
|
-
"dataUri": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "Point to data source in case this is kept separate. Can be absolute or relative according to the URI specification"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"curve": {
|
|
83
|
-
"type": "object",
|
|
84
|
-
"properties": {
|
|
85
|
-
"name": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"description": "Curve name or mnemonic. Mandatory. Non-null"
|
|
88
|
-
},
|
|
89
|
-
"description": {
|
|
90
|
-
"type": ["string", "null"],
|
|
91
|
-
"description": "Curve description. Optional"
|
|
92
|
-
},
|
|
93
|
-
"quantity": {
|
|
94
|
-
"type": ["string", "null"],
|
|
95
|
-
"description": "Curve quantity such as length, pressure, force etc. Optional"
|
|
96
|
-
},
|
|
97
|
-
"unit": {
|
|
98
|
-
"type": ["string", "null"],
|
|
99
|
-
"description": "Unit of measurement such as m, ft, bar, etc. Optional"
|
|
100
|
-
},
|
|
101
|
-
"valueType": {
|
|
102
|
-
"type": ["string", "null"],
|
|
103
|
-
"description": "Curve value type: float, integer, string, datetime or boolean. Non-null. Optional. float assumed if not present"
|
|
104
|
-
},
|
|
105
|
-
"dimensions": {
|
|
106
|
-
"type": "number",
|
|
107
|
-
"description": "Number of dimensions. [1,>. Non-null. Optional. 1 assumed if not present"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": ["name"]
|
|
111
|
-
},
|
|
112
|
-
"data_row": {
|
|
113
|
-
"type": "array",
|
|
114
|
-
"items": {
|
|
115
|
-
"anyOf": [
|
|
116
|
-
{ "type": "number" },
|
|
117
|
-
{ "type": "string" },
|
|
118
|
-
{ "type": "null" }
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"metadata_discrete": {
|
|
123
|
-
"type": "object"
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|