@webviz/subsurface-viewer 0.0.2-alpha.4 → 0.0.2-alpha.5

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.
@@ -1,315 +0,0 @@
1
- {
2
- "accessors": [
3
- {
4
- "bufferView": 2,
5
- "componentType": 5126,
6
- "count": 108,
7
- "max": [
8
- 6.058886528015137,
9
- 0.5000003576278687,
10
- 2.348930835723877
11
- ],
12
- "min": [
13
- -6.058886528015137,
14
- -0.5000004172325134,
15
- -2.348930835723877
16
- ],
17
- "type": "VEC3"
18
- },
19
- {
20
- "bufferView": 2,
21
- "byteOffset": 1296,
22
- "componentType": 5126,
23
- "count": 108,
24
- "max": [
25
- 0.9308037757873535,
26
- 1.0,
27
- 0.9998587369918823
28
- ],
29
- "min": [
30
- -1.0,
31
- -1.0,
32
- -0.9998587369918823
33
- ],
34
- "type": "VEC3"
35
- },
36
- {
37
- "bufferView": 3,
38
- "componentType": 5126,
39
- "count": 108,
40
- "max": [
41
- 1.0,
42
- 3.387607421245775e-07,
43
- 1.0,
44
- 1.0
45
- ],
46
- "min": [
47
- -1.0,
48
- -4.178712970315246e-06,
49
- -0.9308037757873535,
50
- 1.0
51
- ],
52
- "type": "VEC4"
53
- },
54
- {
55
- "bufferView": 1,
56
- "componentType": 5126,
57
- "count": 108,
58
- "max": [
59
- 0.9870268106460571,
60
- 0.9908186793327332
61
- ],
62
- "min": [
63
- 0.006224204320460558,
64
- 0.010728782042860985
65
- ],
66
- "type": "VEC2"
67
- },
68
- {
69
- "bufferView": 1,
70
- "byteOffset": 864,
71
- "componentType": 5126,
72
- "count": 108,
73
- "max": [
74
- 0.9870268106460571,
75
- 0.9908186793327332
76
- ],
77
- "min": [
78
- 0.006224204320460558,
79
- 0.010728782042860985
80
- ],
81
- "type": "VEC2"
82
- },
83
- {
84
- "bufferView": 1,
85
- "byteOffset": 1728,
86
- "componentType": 5126,
87
- "count": 108,
88
- "max": [
89
- 0.9870268106460571,
90
- 0.9908186793327332
91
- ],
92
- "min": [
93
- 0.006224204320460558,
94
- 0.010728782042860985
95
- ],
96
- "type": "VEC2"
97
- },
98
- {
99
- "bufferView": 0,
100
- "componentType": 5125,
101
- "count": 324,
102
- "type": "SCALAR"
103
- }
104
- ],
105
- "asset": {
106
- "extras": {
107
- "author": "plaggy (https://sketchfab.com/plaggy)",
108
- "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
109
- "source": "https://sketchfab.com/3d-models/cc0-arrow-5-f38febed165240b9aea5289c215c6b65",
110
- "title": "CC0 - Arrow 5"
111
- },
112
- "generator": "Sketchfab-10.50.0",
113
- "version": "2.0"
114
- },
115
- "bufferViews": [
116
- {
117
- "buffer": 0,
118
- "byteLength": 1296,
119
- "name": "floatBufferViews",
120
- "target": 34963
121
- },
122
- {
123
- "buffer": 0,
124
- "byteLength": 2592,
125
- "byteOffset": 1296,
126
- "byteStride": 8,
127
- "name": "floatBufferViews",
128
- "target": 34962
129
- },
130
- {
131
- "buffer": 0,
132
- "byteLength": 2592,
133
- "byteOffset": 3888,
134
- "byteStride": 12,
135
- "name": "floatBufferViews",
136
- "target": 34962
137
- },
138
- {
139
- "buffer": 0,
140
- "byteLength": 1728,
141
- "byteOffset": 6480,
142
- "byteStride": 16,
143
- "name": "floatBufferViews",
144
- "target": 34962
145
- }
146
- ],
147
- "buffers": [
148
- {
149
- "byteLength": 8208,
150
- "uri": "scene.bin"
151
- }
152
- ],
153
- "images": [
154
- {
155
- "uri": "textures/Arrow5_baseColor.png"
156
- },
157
- {
158
- "uri": "textures/Arrow5_metallicRoughness.png"
159
- },
160
- {
161
- "uri": "textures/Arrow5_normal.png"
162
- }
163
- ],
164
- "materials": [
165
- {
166
- "name": "Arrow5",
167
- "normalTexture": {
168
- "index": 2
169
- },
170
- "pbrMetallicRoughness": {
171
- "baseColorTexture": {
172
- "index": 0
173
- },
174
- "metallicRoughnessTexture": {
175
- "index": 1
176
- }
177
- }
178
- }
179
- ],
180
- "meshes": [
181
- {
182
- "name": "Arrow5_Arrow5_0",
183
- "primitives": [
184
- {
185
- "attributes": {
186
- "NORMAL": 1,
187
- "POSITION": 0,
188
- "TANGENT": 2,
189
- "TEXCOORD_0": 3,
190
- "TEXCOORD_1": 4,
191
- "TEXCOORD_2": 5
192
- },
193
- "indices": 6,
194
- "material": 0,
195
- "mode": 4
196
- }
197
- ]
198
- }
199
- ],
200
- "nodes": [
201
- {
202
- "children": [
203
- 1
204
- ],
205
- "matrix": [
206
- 1.0,
207
- 0.0,
208
- 0.0,
209
- 0.0,
210
- 0.0,
211
- 2.220446049250313e-16,
212
- -1.0,
213
- 0.0,
214
- 0.0,
215
- 1.0,
216
- 2.220446049250313e-16,
217
- 0.0,
218
- 0.0,
219
- 0.0,
220
- 0.0,
221
- 1.0
222
- ],
223
- "name": "Sketchfab_model"
224
- },
225
- {
226
- "children": [
227
- 2
228
- ],
229
- "matrix": [
230
- 1.0,
231
- 0.0,
232
- 0.0,
233
- 0.0,
234
- 0.0,
235
- 0.0,
236
- 1.0,
237
- 0.0,
238
- 0.0,
239
- -1.0,
240
- 0.0,
241
- 0.0,
242
- 0.0,
243
- 0.0,
244
- 0.0,
245
- 1.0
246
- ],
247
- "name": "1095acfb6b0747db8a7aadff5b388720.fbx"
248
- },
249
- {
250
- "children": [
251
- 3
252
- ],
253
- "name": "RootNode"
254
- },
255
- {
256
- "children": [
257
- 4
258
- ],
259
- "matrix": [
260
- 0.02539999969303608,
261
- 0.0,
262
- 0.0,
263
- 0.0,
264
- 0.0,
265
- 5.639932896936113e-18,
266
- -0.02539999969303608,
267
- 0.0,
268
- 0.0,
269
- 0.02539999969303608,
270
- 5.639932896936113e-18,
271
- 0.0,
272
- 0.0,
273
- 0.0,
274
- 0.0,
275
- 1.0
276
- ],
277
- "name": "Arrow5"
278
- },
279
- {
280
- "mesh": 0,
281
- "name": "Arrow5_Arrow5_0"
282
- }
283
- ],
284
- "samplers": [
285
- {
286
- "magFilter": 9729,
287
- "minFilter": 9987,
288
- "wrapS": 10497,
289
- "wrapT": 10497
290
- }
291
- ],
292
- "scene": 0,
293
- "scenes": [
294
- {
295
- "name": "Sketchfab_Scene",
296
- "nodes": [
297
- 0
298
- ]
299
- }
300
- ],
301
- "textures": [
302
- {
303
- "sampler": 0,
304
- "source": 0
305
- },
306
- {
307
- "sampler": 0,
308
- "source": 1
309
- },
310
- {
311
- "sampler": 0,
312
- "source": 2
313
- }
314
- ]
315
- }
@@ -1,108 +0,0 @@
1
- {
2
- "definitions": {
3
- "zone": {
4
- "type": "object",
5
- "properties": {
6
- "name": {
7
- "type": "string",
8
- "minLength": 1
9
- },
10
- "color": {
11
- "type": "string",
12
- "pattern": "^#[0-9a-fA-F]{6}$"
13
- },
14
- "subzones": {
15
- "type": "array",
16
- "items": { "$ref": "#/definitions/zone" }
17
- }
18
- },
19
- "required": ["name", "color"]
20
- }
21
- },
22
- "type": "object",
23
- "properties": {
24
- "version": { "type": "string", "minLength": 1 },
25
- "units": {
26
- "type": "object",
27
- "properties": {
28
- "kh": {
29
- "type": "object",
30
- "properties": {
31
- "unit": {
32
- "type": "string"
33
- },
34
- "decimalPlaces": { "type": "number" }
35
- }
36
- }
37
- }
38
- },
39
- "stratigraphy": {
40
- "type": "array",
41
- "items": { "$ref": "#/definitions/zone" }
42
- },
43
- "timeSteps": {
44
- "type": "array",
45
- "items": { "type": "string", "minLength": 1 }
46
- },
47
- "wells": {
48
- "type": "array",
49
- "items": {
50
- "type": "object",
51
- "properties": {
52
- "name": {
53
- "type": "string",
54
- "minLength": 1
55
- },
56
- "completions": {
57
- "type": "object",
58
- "patternProperties": {
59
- ".+": {
60
- "type": "object",
61
- "properties": {
62
- "t": {
63
- "type": "array",
64
- "items": { "type": "number" }
65
- },
66
- "open": {
67
- "type": "array",
68
- "items": { "type": "number" }
69
- },
70
- "shut": {
71
- "type": "array",
72
- "items": { "type": "number" }
73
- },
74
- "khMean": {
75
- "type": "array",
76
- "items": { "type": "number" }
77
- },
78
- "khMin": {
79
- "type": "array",
80
- "items": { "type": "number" }
81
- },
82
- "khMax": {
83
- "type": "array",
84
- "items": { "type": "number" }
85
- }
86
- },
87
- "required": [
88
- "t",
89
- "open",
90
- "shut",
91
- "khMean",
92
- "khMin",
93
- "khMax"
94
- ]
95
- }
96
- },
97
- "additionalProperties": false
98
- },
99
- "attributes": {
100
- "type": "object"
101
- }
102
- },
103
- "required": ["name", "completions", "attributes"]
104
- }
105
- }
106
- },
107
- "required": ["stratigraphy", "timeSteps", "wells"]
108
- }
package/dist/package.json DELETED
@@ -1,38 +0,0 @@
1
- {
2
- "name": "@webviz/subsurface-viewer",
3
- "version": "0.0.0",
4
- "description": "",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "transpile": "tsc --project ./tsconfig.json",
8
- "copy-files": "copyfiles package.json dist && copyfiles README.md dist && copyfiles --exclude **/*.{tsx,jsx,js,ts,snap} --up 1 \"src/**/*\" dist/",
9
- "build": "npm run transpile && npm run copy-files"
10
- },
11
- "author": "Equinor <opensource@equinor.com>",
12
- "license": "MPL-2.0",
13
- "dependencies": {
14
- "@deck.gl/core": "^8.8.25",
15
- "@emerson-eps/color-tables": "^0.4.57",
16
- "@equinor/eds-core-react": "^0.16.1",
17
- "@equinor/eds-icons": "^0.19.1",
18
- "@mui/material": "^5.13.4",
19
- "@mui/system": "^5.12.1",
20
- "@nebula.gl/edit-modes": "^0.22.3",
21
- "@nebula.gl/layers": "^0.22.3",
22
- "@reduxjs/toolkit": "^1.7.2",
23
- "@vivaxy/png": "^1.3.0",
24
- "ajv": "^7.2.1",
25
- "convert-units": "^2.3.4",
26
- "d3": "^7.8.2",
27
- "d3-color": "^3.1.0",
28
- "d3-format": "^1.4.5",
29
- "deck.gl": "^8.9.19",
30
- "gl-matrix": "^3.4.3",
31
- "lodash": "^4.17.21",
32
- "mathjs": "^9.4.2",
33
- "react-redux": "^7.2.6"
34
- },
35
- "files": [
36
- "/dist"
37
- ]
38
- }