📄 changelog
字号:
2008.220: 2.1.6 - Optimize Steim 1 & 2 encoders significantly by using small local working buffers and eliminating many redundant calculations. Thanks to Jean-Francois Fels.2008.171: - Add Matlab/GNU Octave interface routines, thanks to Stefan Mertl. - Remove 'const' qualifier from argument of log printing function pointers, too many useless compiler warnings.2008.163: - Allow data record sequence numbers to be NULL values in addition to ASCII numbers. 2008.161: 2.1.5 - Fix string parsing error for IRIS DMC packed files, thanks Sandy! - Use a merge sort algorithm insteam of the bubble sort previsouly used in mst_groupsort(), better performance. - Do raw string manipulation in msr_srcname() and mst_srcname() instead of using sprintf(), slightly better performance. - Do raw string comparison in mst_findmatch() for better performance.2007.228: 2.1.4 - Include compression history for Steim encodings by tracking the last sample value packed for each data stream. For the first record of a stream, a cold-start, the first difference is zero. This included the addition of a StreamState struct and associated pointers for MSRecord and MSTrace which get allocated during packing routines. - Do not adjust start time of record header during packing when sampling rate is zero or negative. - Add ms_hptime2mdtimestr() and ms_btime2mdtimestr routines to create time strings in month-day format, this is the same as the ISO format without the 'T' between the date and time. - Add a 'subsecond' flag argument to all ms_hptime2<string> routines to control the addition of sub-second precision.2007.178: 2.1.3 - Fix log message bug for unknown encoding format while unpacking, this could cause certain systems to segfault if encountered. - Rename MS_UNPACKENCODINGFORMATFALLBACK macro to MS_UNPACKENCODINGFALLBACK to match the actual variable name. - Fix handling of fallback encoding format in unpack.c, worked earlier but had regressed to a broken state. - Remove declaration for lmp_strerror() which does not exist.2007.148: 2.1.2 - Use calloc instead of malloc to allocate and clear a fsdh_s in msr_pack_header_raw() when none is available in the passed MSRecord. Previously this could result in a subtle bug for systems where malloc'd memory is not zeroed. This would only have effected programs that were creating Mini-SEED in a particular way.2007.138: 2.1.1 - Create LMP_BSD platform definition to cover the BSDs including Apple Mac OS X, this replaces LMP_DARWIN. Specifically FreeBSD, OpenBSD, NetBSD and Apple are detected for this platform.2007.118: - Add msr_duplicate() function to duplicate an MSRecord struct. - Use msr_duplicate() in example/msrepack.c example program to track the most current MSRecord as a template for packing.2007.102: 2.1 - Removed caveat comment from mst_groupheal() man page.2007.083: - mst_groupheal() now sorts the MSTraceGroup before it tries to heal the traces, this increases the chances of healing all possible segments. - msr_pack(): add void *handlerdata argument that wil be passed directly to the record_handler(), this is intended to allow private data to be passed from the msr_repack() caller to the record handling routine. - mst_pack(): add void *handlerdata argument that is passed directly to msr_pack() and used as described above. - mst_packgroup(): add void *handlerdata argument that is passed directly to mst_pack() and used as described above. - Add macros for setting the pack & unpack, header & data byte order override variables: MS_PACKHEADERBYTEORDER(X), MS_PACKDATABYTEORDER(X), MS_UNPACKHEADERBYTEORDER(X) and MS_UNPACKDATABYTEORDER(X). - Add macros for setting the unpack encoding format override and encoding format fallback variables: MS_UNPACKENCODINGFORMAT(X) and MS_UNPACKENCODINGFORMATFALLBACK(X). 2007.074: - Fix typos in the docs referring to msr_readtraces() that should be ms_readtraces(), thanks Richard Boaz.2007.034: - mst_groupheal(): fix removal of first trace in group. - mst_groupheal(): reset MSTrace data quality indicator when merged traces do not have matching qualities.2007.030: 2.0 - Set no default CFLAGS and CC variables for building and add a note to the Makefile about using them for build configuration. - Eliminate compiler warning for genutils.c routines.2007.028: - Add new pack file type 8. - Allow 'M' as a valid data record indidator/quality flag.2007.023: - Determine needs for GEOSCOPE decoding and remove the need for using the pow() function and linking with the math library.2007.005: - Fix resetting of global MSFileParam in ms_readmsr_f() when cleanup is requested.2006.363: - Change mst_groupsort() to sort on: srcname, then starttime, then descending endtime and finally sample rate. This moves sample rate to the end of the criteria, the previous order was: srcname, sample rate, starttime and endtime.2006.354: 2.0rc1 - Stamp 2.0rc1. - Fix diagnostic printing bug in pack.c. - Fix ms_gswap.3 man page.2006.346: - Change "get_" prefix for lookup routines to "ms_". - Change ms_encoding() to ms_encodingstr(). - Document ms_errorstr() in the lookup and other man pages. - Document and use ms_log(3) in User Guide/ms_intro(3).2006.344: - Add "ms_" prefix to gswap routines. - Change SWAPBTIME macro to MS_SWAPBTIME.2006.339: 2.0pre8 - Add buffer length sanity check in ms_find_reclen() suggested by Doreen Pahlke. - Change mst_printracelist() and mst_printgaplist() to print "-0" when the gap is 0 (one sample overlap) and "==" when there is no gap.2006.332: - Add memory allocation checks, every allocation is now tested. - Fix usage message for example programs, use fprintf for the long section of the output.2006.331: 2.0pre7 - Add source name to all unpacking error and diagnostic messages. - Add source name to all packing error and diagnostic messages. - Reorganize sanity check code in msr_unpack() to use the MS_ISVALIDHEADER macro. - Add ms_recsrcname() function to calculate the source name for an unpacked record.2006.326: 2.0pre6 - Add ms_readmsr_r() as a reenentrant, thread safe version of what ms_readmsr() used to be and make ms_readmsr() a wrapper for the new reentrant version that uses global file reading parameters. - Use ms_readmsr_r() in ms_readtraces() so that it's now thread safe too. - Add logging.c routines and declarations in libmseed.h. This constitutes a new logging facility that is used throughout the library and can be used by libmseed based programs. The facility allows the caller to redirect all the log, diagnostic and error output from the library to specific functions. The facility also allows user specifed prefixes for all output messages.2006.321: - Prefix all data encoding type defines with DE_ to avoid collision. - Add GEOSCOPE (three subtypes), SRO and DWWSSN data decoders, there are no encoders for these types. - Need of the pow() function now requires linking with -lm (math lib).2006.312: 2.0pre5 - Add MS_ISVALIDBLANK macro to libmseed.h to test memory for valid blank/noise records: valid sequence number followed by ASCII spaces. - Use MS_ISVALIDBLANK in ms_find_reclen() to implicitly find record lengths, when reading ahead the record length can now be determined if then next record is a real data record or a blank record. - Use MS_ISVALIDBLANK in ms_readmsr() to print out a more specific message when skipping blank records as opposed to non-data records records.2006.311: 2.0pre4 - Use MS_ISVALIDHEADER instead of MS_ISDATAINDICATOR when verifying data records when the record length is not autodetected in ms_readmsr(). - In msr_unpack_data() move the test of reallocation directly after the reallocation so it's only tested when actually done. - In msr_unpack_data() include text description of encoding in the unsupported encoding error message.2006.296: 2.0pre3 - Add 'quality' flag argument to mst_srcname() to control the addition of the quality indicator in the srcname. - Add 'quality' flag argument to mst_groupsort() to control the inclusion of quality indicator in the sorting.2006.292: 2.0pre2 - Use memory-aligned swap functions in unpackdata.c for speed.2006.291: - Fix return type of ms_readtraces() on success and documentation. - Tweak verbose flag checking in fileutils.c to avoid spurious msgs. - Add gcc32gprof and gcc64gprof targets to Makefiles for profiling.2006.284: 2.0pre - Fix dynamic target and update API version in Makefile. - Require GCC for shared and dynamic library building. - Include ctype.h header in lmplatform.h for WIN32 platform. 2006.283: - Add function msr_normalize_header() to update the FSDH and blockettes with values at the MSRecord level. - Add 'normalize' flag argument to msr_pack_header() control the calling of msr_normalize_header() when packing. - Change the MSRecord element 'private' to 'prvtptr' to avoid collision with the C++ reserved word. - Add a 'quality' flag argument to msr_srcname() to control the addition of the quality indicator to the srcname. - Move MS_ISVALIDHEADER(X) macro to libmseed.h for general use; this macro tests for valid SEED data record signatures and is used for detection of data records when reading data from files. - Remove two redundant tests of swapflag in Steim-1 decompression. - Declare starttime in msr_starttime() as hptime_t instead of double, testing indicates that this never caused a problem in practice. - Update example programs for API changes. - Add -fPIC to GCCFLAGS in Makefile. - Remove declaration for non-existent ms_verify_header() in libmseed.h (thanks LLoyd Carothers).2006.251: - Add correct swapping of fsdh.numsamples and fsdh.data_offset, problem and fix reported by Doreen Pahlke (thanks!). This fixes packing of data when packing to a byte-order opposite of the host machine.2006.208: version 1.8 - Fix memmove bounds for out-of-time-order data additions in both mst_addmsr() and mst_addspan(). - Fix memory leak in mst_pack() by freeing the temporary MSRecord when no template is used. - Add get_errorstr() function in lookup.c to return text descriptions for specified libmseed return/error codes. - Add gcc32, gcc32debug and gcc64debug targets to Makefiles.2006.182: version 1.7 - Add MS_WRONGLENGTH error code and have msr_unpack() and the file reading routines return it when the read length does not match length specified in the Blockette 1000. This most commonly occurs when either the specified record length or the length of the first record is auto detected and the following record lengths assumed do not match the actual records. - Use MS_ISRATETOLERABLE macro in mst_groupsort() to compare the sampling rates of adjacent trace segments. This is how sampling rates are compared in other routines and will avoid problems associated with testing the equality of floating point values.2006.173: - Remove some of the useless error codes. - Steim compression integrity check failure and sample count mismatch are not fatal unpacking errors, only warnings are printed.2006.172: - Changed return type of ms_readmsr() to int and added a pointer to a pointer to an MSRecord to the arguments. Function now returns status/error codes. - Changed return type of ms_readtraces() to int and added a pointer to a pointer to an MSTraceGroup to the arguments. Function now returns status/error codes. - Changed return type of msr_unpack() to int. Function now returns status/error codes. - Changes to many internal functions to support the new unpacking error code bubble. - Removed the MSRecord.unpackerr element as it is now unneeded. - Found and fixed bug resulting in the assumption that all sample sizes were 8 bytes (which would usually be wrong) during unpacking.2006.124: version 1.6.3 - Fix (int *)packedsamples handling for packing routines. - Fix compilation under Open Watcom (Win32).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -