Commit bb1c6c9f authored by Matteo Quintiliani's avatar Matteo Quintiliani

Fixed bug: from now on, nmxptool will always create big-endian

           mini-SEED records (C. Trabant).


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1414 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 9ef9c934
......@@ -2,7 +2,12 @@
nmxptool Release History
#########################
* Release 2.1.1-rc2 (2012/03/13)
* Release 2.1.1-rc3 (2012/03/23)
- Fixed bug: from now on, nmxptool will always create big-endian
mini-SEED records (C. Trabant)
SEED utilizes the Big Endian word order as its standard.
In 2003, the FDSN adopted the format rule that Steim1 and Steim2
data records are to be written with the big-endian encoding only.
- Improvement: restart connection if any data is received within 60 seconds
timeout = (NMXP_HIGHEST_TIMEOUT * 2)
- News: windows binary distribution is available again.
......
......@@ -342,6 +342,7 @@ architectures.
* Efthimios Sokos - (University of Patras - Greece)
* Roman Racine - (ETH Zurich - Swiss Seismological Service)
* Jean-Marie Saurel - (Institut de Physique du Globe de Paris)
* Chad Trabant - IRIS (Incorporated Research Institutions for Seismology)
- LICENSE
......
......@@ -13,7 +13,7 @@ m4_define([major_version], [2])
m4_define([minor_version], [1])
m4_define([micro_version], [1])
# Comment build_version for stable release
m4_define([build_version], [rc2])
m4_define([build_version], [rc3])
m4_ifdef([build_version], [
m4_define([version],
......@@ -350,6 +350,13 @@ AC_CONFIG_FILES([Makefile
AC_OUTPUT
# AC_MSG_NOTICE([
# Enabled features: libmseed ($enable_ew), SeedLink ($enable_seedlink), Earthworm ($enable_ew).])
AC_MSG_NOTICE([Enabled features
libmseed : $enable_ew
SeedLink : $enable_seedlink
Earthworm: $enable_ew])
AC_MSG_NOTICE([
Compile nmxptool using 'make'.])
......
......@@ -1038,7 +1038,11 @@ int nmxp_data_msr_pack(NMXP_DATA_PROCESS *pd, NMXP_DATA_SEED *data_seed, void *p
data_seed->pmsr = pmsr;
/* Populate MSRecord values */
msr->byteorder = nmxp_data_bigendianhost ();
/* SEED utilizes the Big Endian word order as its standard.
* 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->sampletype = 'i'; /* declare type to be 32-bit integers */
if(pd) {
......
......@@ -1583,8 +1583,11 @@ int nmxptool_msr_send_mseed(NMXP_DATA_PROCESS *pd) {
msr->starttime = MS_EPOCH2HPTIME(pd->time);
msr->samprate = pd->sampRate;
/* msr->byteorder = 0; */ /* big endian byte order */
msr->byteorder = nmxp_data_bigendianhost ();
/* SEED utilizes the Big Endian word order as its standard.
* 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->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