Skip to content

Tags: rpratt20/obspy

Tags

0.10.3rc1

ObsPy 0.10.3rc1

Restoring compatibility with NumPy 1.4.

0.10.0

ObsPy 0.10.0:

 - Highlights:
   * Python3 support
   * anaconda support
   * New formats: AH, CNV, Kinemetrics EVT, NDK, NLLOC, PDAS, ZMAP
   * ObsPy licensed under LGPL v3.0 now as a whole.
 - General:
   * Support for Python 3.3 and 3.4 in addition to 2.6 and 2.7
   * ObsPy licensed under LGPL v3.0 now as a whole.
   * More generic processing history for most Stream and Trace methods.
   * Now requires NumPy >= 1.4.0
   * Now requires SciPy >= 0.7.2
   * Tested compatibility with most major Linux distributions still
     receiving updates.
   * The next major obspy release (0.11) will drop support for:
     * Python < 2.7
     * matplotlib < 1.1
     * numpy < 1.6
     * scipy < 0.10
 - obspy.ah
   * New submodule for reading the AH (Ad Hoc) waveform format
 - obspy.arclink:
   * add support for Poles and Zeros type "B" (Analog, Hz), see obspy#899
 - obspy.core:
   * Preview waveform plot improved: interactive updating of ticks and
     ticklabels, correct ticklabels for sub-minute zoom level (obspy#657)
   * fixed a problem with UTCDateTime with timestamps of far future
     dates (larger than 2038, often seen in StationXML end dates,
     see obspy#805)
   * Support for basic custom namespace tags in QuakeML I/O (see obspy#454)
   * `interpolate()` method for Stream/Trace objects.
   * Dictionary values added to an AttribDict will now be converted to an
     AttribDict.
   * Removed custom OrderedDict backport for Python 2.6. Now relies on the one
     provided by the future package.
   * Renamed 'type' argument to 'method' in the Trace.differentiate() method.
   * Renamed 'type' argument to 'method' in the Trace.integrate() method.
     Additionally, several broken alternate methods have been removed.
   * new plugins for NonLinLoc formats for readEvents() and
     Catalog/Event.write() (see obspy.nlloc and obspy#900)
   * The wrap_long_string utility function is deprecated. Users may use the
     textwrap module which provides similar functionality.
   * new plugin for CNV event format (used by VELEST) for
     Catalog/Event.write() (see obspy.cnv and obspy#905)
   * better customizable control during merging traces with sub-sample shift of
     sampling points (see obspy#980)
 - obspy.cnv:
   * new plugin to write CNV event files (used by VELEST) from
     Catalog/Event objects. (see obspy#905)
 - obspy.css:
   * Support for little-endian binary and ASCII files (see obspy#881).
   * Support exporting Inventory objects to CSS relations.
 - obspy.fdsn:
   * WADL files are cached per Python process.
   * Bulk station downloading using POST requests.
   * Support for FDSNWS 1.1, e.g. the `matchtimeseries` parameter for the
     station service.
 - obspy.imaging:
   * Maintain beach ball aspect ratio through optional axes argument (see
     obspy#734)
   * Refactored Catalog.plot() into helper routine
     obspy.imaging.maps.plot_basemap() (see obspy#753).
   * The projections of Catalog.plot() have been modified slightly to provide
     equal-area projections:
     * The `"cyl"` projection is now named `"global"`. It is now the Mollweide
       projection.
     * The '"local"` projection now uses the Albers Equal Area projection.
 - obspy.kinemetrics
   * New submodule for reading the Kinemetrics EVT waveform format
 - obspy.mseed:
   * Support for reading and writing all encodings supported by libmseed.
   * proper error reporting while reading
   * `details=True` when reading will now write to
     `Trace.stats.mseed.blkt1001.timing_quality` instead of
     `Trace.stats.mseed.timing_quality`.
   * The timing quality will now also be written to a file if it is set.
   * Non-existing values when reading with `details=True` will now be set to
     `False` instead of `-1`.
   * New utility function `obspy.mseed.util.set_flags_in_fixed_header()`
     giving the ability to overwrite flags in the fixed header of existing
     MiniSEED files.
   * The sequence number of the first record of each Trace can now be
     specified when writing MiniSEED files.
   * `obspy-mseed-recordanalyzer`:
       - Bugfix: when specifying an out-of-bounds record number, information
         about the last record in the file was displayed (see obspy#957). Now a
         proper error message is shown and the command line script exits
         with non-zero exit code.
       - Faster reading of a single record header
       - Added option "-a" to print information of all records
   * upgrade to libmseed 2.15
 - obspy.ndk:
   * New submodule able to read NDK files from the Global CMT project.
 - obspy.neries:
   * The whole module is deprecated and will be removed with the next major
     release. To access EMSC event data please use the obspy.fdsn client
     (use `Client(base_url='NERIES', ...)`), for access to ORFEUS waveform
     data please use the obspy.fdsn client (use
     `Client(base_url='ORFEUS', ...)`) and for travel times please use
     obspy.taup.
 - obspy.nlloc:
   * new plugins to write NonLinLoc Phase observations files from
     Catalog/Event objects and to read NonLinLoc Hypocenter-Phase file into
     Catalog/Event objects. (see obspy#900)
 - obspy.pdas:
   * read support for PDAS waveform files
 - obspy.sac:
   * New `byteorder` option for writing sac files to disk.
   * Can now read/write from/to file-like objects like io.BytesIO and open
     files.
 - obspy.seedlink:
   * bugfix: INFO responses from the IRIS ringserver are now parsed
     correctly (see obspy#807)
   * New submodule `easyseedlink` providing an easier way to create
     SeedLink clients
   * New `Client` class providing a basic seedlink client for individual
     requests of finite time windows (i.e. non-continuous programs)
   * Fix memory leak in `SLClient` (MiniSEED record leak in packet parser,
     see obspy#918)
 - obspy.seisan:
   * bugfix the actual data were misaligned by one
 - obspy.seishub:
   * use specified timeout in all requests to server (see obspy#786)
   * Helper method `Client.event.getEvents()` to fetch a `Catalog` object
     from a seishub server of version 1.4.0 or higher.
 - obspy.signal:
   * Increased performance of PPSD plotting.
   * Interpolating methods. Wrappers around routines from scipy and a custom
     `weighted average slopes` method from Wiggins 1976.
   * PPSD has new methods to extract mean and mode of the histogram by
     frequency (see obspy#804)
   * PPSD: water level in instrument correction can now be specified by user
     on PPSD initialization
   * New polarization analysis methods: flinn, vidale, pm
 - obspy.station:
   * add plotting methods (response/bode, location maps) to
     Inventory/Station/Channel/Response objects (see obspy#750)
   * add get_coordinates method to inventory and network objects (see obspy#740)
   * read/write support for DataAvailability tags in StationXML files.
   * write support for SACPZ ASCII representation of channel responses.
 - obspy.taup:
   * Replaced Fortran implementation with much more powerful Python port of
     Java TauP. This enabled us to drop all Fortran code, which simplifies
     releases and builds tremendously.
 - obspy.xseed:
   * add support for Poles and Zeros type "B" (Analog, Hz), see obspy#899
 - obspy.zmap:
   * New module which adds ZMAP read/write support
 - scripts:
   * All scripts now require argparse instead of optparse.
   * All scripts now accept -V or --version to print version information.
   * obspy-dataless2xseed: -v and --version options are renamed to -x and
     --xml-version to not conflict with above option.
   * obspy-indexer: Options have been modified or amended slightly:
     * --data is a new alias to -d.
     * --db-uri is a new alias to -u.
     * --log is a new alias to -l.
     * --poll-interval is a new alias to -i.
     * --recent is a new alias to -r.
     * -a is a new alias to --all-files.
     * -f is a new alias to --force-reindex.
     * -H is a new alias to --host.
     * -p is a new alias to --port.
     * --check_duplicates is renamed to --check-duplicates.
     * --drop_database is renamed to --drop-database.
     * --mapping_file is renamed to --mapping-file.
     * --run_once is renamed to --run-once.
   * obspy-mopad: Options have been modified or amended slightly:
     * convert subcommand:
       * No changes.
     * decompose subcommand:
       * --input_system is renamed to --input-system.
       * --output_system is renamed to --output-system.
     * gmt subcommand:
       * --show_1fp is renamed to --show-1fp.
       * --show_isotropic_part is renamed to --show-isotropic-part.
     * plot subcommand:
       * --basis_vectors is renamed to --basis-vectors.
       * --full_sphere is renamed to --full-sphere.
       * --input_system is renamed to --input-system.
       * --lines_only is renamed to --lines-only.
       * --output_file is renamed to --output-file.
       * --pa_system is renamed to --pa-system.
       * --pressure_colour is renamed to --pressure-colour.
       * --show1fp is renamed to --show-1fp.
       * --show_isotropic_part is renamed to --show-isotropic-part.
       * --tension_colour is renamed to --tension-colour.
   * obspy-plot: --format option is accepted as an alias of -f.
   * obspy-print: Options have been modified or amended slightly:
     * --format is a new alias of -f.
     * --nomerge is renamed to --no-merge.
   * obspy-runtests: -a option is accepted as an alias of --all.
   * obspy-scan: Options have been modified or amended slightly:
     * --endtime is renamed to --end-time.
     * --event-times is renamed to --event-time. --event-time may be specified
       multiple times.
     * --ids is renamed to --id. --id may be specified multiple times.
     * --nox is renamed to --no-x.
     * --nogaps is renamed to --no-gaps.
     * --starttime is renamed to --start-time.

0.9.2

ObsPy 0.9.2

This is a maintenance release and contains the collective bug fixes and minor
feature improvements of around 150 commits so we advice all users to upgrade.

Changelog:
 - general:
   * fix installation on CygWin (see obspy#755)
 - obspy.core:
   * bugfix: Input/Output to/from QuakeML was missing Amplitude
     elements (see obspy#763)
   * fixing very slow response removal for some magic bad values of npts
     (see obspy#715)
   * extend remove_response for polynomial responses
     (thanks to Sebastien/bonaime, see obspy#566)
 - obspy.datamark:
   * bugfix: channel code now correctly read (4 hex char)
   * bugfix: channels can have different sampling rate
   * improvement: datawide 0.5 (4 bits) encoding now supported
   * century of data can now be specified
 - obspy.fdsn:
   * time out errors get raised properly now. timeout can be specified at
     Client initialization now. (see obspy#717)
   * for advanced users: endpoints of any particular service can now be
     specified explicitly (see obspy#754)
   * new known FDSN providers: 'ORFEUS', 'GFZ', 'NERIES'
   * more robust WADL parser
   * the `attach_response=True` argument now uses a faster approach to
     download the station data
 - obspy.imaging:
   * Fixing waveform plotting.
 - obspy.sac:
   * SAC files with two digit year header field are now interpreted as
     "19xx", same as done by SAC (see obspy#779)
 - obspy.seedlink:
   * bugfix: different instances of a SeedLink connection had a shared
     state (see obspy#561)
   * multiple smaller bugfixes (see obspy#777)
   * trailing null characters are now stripped from INFO responses (see obspy#778)
 - obspy.seg2:
   * numbers are now also recognized as months
   * now filters non-printable chars from the header enabling it to read some
     more files
 - obspy.signal:
   * the TF misfits now correctly use logarithmic axes instead of scaling an
     image
 - obspy.station:
   * some bugfixes in the obspy.station object classes (see obspy#710)
   * more robust writing of StationXML in case of missing elements
 - obspy.taup:
   * bugfix: avoid a bug that caused multiple calls to taup to result in
     spurious unexpected results (see obspy#728)

0.9.0

This release contains 1423 commits from 20 contributors. Thanks a bun…

…ch to everyone!

The new key features are full support for the FDSN web services (waveform,
event, and station data) and the FDSN StationXML format including the
calculation of instrument responses directly from StationXML files. Other
notable changes are the support for the Nanometrics Y file format, the CSS
(Center for Seismic Studies) waveform data format, the NEIC PDE bulletin event
catalog files, a new client to access data from the NEIC CWB QueryServer, and
numerous smaller enhancements and bug fixes.

Full Changelog:

 - general:
   * Added mock testing library.
 - obspy.arclink:
   * user keyword is now required during client initialization
 - obspy.core:
   * Stream/Trace.attach_response(): convenience method to attach response to
     traces from inventories.
   * new method Stream/Trace.remove_response() to remove instrument response
     from Response object attached to trace(s), e.g. after parsing a
     StationXML file. Similar to Stream/Trace.simulate(seedresp=...) for
     using a Parser object (from dataless or xseed) or RESP file, but less
     cluttered parameters and without the simulating a different instrument
     part.
   * Updated event classes to QuakeML 1.2 final.
   * Moved obspy.core.event.validate() to obspy.core.quakeml.validate()
   * The writeQuakeML() function, also accessible through
     Catalog.write(..., format="quakeml"), now has an optional keyword
     argument 'validate'. If True, the resulting QuakeML file will be
     validated against the QuakeML schema before being written. An
     AssertionError will be raised in case the validation fails.
   * validation of QuakeML against official schema working now
   * renamed obspy.core.util.types into obspy.core.util.obspy_types (obspy#595)
   * new parameter replace for Enums which allows definition of replaceable
     keywords (fixes obspy#531)
   * Trace.split() will return a stream object containing traces with unmasked
     arrays
   * trim(pad=True, fill_value=xxx) will return a NumPy ndarray as stated in
     the API documentation (obspy#540)
   * read() supports now tar und zip archives and variants (tar.gz, tar.bz2)
   * new options for Stream/Trace.taper() to control the length of the
     tapering for all windowing functions and perform one-sided tapering
   * Many Stream and Trace methods are now chainable, e.g. st.taper().plot()
   * when using Stream/Trace.simulate(seedresp={...})) parameter "date" can
     now be omitted, start time of each trace is used for response lookup then
   * when using Stream/Trace.simulate(seedresp={...})) for parameter
     "filename" instead of the path to a local file now also can be provided
     either a file-like object with RESP information or an obspy.xseed.Parser
     object (e.g. created reading a dataless SEED file).
   * fix Stream.select() when using values like "" or 0, e.g.
     Stream.select(location="") or when filtering by component with a channel
     code less than 3 characters long (now these traces will be omitted from
     the result when filtering by component).
   * fix a bug when merging valid data into a masked trace (see obspy#638)
   * event.ResourceIdentifier objects are now initialized with a QuakeML
     conform string by default, i.e. if no custom prefix is provided during
     initialization.
   * event.ResourceIdentifier.resource_id attribute was renamed to
     event.ResourceIdentifier.id
   * event.ResourceIdentifier now was has a method regenerate_uuid() that
     allows the random hash part to be regenerated for resource identifiers
     with no fixed id string (can be useful to generate a new hash if the
     referred object changes).
   * added a new test that asserts that the whole codebase is valid according
     to the flake8 tool.
   * inverse filtering of catalogs.
   * bugfix: Trace.simulate() now passes the SEED network, station, location,
     and channel identifiers to evalresp.
   * added command line script "obspy-print" to print information on local
     waveform files
   * check if ndim == 1 when setting Trace.data and raise if necessary,
     see obspy#695
   * change waveform_id parameter in obspy.core.event.FocalMechanism to list of
     WaveformStreamID as specified in QuakeML docs (obspy#633)
 - obspy.css:
   * new module for CSS (Center for Seismic Studies) format
   * currently read support for waveform data
 - obspy.db:
   * obspy-indexer script uses from now on hash symbols (#) instead
     of pipe (|) for features because pipe has a special meaning on
     most operating systems
 - obspy.fdsn:
   * new client module to access servers based on the FDSN web service
     definition (http://www.fdsn.org/webservices/)
 - obspy.gse2:
   * read/write STA2 header line which is officialy mandatory but in pratice
     often not used
 - obspy.imaging:
   * more options to customize day plots
   * dayplot now plots matching picks (station, network, location) if a list
     of event objects is provided using the `events` kwarg.
   * obspy-scan: new option --print-gaps
   * added plotting of record sections
   * automatic merging can be disabled for obspy-plot
 - obspy.pde:
   * new module for reading NEIC PDE bulletin files into an obspy catalog
     object. Only the "mchedr" format (file format revision of February 24,
     2004) is supported.
 - obspy.realtime:
   * two new processing plugins (offset, kurtosis)
 - obspy.seg2:
   * adding read support for SEG2 data format code 1 and 2
     (signed 16bit/32bit integer)
 - obspy.segy:
   * fix a bug in plotting (see obspy#689)
 - obspy.signal:
   * adding cross correlation single-station similarity checking with
     master event templates to coincidence trigger
   * add PPSD support for segments of arbitrary length
   * default bin width of PPSD is changed to 1dB. This is the value used by
     McNamara and Buland 2004.
   * fix a bug when using evalresp with RESP files with very short epochs.
     see obspy#631.
   * for seisSim(seedresp={...})) for parameter "filename" instead of the
     path to a local file now also can be provided either a file-like
     object with RESP information or an obspy.xseed.Parser object
     (e.g. created reading a dataless SEED file).
   * seisSim(seedresp={...}): the seedresp dictionary now requires network,
     station, location, and channel keys.
   * removed deprecated psd module - use spectral_estimation module instead
   * removed deprecated sonic function - use array_processing function instead
   * corrected function signature of c_sac_taper
 - obspy.station:
   * adding support for FDSN StationXML
 - obspy.mseed:
   * new kwarg arguments for reading mseed files: header_byteorder and
     verbose
   * libmseed v2.12
 - obspy.neic:
   * new module to access data from CWB QueryServer run at the National
     Earthquake Information Center (NEIC) in Golden, CO USA.
 - obspy.y:
   * adding read support for Nanometrics Y file format
 - scripts:
   * obspy-plot: new option "-o" to output plot to file instead of opening
     a window