Skip to main content

Pyasdf

Python module for the Adaptable Seismic Data Format (ASDF).

PyPI Version | Conda Version | Conda Platforms | License | Build Status


Python library to read and write ASDF files.


Landing page for all things ASDF: https://seismic-data.org

This is the Adaptable Seismic Data Format - if you are looking for the Advanced Scientific Data Format, go here: https://asdf.readthedocs.io/en/latest/

Documentation

Logo

Changelog

Version 0.8.2 (August 21, 2025)

  • Compatibility with NumPy 2.

Version 0.8.1 (August 3, 2023)

  • Fix a bug with the conda package.

Version 0.8.0 (August 3, 2023)

  • Drop support for Python <= 3.8.
  • Support for the latest versions of all dependencies including Python 3.11.
  • Internal code modernization.

Version 0.7.5 (April 16, 2021)

  • Fix an issue when appending waveforms of less than one second in length.

Version 0.7.4 (August 21, 2020)

  • Workaround for an issue with HDF5 on PPC64.

Version 0.7.3 (July 22, 2020)

  • Use a different way to copy the StationXML data in the process() function so it no longer gets stuck for large runs with MPI. See #62.

Version 0.7.2 (July 22, 2020)

  • Replaced some numpy functionality that will be deprecated in future numpy versions.
  • Warnings will now raise when running the tests.

Version 0.7.1 (June 15, 2020)

  • Write namespace abbreviations so that ObsPy can read the written StationXML files again with the other namespaces.

Version 0.7.0 (June 14, 2020)

  • More conservative merging of stations. Stations are now only merged if everything except start and end date and the channels are the same. Otherwise they are not merged and will be retained. See #61. This might result in some slightly larger StationXML files in the ASDF files but should make no difference for downstream tools so it should affect users.

Version 0.6.1 (April 9, 2020)

  • pytest is no longer a runtime dependency.

Version 0.6.0 (March 19, 2020)

  • Drop support for Python <= 3.6.
  • Fix a few deprecations warnings in Python >= 3.7.
  • flake8 and pytest no longer are runtime dependencies.
  • Get rid of the special warnings handler as it interferes with other packages.

Version 0.5.1 (September 24, 2019)

  • Restore the ability to run tests with python -m pyasdf.tests.

Version 0.5.0 (September 24, 2019)

  • Implement ASDF version 1.0.3 which allows a bit more flexibility regarding names of auxiliary data sets as well as provenance files.
  • New .waveform_tags property for the dataset object return a set of all available waveform tags (see #46, #47)

Version 0.4.0 (March 12, 2018)

  • Support for ASDF version 1.0.2. Allows writing traces that are less than one second short (see #44, #45).
  • New get_waveform_attributes() method to quickly get all attributes for the waveforms of a stations (see #38, #39).

Version 0.3.0 (October 19, 2017)

  • Support for ASDF 1.0.1 (the only difference to 1.0.0 is support for 16 bit integer waveform data).

Version 0.2.1 (September 21, 2017)

  • Don't attempt to write ASDF header info to files in read-only mode.
  • get_coordinates() now works for StationXML files with a very large number of comments.
  • Station.getattr() now works with underscores or dots as the network and station separator.
  • contains() implemented for the station accessor object.

Version 0.2.0 (April 7, 2017)

  • New script to convert a folder of SAC files to ASDF.

Version 0.1.4 (March 9, 2017)

  • More visible warnings on Python 2 if necessary.

Version 0.1.3 (March 8, 2017)

  • Now also works with Python 3 under windows.

Version 0.1.2 (March 7, 2017)

  • Also shipping license file.

Version 0.1.1 (March 7, 2017)

  • Stable, tagged version.

Release files for pyasdf 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyasdf 0.8.2
File Size Uploaded
pyasdf-0.8.2.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyasdf 0.8.2
File Interpreter ABI Platform
pyasdf-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size:2.8 MB

Release files / pyasdf-0.8.2.tar.gz

Download URL pyasdf-0.8.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
c33ebe6843b6b0553bd6dc2e2511c67765fd875fb3af4c4e11f537ee0c16facd
BLAKE2b-256 checksum
How to use checksums
dc88b708ef6201b05c8bebbe606ef3a97bacfd9bef6122da2c804ea9c76e0c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release files / pyasdf-0.8.2-py3-none-any.whl

Download URL pyasdf-0.8.2-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f7234438291933882abcf6615c71500e104327f5836f4719e8cdc06010e628b4
BLAKE2b-256 checksum
How to use checksums
6b98fa1659e5a9aa9de65b21e0ba41c8c9567693cce56e61aa5b6527d0f9ed7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.0.1a0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page