Skip to main content

Asdfy


A library to process ASDFDataSet(s) from pyasdf.


Prerequisites

pyasdf
mpi4py

Installation

pip install asdfy

Usage

Basic usage
from asdfy import ASDFProcessor
ASDFProcessor('input.h5', 'output.h5', process_func).run()
Defailed explination

TBD. Refer to tests/main.py for now. To run tests:

cd tests
mpi4un -n 4 python main.py

ASDFProcessor

src
Union[str, Iterable[str]]

Path to input ASDFDataSet(s)

dst
str

Path to output ASDFDataSet

func
Callable[..., ASDFOutput]

Processing function, each argument correspond to an input dataset.

input_type
Literal['stream', 'trace', 'auxiliary', 'auxiliary_group'] = 'trace'

Type of input data

input_tag
Optional[str] = None

Input waveform tag or auxiliary group, None for using the first available

output_tag
Optional[str] = None

Output waveform tag or auxiliary group, None for using input_tag or input_type

accessor
bool = False

Pass the origional accessor to the processing function. Set to .True. if you need event or station info.

onerror
Optional[Callable[[Exception], None]] = None

Callback when error occurs

Metadata

Release files for asdfy 0.1.18

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

Source distribution (sdist)

Source distribution for asdfy 0.1.18
File Size Uploaded Provenance Actions
asdfy-0.1.18.tar.gz 7.5 kB Without provenance Details for asdfy-0.1.18.tar.gz

Built distribution (wheel)

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

Total release size: 16.2 kB

Release files / asdfy-0.1.18.tar.gz

Download URL asdfy-0.1.18.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b7fba1dbc427274f895c0a9ec02dc90ed08543648e04ead38b5a665ae4e9ad8a
BLAKE2b-256 checksum
How to use checksums
ab954f5570f23cd9ba7223f153d6eabffcd0315818a15e22ecad8cd8a4b33946
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.6

Release files / asdfy-0.1.18-py3-none-any.whl

Download URL asdfy-0.1.18-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5424d06d4948bebcb9f6e827b5972b3d18eb7c79809dfd885402f29663bff392
BLAKE2b-256 checksum
How to use checksums
df42e2cf4b5f0ac0c430da3403eeaa6ec0556f019b242ca03553ba02e3b2ef52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.6.0.post20210108 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.6

Security for asdfy 0.1.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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