Commit 603f47d7 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Fixed big endian byte order for mini-SEED Steim[12] compression

git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1417 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 8b906c6e
......@@ -1042,7 +1042,7 @@ int nmxp_data_msr_pack(NMXP_DATA_PROCESS *pd, NMXP_DATA_SEED *data_seed, void *p
* In 2003, the FDSN adopted the format rule that Steim1 and
* Steim2 data records are to be written with the big-endian
* encoding only. */
msr->byteorder = 0; /* big endian byte order */
msr->byteorder = 1; /* big endian byte order */
msr->sampletype = 'i'; /* declare type to be 32-bit integers */
if(pd) {
......
......@@ -1587,7 +1587,7 @@ int nmxptool_msr_send_mseed(NMXP_DATA_PROCESS *pd) {
* In 2003, the FDSN adopted the format rule that Steim1 and
* Steim2 data records are to be written with the big-endian
* encoding only. */
msr->byteorder = 0; /* big endian byte order */
msr->byteorder = 1; /* big endian byte order */
msr->sequence_number = pd->seq_no % 1000000;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment