@emerson-eps/color-tables 0.1.12 → 0.1.16

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.
@@ -0,0 +1,202 @@
1
+ [
2
+ {
3
+ "name": "Physics",
4
+ "discrete": false,
5
+ "colors": [
6
+ [0.00, 255, 0, 0],
7
+ [0.25, 255, 255, 0],
8
+ [0.50, 0, 255, 0],
9
+ [0.75, 0, 255, 255],
10
+ [1.00, 0, 0, 255]
11
+ ]
12
+ },
13
+ {
14
+ "name": "Rainbow",
15
+ "discrete": false,
16
+ "colors": [
17
+ [0.00, 255, 0, 0],
18
+ [0.20, 255, 255, 0],
19
+ [0.40, 0, 255, 0],
20
+ [0.60, 0, 255, 255],
21
+ [0.80, 0, 0, 255],
22
+ [1.00, 255, 0, 255]
23
+ ]
24
+ },
25
+ {
26
+ "name": "Porosity",
27
+ "discrete": false,
28
+ "colors": [
29
+ [0.00, 255, 246, 117],
30
+ [0.11, 255, 243, 53],
31
+ [0.18, 255, 241, 0],
32
+ [0.25, 155, 193, 0],
33
+ [0.32, 255, 155, 23],
34
+ [0.39, 255, 162, 61],
35
+ [0.46, 255, 126, 45],
36
+ [0.53, 227, 112, 24],
37
+ [0.60, 246, 96, 31],
38
+ [0.67, 229, 39, 48],
39
+ [0.74, 252, 177, 170],
40
+ [0.81, 236, 103, 146],
41
+ [0.88, 226, 44, 118],
42
+ [1.00, 126, 40, 111]
43
+ ]
44
+ },
45
+ {
46
+ "name": "Permeability",
47
+ "discrete": false,
48
+ "colors": [
49
+ [0.00, 119, 63, 49],
50
+ [0.148, 135, 49, 45],
51
+ [0.246, 154, 89, 24],
52
+ [0.344, 191, 88, 22],
53
+ [0.441, 190, 142, 97],
54
+ [0.539, 255, 126, 45],
55
+ [0.637, 255, 162, 61],
56
+ [0.734, 255, 155, 23],
57
+ [0.832, 255, 241, 0],
58
+ [1.00, 255, 246, 117]
59
+ ]
60
+ },
61
+ {
62
+ "name": "Seismic BlueWhiteRed",
63
+ "discrete": false,
64
+ "colors": [
65
+ [0.00, 0, 0, 255],
66
+ [0.50, 255, 255, 255],
67
+ [1.00, 255, 2, 2]
68
+ ]
69
+ },
70
+ {
71
+ "name": "Time/Depth",
72
+ "discrete": false,
73
+ "colors": [
74
+ [0.00, 252, 174, 169],
75
+ [0.10, 226, 44, 118],
76
+ [0.168, 229, 39, 48],
77
+ [0.234, 150, 40, 34],
78
+ [0.301, 255, 126, 45],
79
+ [0.367, 255, 162, 61],
80
+ [0.434, 255, 241, 0],
81
+ [0.50, 219, 228, 163],
82
+ [0.566, 0, 143, 74],
83
+ [0.633, 0, 110, 78],
84
+ [0.699, 0, 124, 140],
85
+ [0.766, 116, 190, 230],
86
+ [0.832, 0, 143, 212],
87
+ [0.898, 0, 51, 116],
88
+ [1.00, 74, 19, 86]
89
+ ]
90
+ },
91
+ {
92
+ "name": "Stratigraphy",
93
+ "discrete": true,
94
+ "colors": [
95
+ [0, 255, 120, 61],
96
+ [1, 255, 193, 0],
97
+ [2, 255, 155, 76],
98
+ [3, 255, 223, 161],
99
+ [4, 226, 44, 118],
100
+ [5, 255, 243, 53],
101
+ [6, 255, 212, 179],
102
+ [7, 255, 155, 23],
103
+ [8, 255, 246, 117],
104
+ [9, 255, 241, 0],
105
+ [10, 255, 211, 178],
106
+ [11, 255, 173, 128],
107
+ [12, 248, 152, 0],
108
+ [13, 154, 89, 24],
109
+ [14, 0, 138, 185],
110
+ [15, 82, 161, 40],
111
+ [16, 219, 228, 163],
112
+ [17, 0, 119, 64],
113
+ [18, 0, 110, 172],
114
+ [19, 116, 190, 230],
115
+ [20, 0, 155, 212],
116
+ [21, 0, 117, 190],
117
+ [22, 143, 40, 112],
118
+ [23, 220, 153, 190],
119
+ [24, 226, 44, 118],
120
+ [25, 126, 40, 111],
121
+ [26, 73, 69, 43],
122
+ [27, 203, 63, 42],
123
+ [28, 255, 198, 190],
124
+ [29, 135, 49, 45],
125
+ [30, 150, 136, 120],
126
+ [31, 198, 182, 175],
127
+ [32, 166, 154, 145],
128
+ [33, 191, 88, 22],
129
+ [34, 255, 212, 179],
130
+ [35, 251, 139, 105],
131
+ [36, 154, 89, 24],
132
+ [37, 186, 222, 200],
133
+ [38, 0, 124, 140],
134
+ [39, 87, 84, 83]
135
+ ]
136
+ },
137
+ {
138
+ "name": "Facies",
139
+ "discrete": true,
140
+ "colors": [
141
+ [0, 255, 193, 0],
142
+ [1, 255, 246, 117],
143
+ [2, 166, 194, 42],
144
+ [3, 149, 160, 24],
145
+ [4, 9, 143, 74],
146
+ [5, 125, 98, 15],
147
+ [6, 0, 108, 154],
148
+ [7, 0, 117, 190],
149
+ [8, 28, 22, 59],
150
+ [9, 39, 142, 199],
151
+ [10, 0, 138, 185],
152
+ [11, 52, 178, 188],
153
+ [12, 235, 63, 34],
154
+ [13, 74, 19, 86],
155
+ [14, 248, 152, 0],
156
+ [15, 1, 1, 1],
157
+ [16, 128, 128, 128]
158
+ ]
159
+ },
160
+ {
161
+ "name": "Gas-Oil-Water",
162
+ "discrete": true,
163
+ "colors": [
164
+ [0, 255, 46, 0],
165
+ [1, 0, 184, 0],
166
+ [2, 0, 25, 255],
167
+ [3, 179, 179, 179]
168
+ ]
169
+ },
170
+ {
171
+ "name": "Gas-Water",
172
+ "discrete": true,
173
+ "colors": [
174
+ [0, 255, 46, 0],
175
+ [1, 0, 25, 255],
176
+ [2, 179, 179, 179]
177
+ ]
178
+ },
179
+ {
180
+ "name": "Oil-Water",
181
+ "discrete": true,
182
+ "colors": [
183
+ [0, 0, 184, 0],
184
+ [1, 0, 25, 255],
185
+ [2, 179, 179, 179]
186
+ ]
187
+ },
188
+ {
189
+ "name": "Accent",
190
+ "discrete": true,
191
+ "colors": [
192
+ [0, 127, 201, 127],
193
+ [1, 190, 174, 212],
194
+ [2, 253, 192, 134],
195
+ [4, 255, 255, 153],
196
+ [5, 56, 108, 176],
197
+ [6, 240, 2, 127],
198
+ [7, 191, 91, 23],
199
+ [8, 102, 102, 102]
200
+ ]
201
+ }
202
+ ]
@@ -0,0 +1,89 @@
1
+ [
2
+ {
3
+ "name": "Welllayer Template",
4
+ "properties": [
5
+ {
6
+ "objectName": "PORO",
7
+ "colorTable": "Porosity",
8
+ "context": "wells-layer",
9
+ "scale": "linear"
10
+ },
11
+ {
12
+ "objectName": "PERM",
13
+ "colorTable": "Permeability",
14
+ "context": "wells-layer",
15
+ "scale": "linear"
16
+ },
17
+ {
18
+ "objectName": "MD",
19
+ "colorTable": "Time/Depth",
20
+ "context": "wells-layer",
21
+ "scale": "linear"
22
+ },
23
+ {
24
+ "objectName": "PORO_TOT",
25
+ "colorTable": "Porosity",
26
+ "context": "wells-layer",
27
+ "scale": "linear"
28
+ },
29
+ {
30
+ "objectName": "NTG",
31
+ "colorTable": "Rainbow",
32
+ "context": "wells-layer",
33
+ "scale": "linear"
34
+ },
35
+ {
36
+ "objectName": "PERM_TOT",
37
+ "colorTable": "Permeability",
38
+ "context": "wells-layer",
39
+ "scale": "linear"
40
+ },
41
+ {
42
+ "objectName": "SW",
43
+ "colorTable": "Physics",
44
+ "context": "wells-layer",
45
+ "scale": "linear"
46
+ },
47
+ {
48
+ "objectName": "ZONELOG",
49
+ "colorTable": "Stratigraphy",
50
+ "context": "wells-layer"
51
+ },
52
+ {
53
+ "objectName": "RDE_ORIG",
54
+ "colorTable": "Stratigraphy",
55
+ "context": "wells-layer"
56
+ },
57
+ {
58
+ "objectName": "FACIES",
59
+ "colorTable": "Facies",
60
+ "context": "wells-layer"
61
+ },
62
+ {
63
+ "objectName": "ZONE_MAIN",
64
+ "colorTable": "Stratigraphy",
65
+ "context": "wells-layer"
66
+ },
67
+ {
68
+ "objectName": "RDE",
69
+ "colorTable": "Accent",
70
+ "context": "wells-layer"
71
+ },
72
+ {
73
+ "objectName": "FaultDistance_HUM",
74
+ "colorTable": "Gas-Oil-Water",
75
+ "context": "wells-layer"
76
+ },
77
+ {
78
+ "objectName": "FAULT_PROXIMITY_FLAG",
79
+ "colorTable": "Gas-Water",
80
+ "context": "wells-layer"
81
+ },
82
+ {
83
+ "objectName": "FACIES_NoCalcite",
84
+ "colorTable": "Facies",
85
+ "context": "wells-layer"
86
+ }
87
+ ]
88
+ }
89
+ ]
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export { colorTableData, DiscreteColorLegend } from './component/Legend/Discrete
3
3
  export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
4
4
  export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
5
  export { propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
6
- export declare const colorTables: any;
6
+ import * as colorTables from './component/color-tables.json';
7
+ export default colorTables;
package/dist/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
2
  export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
3
3
  export { colorsArray, rgbValues, RGBToHex } from './component/Utils/continousLegend';
4
- export const colorTables = require('./component/color-tables');
4
+ //export const colorTables = require('./component/color-tables');
5
+ import * as colorTables from './component/color-tables.json';
6
+ export default colorTables;
5
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AAGpF,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,mCAAmC,CAAC;AAGpF,iEAAiE;AACjE,OAAO,KAAK,WAAW,MAAM,+BAA+B,CAAC;AAC7D,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emerson-eps/color-tables",
3
- "version": "0.1.12",
3
+ "version": "0.1.16",
4
4
  "description": "Standard library of color tables for geological domain",
5
5
  "release": {
6
6
  "branches": [
package/src/index.ts CHANGED
@@ -2,5 +2,7 @@ export { ContinuousLegend } from './component/Legend/ContinuousLegend';
2
2
  export { colorTableData, DiscreteColorLegend } from './component/Legend/DiscreteLegend';
3
3
  export { colorsArray, rgbValues, RGBToHex} from './component/Utils/continousLegend';
4
4
  export { colorTablesObj, colorTablesArray } from './component/ColorTableTypes';
5
- export {propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
6
- export const colorTables = require('./component/color-tables');
5
+ export { propertiesObj, templateArray } from './component/WelllayerTemplateTypes';
6
+ //export const colorTables = require('./component/color-tables');
7
+ import * as colorTables from './component/color-tables.json';
8
+ export default colorTables;
package/tsconfig.json CHANGED
@@ -1,10 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- //"baseUrl": "src",
4
3
  "outDir": "dist",
5
4
  "module": "es6",
6
5
  "target": "es6",
7
- //"lib": ["es6", "dom", "es2016", "es2017"],
8
6
  "sourceMap": true,
9
7
  "allowJs": true,
10
8
  "jsx": "react",
@@ -17,8 +15,11 @@
17
15
  "strictNullChecks": true,
18
16
  "suppressImplicitAnyIndexErrors": true,
19
17
  "noUnusedLocals": true,
20
- "noUnusedParameters": true
18
+ "noUnusedParameters": true,
19
+ "resolveJsonModule": true,
20
+ "esModuleInterop": true,
21
+ "allowSyntheticDefaultImports": true
21
22
  },
22
- "include": ["src",],
23
+ "include": ["src"],
23
24
  "exclude": ["node_modules"]
24
25
  }