@webviz/subsurface-viewer 0.0.2-alpha.6 → 0.0.2-alpha.8
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/SubsurfaceViewer.d.ts +8 -5
- package/dist/SubsurfaceViewer.js +1 -2
- package/dist/SubsurfaceViewer.js.map +1 -1
- package/dist/components/ColorLegend.d.ts +4 -4
- package/dist/components/ColorLegends.d.ts +2 -2
- package/dist/components/DistanceScale.d.ts +1 -1
- package/dist/components/DistanceScale.js.map +1 -1
- package/dist/components/InfoCard.d.ts +1 -1
- package/dist/components/Map.d.ts +24 -8
- package/dist/components/Map.js +122 -26
- package/dist/components/Map.js.map +1 -1
- package/dist/components/StatusIndicator.d.ts +1 -1
- package/dist/components/settings/DrawModeSelector.js.map +1 -1
- package/dist/components/settings/LayerProperty.js.map +1 -1
- package/dist/components/settings/LayerSettingsButton.js.map +1 -1
- package/dist/components/settings/LayersButton.js.map +1 -1
- package/dist/components/settings/NumericInput.d.ts +2 -1
- package/dist/components/settings/NumericInput.js.map +1 -1
- package/dist/components/settings/SliderInput.d.ts +2 -1
- package/dist/components/settings/SliderInput.js.map +1 -1
- package/dist/components/settings/ToggleButton.d.ts +2 -1
- package/dist/components/settings/ToggleButton.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/layers/BoxSelectionLayer/boxSelectionLayer.d.ts +5 -4
- package/dist/layers/BoxSelectionLayer/boxSelectionLayer.js.map +1 -1
- package/dist/layers/axes/axesLayer.d.ts +3 -2
- package/dist/layers/axes/axesLayer.js.map +1 -1
- package/dist/layers/axes/boxLayer.d.ts +4 -3
- package/dist/layers/axes/boxLayer.js +1 -1
- package/dist/layers/axes/boxLayer.js.map +1 -1
- package/dist/layers/axes2d/axes2DLayer.d.ts +4 -3
- package/dist/layers/axes2d/axes2DLayer.js.map +1 -1
- package/dist/layers/colormap/colormapLayer.d.ts +7 -6
- package/dist/layers/colormap/colormapLayer.js.map +1 -1
- package/dist/layers/drawing/drawingLayer.d.ts +4 -3
- package/dist/layers/drawing/drawingLayer.js +1 -1
- package/dist/layers/drawing/drawingLayer.js.map +1 -1
- package/dist/layers/fault_polygons/faultPolygonsLayer.d.ts +3 -2
- package/dist/layers/fault_polygons/faultPolygonsLayer.js.map +1 -1
- package/dist/layers/grid3d/grid3dLayer.d.ts +9 -5
- package/dist/layers/grid3d/grid3dLayer.js +2 -3
- package/dist/layers/grid3d/grid3dLayer.js.map +1 -1
- package/dist/layers/grid3d/privateLayer.d.ts +6 -4
- package/dist/layers/grid3d/privateLayer.js +4 -2
- package/dist/layers/grid3d/privateLayer.js.map +1 -1
- package/dist/layers/grid3d/webworker.d.ts +1 -1
- package/dist/layers/grid3d/webworker.js +520 -2
- package/dist/layers/grid3d/webworker.js.map +1 -1
- package/dist/layers/hillshading2d/hillshading2dLayer.d.ts +5 -4
- package/dist/layers/hillshading2d/hillshading2dLayer.js.map +1 -1
- package/dist/layers/index.d.ts +16 -16
- package/dist/layers/intersection/unfoldedGeoJsonLayer.d.ts +2 -2
- package/dist/layers/map/mapLayer.d.ts +5 -3
- package/dist/layers/map/mapLayer.js.map +1 -1
- package/dist/layers/map/privateMapLayer.d.ts +5 -4
- package/dist/layers/map/privateMapLayer.js +1 -1
- package/dist/layers/map/privateMapLayer.js.map +1 -1
- package/dist/layers/map/webworker.d.ts +1 -1
- package/dist/layers/northarrow/northArrow3DLayer.d.ts +4 -3
- package/dist/layers/northarrow/northArrow3DLayer.js +1 -1
- package/dist/layers/northarrow/northArrow3DLayer.js.map +1 -1
- package/dist/layers/piechart/pieChartLayer.d.ts +4 -3
- package/dist/layers/piechart/pieChartLayer.js +2 -2
- package/dist/layers/piechart/pieChartLayer.js.map +1 -1
- package/dist/layers/points/pointsLayer.d.ts +3 -2
- package/dist/layers/points/pointsLayer.js +1 -1
- package/dist/layers/points/pointsLayer.js.map +1 -1
- package/dist/layers/polylines/polylinesLayer.d.ts +3 -2
- package/dist/layers/polylines/polylinesLayer.js +1 -1
- package/dist/layers/polylines/polylinesLayer.js.map +1 -1
- package/dist/layers/selectable_geojson/selectableGeoJsonLayer.d.ts +2 -2
- package/dist/layers/shader_modules/decoder.d.ts +1 -1
- package/dist/layers/terrain/map3DLayer.d.ts +6 -4
- package/dist/layers/terrain/map3DLayer.js.map +1 -1
- package/dist/layers/terrain/terrainMapLayer.d.ts +4 -3
- package/dist/layers/terrain/terrainMapLayer.js +2 -2
- package/dist/layers/terrain/terrainMapLayer.js.map +1 -1
- package/dist/layers/triangle/privateTriangleLayer.d.ts +5 -4
- package/dist/layers/triangle/privateTriangleLayer.js +1 -1
- package/dist/layers/triangle/privateTriangleLayer.js.map +1 -1
- package/dist/layers/triangle/triangleLayer.d.ts +6 -4
- package/dist/layers/triangle/triangleLayer.js.map +1 -1
- package/dist/layers/triangle/webworker.d.ts +1 -1
- package/dist/layers/utils/layerTools.d.ts +4 -4
- package/dist/layers/utils/propertyMapTools.d.ts +1 -1
- package/dist/layers/wells/utils/spline.d.ts +2 -2
- package/dist/layers/wells/utils/spline.js.map +1 -1
- package/dist/layers/wells/wellsLayer.d.ts +7 -6
- package/dist/layers/wells/wellsLayer.js +3 -3
- package/dist/layers/wells/wellsLayer.js.map +1 -1
- package/dist/redux/reducer.d.ts +2 -2
- package/dist/redux/reducer.js +0 -1
- package/dist/redux/reducer.js.map +1 -1
- package/dist/redux/store.d.ts +1 -1
- package/dist/redux/store.js.map +1 -1
- package/dist/utils/measurement.d.ts +1 -1
- package/dist/utils/specExtractor.d.ts +1 -1
- package/dist/views/intersectionView.d.ts +2 -1
- package/dist/views/intersectionView.js.map +1 -1
- package/package.json +50 -49
- package/dist/inputSchema/ColorTables.json +0 -51
- package/dist/inputSchema/FaultPolygons.json +0 -80
- package/dist/inputSchema/Grid.json +0 -39
- package/dist/inputSchema/PieChart.json +0 -72
- package/dist/inputSchema/WellLog.json +0 -126
- package/dist/inputSchema/WellLogTemplate.json +0 -131
- package/dist/inputSchema/WellLogs.json +0 -5
- package/dist/inputSchema/Wells.json +0 -106
- package/dist/inputSchema/schemaValidationUtil.d.ts +0 -5
- package/dist/inputSchema/schemaValidationUtil.js +0 -48
- package/dist/inputSchema/schemaValidationUtil.js.map +0 -1
- package/dist/inputSchema/validator.d.ts +0 -1
- package/dist/inputSchema/validator.js +0 -64
- package/dist/inputSchema/validator.js.map +0 -1
- package/dist/layers/grid3d/earcut.d.ts +0 -5
- package/dist/layers/grid3d/earcut.js +0 -563
- package/dist/layers/grid3d/earcut.js.map +0 -1
- package/dist/storybook/schemaValidation/sampleData.d.ts +0 -122
- package/dist/storybook/schemaValidation/sampleData.js +0 -172
- package/dist/storybook/schemaValidation/sampleData.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { OrthographicViewState } from "@deck.gl/core/typed";
|
|
2
|
+
import { View } from "@deck.gl/core/typed";
|
|
2
3
|
import IntersectionViewport from "../viewports/intersectionViewport";
|
|
3
4
|
export type IntersectionViewState = OrthographicViewState;
|
|
4
5
|
type IntersectionViewProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intersectionView.js","sourceRoot":"","sources":["../../src/views/intersectionView.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"intersectionView.js","sourceRoot":"","sources":["../../src/views/intersectionView.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,oBAAoB,MAAM,mCAAmC,CAAC;AAcrE,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,IAG7C;IAEG,YAAY,KAA4B;QACpC,KAAK,iCACE,KAAK,KACR,UAAU,EAAE,KAAK,EACjB,SAAS,EAAE;gBACP,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC;aACzB,IACH,CAAC;IACP,CAAC;IAED,IAAI,YAAY;QACZ,OAAO,oBAAoB,CAAC;IAChC,CAAC;IAED,IAAI,cAAc;QACd,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC/C,CAAC;;AAjBM,4BAAW,GAAG,kBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
2
|
+
"name": "@webviz/subsurface-viewer",
|
|
3
|
+
"version": "0.0.2-alpha.8",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"transpile": "tsc --project ./tsconfig.json",
|
|
12
|
+
"copy-files": "copyfiles --up 1 \"src/**/*.png\" dist/",
|
|
13
|
+
"build": "git clean -xdff dist && npm run transpile && npm run copy-files",
|
|
14
|
+
"test_perf": "jest _performance",
|
|
15
|
+
"test_correctness": "jest --coverage --testPathIgnorePatterns='_performance'",
|
|
16
|
+
"test": "jest --coverage",
|
|
17
|
+
"test:update": "npm test -- --u",
|
|
18
|
+
"test:watch": "npm test -- --watch",
|
|
19
|
+
"doc": "git clean -xdff docs && typedoc src"
|
|
20
|
+
},
|
|
21
|
+
"author": "Equinor <opensource@equinor.com>",
|
|
22
|
+
"license": "MPL-2.0",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@deck.gl/core": "^8.8.25",
|
|
25
|
+
"@emerson-eps/color-tables": "^0.4.61",
|
|
26
|
+
"@equinor/eds-core-react": "^0.32.3",
|
|
27
|
+
"@equinor/eds-icons": "^0.19.1",
|
|
28
|
+
"@nebula.gl/layers": "^1.0.4",
|
|
29
|
+
"@reduxjs/toolkit": "^1.7.2",
|
|
30
|
+
"@vivaxy/png": "^1.3.0",
|
|
31
|
+
"@webviz/wsc-common": "*",
|
|
32
|
+
"ajv": "^7.2.1",
|
|
33
|
+
"convert-units": "^2.3.4",
|
|
34
|
+
"d3": "^7.8.2",
|
|
35
|
+
"d3-color": "^3.1.0",
|
|
36
|
+
"d3-format": "^1.4.5",
|
|
37
|
+
"deck.gl": "^8.9.19",
|
|
38
|
+
"gl-matrix": "^3.4.3",
|
|
39
|
+
"lodash": "^4.17.21",
|
|
40
|
+
"mathjs": "^9.4.2",
|
|
41
|
+
"react-redux": "^8.1.1"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@mui/material": "^5.11",
|
|
45
|
+
"@mui/system": "^5.11",
|
|
46
|
+
"react": "^17 || ^18",
|
|
47
|
+
"react-dom": "^17 || ^18"
|
|
48
|
+
},
|
|
49
|
+
"volta": {
|
|
50
|
+
"node": "16.18.1"
|
|
51
|
+
}
|
|
51
52
|
}
|
|
@@ -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
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"name": { "type": "string" },
|
|
5
|
-
"scale": {
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"primary": { "type": "string" },
|
|
9
|
-
"allowSecondary": { "type": "boolean" }
|
|
10
|
-
},
|
|
11
|
-
"required": ["primary"]
|
|
12
|
-
},
|
|
13
|
-
"tracks": {
|
|
14
|
-
"type": "array",
|
|
15
|
-
"items": { "$ref": "#/definitions/track" }
|
|
16
|
-
},
|
|
17
|
-
"styles": {
|
|
18
|
-
"type": "array",
|
|
19
|
-
"items": { "$ref": "#/definitions/style" }
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": ["tracks"],
|
|
23
|
-
"definitions": {
|
|
24
|
-
"domain": {
|
|
25
|
-
"type": "array",
|
|
26
|
-
"minItems": 2,
|
|
27
|
-
"maxItems": 2,
|
|
28
|
-
"items": { "type": "number" }
|
|
29
|
-
},
|
|
30
|
-
"css_color": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"description": "Any valid CSS color value (named colors, three-digit hex color, six-digit hex color, RGB colors)",
|
|
33
|
-
"examples": [
|
|
34
|
-
"green",
|
|
35
|
-
"#ff8000",
|
|
36
|
-
"rgb(128,33,23)",
|
|
37
|
-
"rgba(128,33,23,0.6)"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"plot_type": {
|
|
41
|
-
"enum": [
|
|
42
|
-
"line",
|
|
43
|
-
"linestep",
|
|
44
|
-
"dot",
|
|
45
|
-
"area",
|
|
46
|
-
"differential",
|
|
47
|
-
"gradientfill",
|
|
48
|
-
"stacked"
|
|
49
|
-
],
|
|
50
|
-
"default": "line"
|
|
51
|
-
},
|
|
52
|
-
"scale_type": {
|
|
53
|
-
"enum": ["log", "linear"],
|
|
54
|
-
"default": "linear"
|
|
55
|
-
},
|
|
56
|
-
"plot_prop": {
|
|
57
|
-
"type": "object",
|
|
58
|
-
"properties": {
|
|
59
|
-
"scale": { "$ref": "#/definitions/scale_type" },
|
|
60
|
-
"type": { "$ref": "#/definitions/plot_type" },
|
|
61
|
-
"color": { "$ref": "#/definitions/css_color" },
|
|
62
|
-
"inverseColor": { "$ref": "#/definitions/css_color" },
|
|
63
|
-
"fill": { "$ref": "#/definitions/css_color" },
|
|
64
|
-
"fillOpacity": {
|
|
65
|
-
"type": "number",
|
|
66
|
-
"minimum": 0.0,
|
|
67
|
-
"maximum": 1.0,
|
|
68
|
-
"default": 0.25,
|
|
69
|
-
"description": "for 'area' and 'gradientfill' plots"
|
|
70
|
-
},
|
|
71
|
-
"colorTable": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"description": "table id (name) for 'gradientfill' plot"
|
|
74
|
-
},
|
|
75
|
-
"inverseColorTable": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"description": "table id (name) for 'gradientfill' plot"
|
|
78
|
-
},
|
|
79
|
-
"colorScale": {
|
|
80
|
-
"$ref": "#/definitions/scale_type",
|
|
81
|
-
"description": "table id (name) for 'gradientfill' plot"
|
|
82
|
-
},
|
|
83
|
-
"inverseColorScale": {
|
|
84
|
-
"$ref": "#/definitions/scale_type",
|
|
85
|
-
"description": "table id (name) for 'gradientfill' plot"
|
|
86
|
-
},
|
|
87
|
-
"color2": {
|
|
88
|
-
"$ref": "#/definitions/css_color",
|
|
89
|
-
"description": "for 'differetial' plot"
|
|
90
|
-
},
|
|
91
|
-
"fill2": {
|
|
92
|
-
"$ref": "#/definitions/css_color",
|
|
93
|
-
"description": "for 'differetial' plot"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"plot": {
|
|
98
|
-
"allOf": [{ "$ref": "#/definitions/plot_prop" }],
|
|
99
|
-
"type": "object",
|
|
100
|
-
"properties": {
|
|
101
|
-
"name": { "type": "string" },
|
|
102
|
-
"style": { "type": "string" },
|
|
103
|
-
"scale": { "$ref": "#/definitions/scale_type" },
|
|
104
|
-
"name2": { "type": "string" }
|
|
105
|
-
},
|
|
106
|
-
"required": ["name"]
|
|
107
|
-
},
|
|
108
|
-
"style": {
|
|
109
|
-
"allOf": [{ "$ref": "#/definitions/plot_prop" }],
|
|
110
|
-
"type": "object",
|
|
111
|
-
"properties": {
|
|
112
|
-
"name": { "type": "string" }
|
|
113
|
-
},
|
|
114
|
-
"required": ["name"]
|
|
115
|
-
},
|
|
116
|
-
"track": {
|
|
117
|
-
"type": "object",
|
|
118
|
-
"properties": {
|
|
119
|
-
"title": { "type": "string" },
|
|
120
|
-
"required": { "type": "boolean" },
|
|
121
|
-
"scale": { "$ref": "#/definitions/scale_type" },
|
|
122
|
-
"domain": { "$ref": "#/definitions/domain" },
|
|
123
|
-
"plots": {
|
|
124
|
-
"type": "array",
|
|
125
|
-
"items": { "$ref": "#/definitions/plot" }
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"required": ["plots"]
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|