forked from crotwell/seedCodec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
31 lines (23 loc) · 1.1 KB
/
readme.txt
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
seedCodec
Compression and Decompression
This is a collection of compression and decompression routines
for standard seismic data formats in Java. The goal is to support all
the formats available within seed, but submissions from the broader
community are needed to accomplish this.
The current supported formats are Steim1 (compression and decompression), steim2 (decompression only), DWSSN, CDSN, SRO and the simple float, int,
double, short and 24 bit types.
The distribution jar can be downloaded at
http://www.seis.sc.edu/downloads/seedCodec
To Decompress use the Codec.decompress method. For eample:
int compression = Codec.STEIM1;
byte[] values = ...
int num_points = ...
boolean byte_order = false;
DecompressedData decomp = codec.decompress(compression,
values,
num_points,
byte_order);
seedCodec can be recompiled with the gradlew script, like
./gradlew jar
which will place a recompiled jar in the build/libs directory. See gradle.org
for more information.