forked from markjessell/grd_loader
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGeosoft Grid File Format.html
845 lines (804 loc) · 52.3 KB
/
Geosoft Grid File Format.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
<!DOCTYPE html>
<!-- saved from url=(0110)https://help.seequent.com/Oasis-montaj/9.9/en/Content/ss/process_data/grid_data/c/geosoft_grid_file_format.htm -->
<html xmlns:madcap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" lang="en-us" xml:lang="en-us" data-mc-search-type="Stem" data-mc-help-system-file-name="Default.xml" data-mc-path-to-help-system="../../../../../" data-mc-conditions="Primary.NoImport" data-mc-target-type="WebHelp2" data-mc-runtime-file-type="Topic" data-mc-preload-images="false" data-mc-in-preview-mode="false" data-mc-medium="non-print" data-mc-toc-path="Oasis montaj|Workflow|Process Data|Grid Data to Produce Geosoft Grid Files (GRD)" style="" class=" js no-touch svg inlinesvg svgclippaths no-ie8compat"><head cfapps-selector="head"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Geosoft Grid File Format</title>
<script type="text/javascript" async="" src="./Geosoft Grid File Format_files/gtm.js.download"></script><script type="text/javascript" async="" src="./Geosoft Grid File Format_files/lxych2lg"></script><script type="text/javascript" src="./Geosoft Grid File Format_files/commons.c42222c4cb2f8913500f.js.gz" async="" status="loaded"></script><script type="text/javascript" src="./Geosoft Grid File Format_files/google-tag-manager.dynamic.js.gz" async="" status="loaded"></script><script type="text/javascript" src="./Geosoft Grid File Format_files/intercom.dynamic.js.gz" async="" status="loaded"></script><script type="text/javascript" src="./Geosoft Grid File Format_files/526e057ce42432e31a14.js.download" async="" status="loaded"></script><script type="text/javascript" async="" src="./Geosoft Grid File Format_files/analytics.min.js.download"></script><script src="./Geosoft Grid File Format_files/N9u-VBp73nIpSgbKG8Z6zYFvgPE.js.download"></script><link href="./Geosoft Grid File Format_files/Slideshow.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/TextEffects.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/Topic.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/Styles.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/Tablet.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/Mobile.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/WebHelpStyles.css" rel="stylesheet">
<link href="./Geosoft Grid File Format_files/TableRows.css" rel="stylesheet">
<script src="./Geosoft Grid File Format_files/custom.modernizr.js.download">
</script>
<script src="./Geosoft Grid File Format_files/jquery.min.js.download">
</script>
<script src="./Geosoft Grid File Format_files/require.min.js.download">
</script>
<script src="./Geosoft Grid File Format_files/require.config.js.download">
</script>
<script src="./Geosoft Grid File Format_files/foundation.min.js.download">
</script><meta class="foundation-mq-small"><meta class="foundation-mq-medium"><meta class="foundation-mq-large"><meta class="foundation-mq-xlarge"><meta class="foundation-mq-xxlarge"><style></style>
<script src="./Geosoft Grid File Format_files/plugins.min.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapGlobal.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapDom.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapUtilities.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapXhr.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapTextEffects.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapSlideshow.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapFeedback.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapDefault.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapHelpSystem.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapToc.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapToc.Breadcrumbs.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapToc.MiniToc.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapIndex.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapGlossary.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapParser.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapSearch.js.download">
</script>
<script src="./Geosoft Grid File Format_files/MadCapTopic.js.download">
</script>
<cloudflare-app><script>
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var key=analytics.methods[e];analytics[key]=analytics.factory(key)}analytics.load=function(key,e){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics._writeKey="VbMkdLsdSriFjCdipEVo5BgCCzeKCKF7";;analytics.SNIPPET_VERSION="4.15.3";
analytics.load("VbMkdLsdSriFjCdipEVo5BgCCzeKCKF7");
analytics.page();
}}();
</script></cloudflare-app><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="../../../../../Data/Breakpoints.js" src="./Geosoft Grid File Format_files/Breakpoints.js.download"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="../../../../../Data/Language.js" src="./Geosoft Grid File Format_files/Language.js.download"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="../../../../../Data/Tocs/global.js" src="./Geosoft Grid File Format_files/global.js.download"></script><script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="../../../../../Data/Tocs/global_Chunk0.js" src="./Geosoft Grid File Format_files/global_Chunk0.js.download"></script></head>
<body>
<div class="nocontent">
<div class="MCBreadcrumbsBox_0 breadcrumbs" data-mc-breadcrumbs-divider=" > " data-mc-breadcrumbs-count="10" data-mc-toc="True" data-mc-chunk="Data/Toc.xml"><span class="MCBreadcrumbsPrefix"></span>
<span class="MCBreadcrumbsSelf">Oasis montaj</span><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbsSelf">Workflow</span><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbsSelf">Process Data</span><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbsSelf">Grid Data to Produce Geosoft Grid Files (GRD)</span><span class="MCBreadcrumbsDivider"> > </span><span class="MCBreadcrumbsSelf">Geosoft Grid File Format</span></div>
</div>
<h1>Geosoft Grid File Format</h1>
<p>GEOSOFT grid files (version 2 format) are made up of straight binary data. The data has two logical components:</p>
<p>1. 512 byte header.</p>
<p>2. grid (image) data</p>
<p>Header Description</p>
<p>The first 512 contiguous bytes of the file comprise the header. This is made up of a combination of 4-byte signed integers and 8-byte double precision floating point values. The floating point values must conform to IEEE standard storage format in order to be 100% GEOSOFT compatible, although sometimes this is system dependent.</p>
<p>The header parameters are divided into logical information groups. The Data Storage, Geographic Information and Data Scaling parameters are compulsory. These are followed by a set of optional parameters that describe the grid image in more detail, and then an undefined area which is left to be defined by an application suite for its own use.</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Parameter</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2"><span class="click">Type</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">Byte, binary</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Band</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">R, G, B</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2"><span class="click">Dummy</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Dummy colour (pick one of RGB). This option is useful creating transparent images.</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyB-Column1-Body1"><span class="click">Pixel </span>
</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body1">
<p>No interpolation. This option is used to ‘pixelate’ the image, eliminating any interpolation between survey points to allow you to see the edges of the survey points.</p>
</td>
</tr>
</tbody>
</table>
<h2> Data Storage</h2>
<p>These parameters describe the way in which the grid data is stored and the size of the data.</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span> <!--[CDATA[ ]]--></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Length</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Name</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">0</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> ES</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">Grid data element size: 1 (byte), 2 (short), 4 (float or long), or 8 (double) bytes. If the data is compressed 0x400 is added to this value.</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> long </td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">SF</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p>sign flag:</p>
<p>0 unsigned</p>
<p>1 signed</p>
<p>2 float (4 and 8 byte only)</p>
<p>*3 colour grid (RGB) (4 byte only)</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">NE</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Number of elements per vector</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">12</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">NV</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">Number of vectors</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyB-Column1-Body2">16 </td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">4</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">KX</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body2">
<p> First element corner and vector storage sense:</p>
<p>±1 first element at bottom left</p>
<p>±2 first element at upper left</p>
<p>±3 first element at upper right</p>
<p>±4 first element at bottom right</p>
<p>If positive, vectors are stored in a right-handed sense; if negative, left handed.</p>
</td>
</tr>
</tbody>
</table>
<p>Initially the format was designed to only support grids that have a KX of (+/-) 1. Support for the other possibilities was never implemented by the Geosoft libraries and will probably never be.</p>
<h2> Geographic Information</h2>
<p>These parameters locate the grid geographically. It is up to the application to define the geographic reference system to which these parameters refer. Normally some ground reference system (such as UTM) is used.</p>
<p> </p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Length</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Name</span></td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">20</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> DE</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">The distance between consecutive points of each vector, expressed in reference system units.</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">28</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> DV</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> The distance between consecutive vectors, expressed in reference system units.</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">36</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> X0</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p>The X location of the grid origin expressed in the standard reference system units. The origin is always the bottom left corner of the grid (the first element if KX=û1).</p>
<p>When a grid is displayed in Oasis montaj the grid "cell" is centred on the grid node. Thus the actual cell displayed on the screen will extend ½ cell to the west and ½ cell to the south of the grid origin.</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">44</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> Y0</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> The Y location of the grid origin expressed in the standard reference system units. The origin is always the bottom left corner of the grid (the first element if KX=û1).</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyB-Column1-Body2">52 </td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">8</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">double</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">ROT</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body2">
<p> The grid axis rotation, in degrees counter clockwise, relative to the co-ordinate system axis.</p>
</td>
</tr>
</tbody>
</table>
<h2> Data (Z) Scaling</h2>
<p>The scaling parameters describe the relationship between the numbers stored in the grid file and the floating point numbers they represent. Given ZBASE and ZMULT, the floating point and stored values are related as follows:</p>
<p>stored value = ( real value - ZBASE ) * ZMULT</p>
<p>floating point value = ( stored value / ZMULT ) + ZBASE</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Length</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Type</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Name</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">60</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">ZBASE</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> base value removed</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyB-Column1-Body1">68</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> 8</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1">double</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1">ZMULT</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body1">data was multiplied by ZMULT</td>
</tr>
</tbody>
</table>
<h3>Optional Parameters:</h3>
<p>The following parameters are optional and may or may not be set by an application. If an application does not use a parameter, it must insure that the parameter is set to the non-valid dummy value (see below) appropriate for that data type. The text strings, if un-used, may be left blank. Further, if an application modifies a grid in such a way that one of the optional parameters would no longer be valid, that application must either re-set that parameter to its new value, or set it to its non-valid dummy value. The non-valid dummy values for each data type are defined in section 3.</p>
<ul>
<li class="note">Note that IZ... parameters are expressed in the same units as the grid is stored, and they will be floating point values if the grid values are floating point (see SF flag), if the data type is double precision these values should always be initialized to the 4-byte floating point dummy below.</li>
</ul>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Length</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Name</span></td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">76</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">48</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">ASCII</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">LABEL</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> grid label (text)</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">124</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">16</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> ASCII</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">MAPNO</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> map number designation (text)</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">140</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4 </td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> PROJ</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> map projection reference</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">144</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">UNITX</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> X distance units</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">148</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">UNITY</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Y distance units</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">152</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">UNITZ</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> Z distance units</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">156</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> NVPTS</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> number of valid points in grid</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">160</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4 </td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">long/float</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> IZMIN</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> minimum grid value</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">164</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long/float</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> IZMAX</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Maximum grid value</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">168</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> long/float</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> IZMED</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">grid median value</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">172</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long/float</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> IZMEA </td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p>grid mean</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">176</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">double</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> ZVAR</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> Variance</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyB-Column1-Body2">184</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> PRCS</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body2">process flag</td>
</tr>
</tbody>
</table>
<h3>Undefined Application Parameters:</h3>
<p>The remaining 324 bytes of the header (to fill out to 512 bytes) may be defined and used by data specific applications. All general-purpose applications will either leave the USER area undefined, or pass the area from grid-to-grid unchanged.</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Length</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Name</span></td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyB-Column1-Body2">188</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> 324</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> ?</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2">USER</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body2">
<p> undefined application specific information.</p>
</td>
</tr>
</tbody>
</table>
<h2>Uncompressed Grid (Image) Data</h2>
<p>The actual gridded data may be stored as any one of the following, as specified by the ES parameter in the header:</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">ES=1:</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 1-byte</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> unsigned 0 to 254</p>
<p>signed -126 to 127</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">ES=2:</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 2-byte</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Unsigned 0 to 65534</p>
<p>signed -32766 to 32767</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">ES=4: <br>long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4-byte</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> Unsigned 0 to 4294967294</p>
<p>signed –2147483646 to 2147483647</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyB-Column1-Body2">ES=4/8: <br>floating point</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body2"> 4-byte <br>8-byte</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body2">
<p> -0.9E+32 to 1E+30</p>
</td>
</tr>
</tbody>
</table>
<p>The SF (sign flag) indicates whether the data is signed, unsigned or float (only 4-byte and 8-byte data are floating point).</p>
<p>The data is stored as NV fixed length vectors. A vector is a collection of consecutive elements, each representing a point located a distance DE from the previous point. Each consecutive vector is parallel to, and separated from the previous vector by a distance DV.</p>
<p>The first vector begins immediately following the grid header, and the first element represents the corner of the grid as specified by the KX parameter. The location of each consecutive element and each consecutive vector is defined by the KX, X0, Y0 and ROT parameters as illustrated in figure 1.</p>
<p>The length of each vector in bytes is ES * NE. The total file length will always be at least:</p>
<p>512 + (ES * NE * NV) bytes</p>
<p>Actual grid files may be longer depending on the blocking factor used by the software that created the grids. In the case of compressed grids the size of the file will vary depending on the nature of the dats.</p>
<p><img src="./grid_file_format_image_thumb_0_150.png"></p>
<h2>Compressed Grid (Image) Data</h2>
<p>Compressed grid data starts with the following 16-bit header immediately following the grid header:</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Length</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Name</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">0</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">SIG</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> The compression signature: 0xF8E7D8C7</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1">4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> 4 </td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1">long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> COMP_TYPE</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> Compression type:</p>
<p>0 unsigned</p>
<p>1 simple (best size) <a href="https://www.zlib.net/">ZLIB</a></p>
<p>2 low (fast) <a href="http://www.ross.net/compression/lzrw1.html">LZRW1</a></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 4</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> NB</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> Number of blocks</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyB-Column1-Body1">12</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> 4</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> long</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> VPB</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body1">
<p> Number of vectors per block</p>
</td>
</tr>
</tbody>
</table>
<p>A block size of 65536 uncompressed bytes is used if the bytes required for a one or more vectors will fit into it. Otherwise every uncompressed block will be as big as a single vector and the number of blocks will be equal to the number of vectors. The unused elements in every block are initialized to the non-valid dummy values described below before compression. This table is followed by two tables (each NB in length; see table above) of numbers describing the offset of the compressed blocks from the start of the file and the size of the compressed data in the block found at that position. The table is as follows:</p>
<table style="width: 100%;mc-table-style: url('../../../../Resources/TableStyles/TableRows.css');" class="TableStyle-TableRows" cellspacing="0">
<colgroup><col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
<col class="TableStyle-TableRows-Column-Column1">
</colgroup><tbody>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Offset</span>
</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Length</span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"> <span class="click">Type </span></td>
<td class="TableStyle-TableRows-BodyE-Column1-Body1"><span class="click">Name</span>
</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body1">
<p> <span class="click">Description</span></p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body2">
<td class="TableStyle-TableRows-BodyE-Column1-Body2">0 </td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2">NB*8</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> 64bit long</td>
<td class="TableStyle-TableRows-BodyE-Column1-Body2"> OB</td>
<td class="TableStyle-TableRows-BodyD-Column1-Body2">
<p> File offset from start of every block</p>
</td>
</tr>
<tr class="TableStyle-TableRows-Body-Body1">
<td class="TableStyle-TableRows-BodyB-Column1-Body1">NB*8</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> NB*4</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1"> long</td>
<td class="TableStyle-TableRows-BodyB-Column1-Body1">CBS</td>
<td class="TableStyle-TableRows-BodyA-Column1-Body1">
<p> Compressed size of every block </p>
</td>
</tr>
</tbody>
</table>
<h2>Non-valid Dummy Values</h2>
<p>1-byte signed dummy = -127</p>
<p>1-byte unsigned dummy = 255</p>
<p>2-byte signed dummy = -32767 (minimum 2-byte integer)</p>
<p>2-byte unsigned dummy = 65535</p>
<p>4-byte signed dummy = -2147483647 (minimum 4-byte integer)</p>
<p>4-byte unsigned dummy = 4294967295</p>
<p>4-byte floating point dummy = -1.0E+32</p>
<p>8-byte double precision floating point dummy = -1.0E+32</p>
<div class="seealso" xmlns="">
<p class="seealso">See Also:</p>
<ul class="seealso">
<li value="1"><a href="https://help.seequent.com/Oasis-montaj/9.9/en/Content/ss/om_reference/common_reference/gridding_3d_models/gridding_data_topics.htm">Gridding Data</a>
</li>
</ul>
</div>
<p class="footercopyright"> </p>
<table style="border-left-style: solid;border-left-width: 2px;border-left-color: #CCCCCC;border-right-style: solid;border-right-width: 2px;border-right-color: #CCCCCC;border-top-style: solid;border-top-width: 2px;border-top-color: #000000;border-bottom-style: solid;border-bottom-width: 2px;border-bottom-color: #CCCCCC;">
<colgroup><col style="width: 335px;">
<col>
</colgroup><tbody>
<tr>
<td colspan="2">
<p>Access <a href="microsoft-edge:https://my.seequent.com/" target="_self">MySeequent >></a> for online support and learning resources: Knowledge Base Articles, Guided Learning Path Lessons, Instructional Videos, Technical and Technology Papers, and Best Practices.
</p>
</td>
</tr>
<tr>
<td class="footer">
<p class="footercopyright">© 2020 Geosoft Inc.</p>
</td>
<td class="footer">
<p class="footerwww"><a href="http://www.seequent.com/" target="_blank" title="www.seequent.com" alt="www.seequent.com" class="footer">www.seequent.com</a>
</p>
</td>
</tr>
</tbody>
</table>
<iframe id="intercom-frame" style="position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; top: 0 !important; left: 0 !important; border: none !important; display: block !important; z-index: -1 !important; pointer-events: none;" aria-hidden="true" tabindex="-1" title="Intercom" src="./Geosoft Grid File Format_files/saved_resource.html"></iframe><div class="intercom-lightweight-app"><style id="intercom-lightweight-app-style" type="text/css">
@keyframes intercom-lightweight-app-launcher {
from {
opacity: 0;
transform: scale(0.5);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes intercom-lightweight-app-gradient {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes intercom-lightweight-app-messenger {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.intercom-lightweight-app {
position: fixed;
z-index: 2147483001;
width: 0;
height: 0;
font-family: intercom-font, "Helvetica Neue", "Apple Color Emoji", Helvetica, Arial, sans-serif;
}
.intercom-lightweight-app-gradient {
position: fixed;
z-index: 2147483002;
width: 500px;
height: 500px;
bottom: 0;
right: 0;
pointer-events: none;
background: radial-gradient(
ellipse at bottom right,
rgba(29, 39, 54, 0.16) 0%,
rgba(29, 39, 54, 0) 72%);
animation: intercom-lightweight-app-gradient 200ms ease-out;
}
.intercom-lightweight-app-launcher {
position: fixed;
z-index: 2147483003;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
border-radius: 50%;
background: #3C88B8;
cursor: pointer;
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06), 0 2px 32px 0 rgba(0, 0, 0, 0.16);
transition: transform 167ms cubic-bezier(0.33, 0.00, 0.00, 1.00);
}
.intercom-lightweight-app-launcher:focus {
outline: none;
}
.intercom-lightweight-app-launcher-icon {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
width: 60px;
height: 60px;
transition: transform 100ms linear, opacity 80ms linear;
}
.intercom-lightweight-app-launcher-icon-open {
opacity: 1;
transform: rotate(0deg) scale(1);
}
.intercom-lightweight-app-launcher-icon-open svg {
width: 28px;
height: 32px;
}
.intercom-lightweight-app-launcher-icon-open svg path {
fill: rgb(255, 255, 255);
}
.intercom-lightweight-app-launcher-icon-self-serve {
opacity: 1;
transform: rotate(0deg) scale(1);
}
.intercom-lightweight-app-launcher-icon-self-serve svg {
height: 56px;
}
.intercom-lightweight-app-launcher-icon-self-serve svg path {
fill: rgb(255, 255, 255);
}
.intercom-lightweight-app-launcher-custom-icon-open {
max-height: 36px;
max-width: 36px;
opacity: 1;
transform: rotate(0deg) scale(1);
}
.intercom-lightweight-app-launcher-icon-minimize {
opacity: 0;
transform: rotate(-60deg) scale(0);
}
.intercom-lightweight-app-launcher-icon-minimize svg {
width: 16px;
}
.intercom-lightweight-app-launcher-icon-minimize svg path {
fill: rgb(255, 255, 255);
}
.intercom-lightweight-app-messenger {
position: fixed;
z-index: 2147483003;
overflow: hidden;
background-color: white;
animation: intercom-lightweight-app-messenger 250ms cubic-bezier(0, 1.2, 1, 1);
transform-origin: bottom right;
width: 376px;
height: calc(100% - 40px);
max-height: 704px;
min-height: 250px;
right: 20px;
bottom: 20px;
box-shadow: 0 5px 40px rgba(0,0,0,0.16);
border-radius: 8px;
}
.intercom-lightweight-app-messenger-header {
height: 75px;
background: linear-gradient(
135deg,
rgb(29, 31, 35) 0%,
rgb(0, 0, 0) 100%
);
}
.intercom-lightweight-app-messenger-footer{
position:absolute;
bottom:0;
width: 100%;
min-height: 81px;
background: #fff;
font-size: 14px;
line-height: 21px;
border-top: 1px solid rgba(0, 0, 0, 0.05);
box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.05);
}
@media print {
.intercom-lightweight-app {
display: none;
}
}
</style></div></body></html>