MAGMA Seismic
Project description
magma-seismic
Some tools for MAGMA to handle seismic
Install
pip install magma-seismic
Import module
from magma_seismic.download import Download
import magma_seismic
Check version
magma_seismic.__version__
Download from Winston
download = Download(
station='LEKR',
channel='EHZ',
start_date='2025-05-26',
end_date='2025-05-26',
# (int, optional) - download per how many minutes. Default to 60 minutes
period=60,
# (str, optional) - change the output directory. Default to current directory
output_directory=r'D:\Projects\magma-seismic', #change the output directory. Default to current directory
# (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,
)
download.to_idds(
# (bool, optional) - merging or filling empty data. Default to False
use_merge=True,
)
(Optional) - Change winston server
download.set_client(
host='winston address',
port=123456, #winston port
timeout=30
)
Check download result
# will show list of failed download
download.failed
# will show list of successfully download
download.success
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
magma_seismic-0.0.2.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magma_seismic-0.0.2.tar.gz.
File metadata
- Download URL: magma_seismic-0.0.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1518f6b449270faebb70f3669ee32b14b5e3f0618bbaf407e9dca88cbbf92572
|
|
| MD5 |
10bb5382a56d6a27f936ff9e8531650a
|
|
| BLAKE2b-256 |
d15bd4f2ba7187bad114da2b1ad7332552115fd5863e9ca846f415fd3cccaddd
|
File details
Details for the file magma_seismic-0.0.2-py3-none-any.whl.
File metadata
- Download URL: magma_seismic-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58acbb44a64822f6423eda632efb4caa8d7cc0f23bf48c2d7f5c0cf47bf0ad12
|
|
| MD5 |
50da68da13390bcb40f208f38eeece36
|
|
| BLAKE2b-256 |
fd708d0e25e1bbea5b295eca705fe3a22f72c1946d84905c6aff360dc53a7355
|