Compute seismic sources of ambient noise using wave model hindcast outputs.
Project description
WMSAN Python Package
Description
This package is built to help computation of seismic ambient noise source maps and other products based on the WAVEWATCHIII hindcast output.
Documentation
A detailed documentation is available on this page.
Contents
ww3-source-maps/
|-- LICENSE
|-- pyproject.toml
|-- README.md
|-- mkdocs.yml
|-- docs/
|-- site/
|-- src/
│ └── wmsan/
│ ├── readWW31.py
│ ├── read_hs_p2l.py
│ ├── subfunctions_body_waves.py
│ ├── subfunctions_rayleigh_waves.py
│ └── synthetics.py
│ └── wmsan_to_noisi.py
│ └── temporal_variation.py
│ └── synthetic_CCF.ipynb
│
|-- notebooks/
| └── body_waves/
│ ├── amplification_coeff.ipynb
│ └── microseismic_sources.ipynb
│ └── rayleigh_waves/
│ ├── amplification_coeff.ipynb
│ ├── microseismic_sources.ipynb
│ ├── spectrograms.ipynb
│ ├── rayleigh_source.ipynb
│ └── synthetic_CCF.ipynb
│ └── wmsan_to_noisi.ipynb
│ └── temporal_variations.ipynb
|-- data/
│ ├── C.nc
│ ├── cP.nc
│ ├── cS.nc
│ ├── longuet_higgins.txt
│ ├── stations_pair.txt
│ └── ww3.07121700.dpt
- src/ : contains all Python scripts and subfunctions.
- notebooks/ : contains Jupyter Notebooks with detailed examples on how to use this package. Rayleigh waves and body waves are separated.
- data/: contains additional files used in computation.
Installation
PyPI
The package is available on PyPI.
-
Create an environment and install
-
if you use Conda environments:
conda create --name wmsan conda activate wmsan conda install pip python3 -m pip install wmsanto deactivate your environment:
conda deactivate -
otherwise
python3 -m venv venv source venv/bin/activate python3 -m pip install wmsanto deactivate your environment:
deactivate
-
From Source
- Clone the repository
cd path_to_your_wmsan_directory/
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/tomasetl/ww3-source-maps.git
cd ww3-source-maps/
- Create an environment and install
- if you use Conda environments:
conda create --name wmsan
conda activate wmsan
conda install pip
pip install .
to deactivate your environment:
conda deactivate
- otherwise
python3 -m venv venv
source venv/bin/activate
python3 -m pip install .
to deactivate your environment:
deactivate
Dependencies
Where should I start ?
Architecture of WMSAN Python Package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 wmsan-2024.0.5.tar.gz.
File metadata
- Download URL: wmsan-2024.0.5.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
697d0e01faaa3bd1f7e8e25520d2bc7677daf7c2f5b029877ea3d3d11b5b539d
|
|
| MD5 |
54ec1872f180389f03565abec87e9bb2
|
|
| BLAKE2b-256 |
1936e4b53544b97adcefde4e6989353d342155f413029785bab861722fdd9bec
|
File details
Details for the file wmsan-2024.0.5-py3-none-any.whl.
File metadata
- Download URL: wmsan-2024.0.5-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1090265294e82f40f89d11c13c3a4426e53cde1fd163ea9d0dc299e3caa920b8
|
|
| MD5 |
61a01b49b16949cd819c27fe69e60ab6
|
|
| BLAKE2b-256 |
6a386eb0b894003fde9ff55c77d72cd05d5108cf1ecb9ef9fcf77192a0f1e1f6
|