magma-seismic
Some tools for MAGMA to handle seismic
1. Install
pip install magma-seismic
2. Import module
from magma_seismic.download import Download
import magma_seismic
3. Check version
magma_seismic.__version__
4. Download from Winston
download = Download(
station='LEKR',
channel='EHZ',
start_date='2025-05-26',
end_date='2025-05-26',
# (str, optional)
# Change the output directory.
# Default to current directory
output_directory=r'D:\Projects\magma-seismic',
# (bool, optional)
# Change to False to skip download
# when file already exists.
# Default False
overwrite=True,
# (bool, optional)
# To show detailed process.
# Default to False
verbose=True,
)
4.1 (Optional) Change Winston client
download.set_client(
host='winston address',
port=123456, # winston port
timeout=30
)
4.2 Download to IDDS
download.to_idds(
# (int, optional)
# Download per how many minutes.
# Default to 60 minutes
period=60,
# (bool, optional)
# Merging or filling empty data/gaps.
# Default to False
use_merge=True,
)
4.3 Download to SDS
download.to_sds(
# (bool, optional)
# Merging or filling empty data/gaps.
# Default to False
use_merge=True,
# (int, optional)
# Use it if you unstable connection
# It takes longer to download, but
# can continue if the download failed.
#
# Download per one hour, then merged it as daily
# Value in minutes
chunk_size=60
)
Check download result
# will show list of failed download
download.failed
# will show list of successfully download
download.success
Metadata
Release files for magma-seismic 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| magma_seismic-0.0.6.tar.gz | 9.0 kB | Without provenance | Details for magma_seismic-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| magma_seismic-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for magma_seismic-0.0.6-py3-none-any.whl |
Total release size: 18.9 kB
Release files / magma_seismic-0.0.6.tar.gz
| Download URL | magma_seismic-0.0.6.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaf61a992944429dd5cbcb34189ecb48a2f5c796c05cb9b3e20121c255324baf
|
|
BLAKE2b-256 checksum How to use checksums |
8ab79f447c24711a26fa048d8e4867842a2ff325f8fc424b469f15b230e0dee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / magma_seismic-0.0.6-py3-none-any.whl
| Download URL | magma_seismic-0.0.6-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd1d07dcf12fcd899e76006f096ef9eee47891dcc9eb41ef976579cf35af4a32
|
|
BLAKE2b-256 checksum How to use checksums |
8138f6154d4cb56bd1f4e7dc656f75d1e966e37a1188b37163c0062d01b3e8c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for magma-seismic 0.0.6
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.