Update Homebrew Formula iris-edu/libmseed to v3 #59
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.19.8
->v3.1.3
Release Notes
iris-edu/libmseed (iris-edu/libmseed)
v3.1.3
Compare Source
/FDSN/Sequence
) if present when writing format v2v3.1.2
Compare Source
msr3_nsperiod()
to calculate the sample period in nanoseconds.v3.1.1
Compare Source
v3.1.0
Compare Source
The following data structure and API changes are included in this release:
MS3Record.encoding
nowint16_t
instead ofint8_t
.MS3Record.datalength
nowuint32_t
instead ofuint16_t
(change in 3.0.18).MS3Record.datasize
andMS3TraceSeg.datasize
nowuint64_t
instead ofsize_t
.ms3_detect()
now returnsint64_t
instead ofint
.mstl3_unpack_recordlist()
'soutputsize
argument is nowuint64_t
instead ofsize_t
.mseh_get_ptr_r()
'smaxlength
is nowuint32_t
instead ofsize_t
.The decision to change the API (and not move to a new major version) was not easy. The precipitating change
was that the
MS3Record.datalength
value was too small to accommodate the value in the format specification.This means the library would not be future proof to properly detect all records of the format, and, while it could
read and write the commonly-used, small records, it would eventually fail in a bad way. With this unfortunate
breakage the opportunity was taken to apply a few more breaking changes, in particular the encoding value
can now represent the entire range allowed in the format.
The v3.1.0 release API is now stable and semantic versioning can be expected.
The fixes in this release include:
v3.0.18
Compare Source
MAXRECLEN
from 131,172 to 10,485,760 (10 MiB) for v3 records.MAXRECLENv2
as 131,172 (131+ KiB) to limit miniSEED v2 records and add test for sample counts beyond the 16-bit field limit in v2 records when packing.LMIO_FD
type of reading IO via arbitrary file descriptor and hooks for setting.mseh_replace()
to replace extra headers.ms_readleapsecondfile()
for sources of leap-seconds.list.ms_nslc2sid()
requires all codes except location to be set to reduce misuse.v3.0.17
Compare Source
v3.0.16
: , major new version releaseCompare Source
This is the initial stable release of major version 3 of library.
This release supports reading and writing of both miniSEED 3 and miniSEED 2 (defined as a subset of SEED 2.4). When reading data the format version is auto-detected so programs using the library can be agnostic to the format version.
Documentation can be found here:
https://earthscope.github.io/libmseed
A guide for porting from previous major version releases is here:
https://earthscope.github.io/libmseed/porting-guide.html
Changes since the previous (pre-release) of this major version:
msr3_duplicate()
for certain casesconst
qualifiers to pointer values where the library interface does not modify the data. Thanks @damb!v3.0.15
Compare Source
v3.0.14
Compare Source
WARNING: BREAKING API CHANGES - API is now frozen for the pre-releases
This is an extra large release in expectation of becoming the initial stable release of the major version 3 library.
This release contains the following API changes:
The
fpos
andlast
arguments ofms3_readmsr()
,ms3_readmsr_r()
, andms3_readmsr_selection()
have been removed. The same capabilities are available and details are included in the porting guide.The
MS3TraceList.numtraces
member was renamedMS3TraceList.numtraceids
to clarify.The
ptr
argument, previously namedpath
, to mseh_get and mseh_set routines is now in JSON Pointer (RFC 6901) format. This is a more appropriate, and standardized, format than the pseudo-JSON Path, dotted string style previously used. It also allows more flexibility such as specification of an array element.The
mseh_get_path_r()
andmseh_set_path_r()
were previously named without the_r
suffix, now take a additionalparsestate
argument. This functionality allows the parsed extra headers to be retained between calls to avoid re-parsing. For advanced usage, this allows more efficient getting or setting of multiple extraheader values. If used, this state information must be free'd withmseh_free_parsestate()
. If used withmseh_set_path_r()
the headers must also be serialized withmseh_serialize()
.mstl3_printtracelist() now takes an additional
versions
argument. When non-zero the routine will decorate SIDs with publication versions.The
MS3TraceID
structure is no longer a simple linked list. Instead, it is a skip list, slightly changing the syntax for traversing the list as illustrated in the examples.Furthermore, this release contains the following changes:
mseh_set_ptr_r()
using the value typeM
. This allows flexible modification, including deletes, of extra header values.mstl3_findID()
function for searching a trace list for specific SourceID and, optionally, publication version.mstl3_addmsr_recordptr()
for the case of duplicate records.ms_sid2nslc()
andms_nslc2sid()
to guarantee input will not be modified.-F
option to set the format version to create.mseh_get_path_r()
andmseh_set_path_r()
now accept a value type ofi
that is used with int64_t values.nstime_t
special value ofNSTUNSET
for use as "unset" meaning.LIBMSEED_NO_THREADING
declaration.DE_ASCII
toDE_TEXT
to generalize to UTF-8, legacy mapping provided.MS3Tolerance_INITIALIZER
forMS3Tolerance
values.v3.0.13
Compare Source
ms_readleapsecondfile()
.ISOMONTHDAY_DOY
time string variant, with day-of-year added in parenthesis.ISOMONTHDAY_DOY_Z
format.ms_nstime2timestrz()
function and reformulate to use the '_Z' format definitions.v3.0.12
Compare Source
v3.0.11
Compare Source
v3.0.10
Compare Source
ms3_readtracelist_selection()
(#80) by @anowacki.selection.pubversion
to0
inms3_readtracelist_timewin()
by @Cuda-Chen.MS_HPTIME2NSTIME
andMS_NSTIME2HPTIME
macros to convert to/from version 2.x time values. HPTIME values in version 2.x support microsecond resolution, whereas NSTIME values in 3.x support nanosecond resolution.v3.0.9
Compare Source
v3.0.8
Compare Source
const char *
Note: the data format written by default by this library is not miniSEED 2 and cannot be read by any software that has not been updated to support the new format. miniSEED 2 can be written by this library if desired.
v3.0.7
Compare Source
Note: the data format written by default by this library is not miniSEED 2 and cannot be read by any software that has not been updated to support the new format. miniSEED 2 can be written by this library if desired.
v3.0.6
Compare Source
Note: the data format written by default by this library is not miniSEED 2 and cannot be read by any software that has not been updated to support the new format. miniSEED 2 can be written by this library if desired.
v3.0.5
Compare Source
Note: the data format written by default by this library is not miniSEED 2 and cannot be read by any software that has not been updated to support the new format. miniSEED 2 can be written by this library if desired.
v3.0.4
Compare Source
v3.0.3
Compare Source
install
target of Makefile that no longer function, thanks @senshu!Note: data written by this version of the library cannot be read by the previous version. A future release may include write support for miniSEED 2.
v3.0.2
Compare Source
MSF_MAINTAINMSTL
flag.Note: data written by this version of the library cannot be read by the previous version. A future release may include write support for miniSEED 2.
v3.0.1
Compare Source
Note: this is a pre-release.
The API is more or less finished but should not be considered stable until a stable release.
Changes since pre-release v3.0.0:
Note: data written by this version of the library cannot be read by the previous version. A future release may include write support for miniSEED 2.
v3.0.0
: Initial release of major version 3 of libraryCompare Source
This release contains support for next generation miniSEED format.
Note: this is a pre-release.
The API is more or less finished but should not be considered stable until a stable release.
New documentation page is here:
https://iris-edu.github.io/libmseed/
A guide for porting from previous releases of the library is here:
https://iris-edu.github.io/libmseed/porting-guide.html
See the change log for details of major changes
Note: data written by this version of the library cannot be read by the previous version. A future release may include write support for miniSEED 2.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.