synthetic-gravity-waves
Python package for generating synthetic gravity waves used in machine learning training
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: acm.org, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.9%) to scientific vocabulary
Repository
Python package for generating synthetic gravity waves used in machine learning training
Basic Info
- Host: GitHub
- Owner: leifdenby
- License: mit
- Language: Jupyter Notebook
- Default Branch: master
- Size: 1.35 MB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
Synthetic gravity waves
This python package facilitates the creation of 2D synthetic atmospheric gravity-wave wave-packets mimicking the vertical velocity structure seen in numerical weather prediction models at fixed height or pressure levels.

Installation and usage
Install the package with pip from pypi.org
bash
python -m pip install synthetic_gravity_waves
And the import synthetic_gravity_waves and use it to create a uniformly gridded vertical velocity field with synthetic gravity wave wave-packets:
```python import syntheticgravitywaves as sgw
phi = sgw.makesyntheticgravitywavecomposite(N=512, r_sigma=10.0, r0=80.0, lw0=10.0)
w0 = 5.0 # max characteristc vertical velocity [m/s] w = phi * w0
w now contains synthetic gravity wave packets with amplitude between -w0 and w0
```
Method

The method uses a point-sampling method based on the
Poisson-disc sampling algorithm by Robert
Bridson,
but modified to in place of using a 2D density field to define the local
density of points the spatial separation between points is sampled from a
Gaussian distribution with mean r0 and standard deviation r_sigma. The
sampling is done on a grid of shape (N, N). At the sampled points 2D Gaussians envelopes modulating plane-parallel carrier waves with a controllable characterisc wavelength.
See notebooks/usage.ipynb for details.
References
Fast Poisson disk sampling in arbitrary dimensions , Bridson, R. (2007). Fast Poisson disk sampling in arbitrary dimensions. SIGGRAPH sketches, 10(1), 1. PDF
poissonDiskSampling by Adrian Bittner.
Owner
- Name: Leif Denby
- Login: leifdenby
- Kind: user
- Company: Copenhagen, DK
- Website: leif.denby.eu
- Repositories: 254
- Profile: https://github.com/leifdenby
Senior Scientist, Danish Meteorological Institute, DK & Visiting Scientist, University of Leeds, UK
Citation (CITATION.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Leif
given-names: Denby
orcid: https://orcid.org/0000-0002-7611-9222
title: leifdenby/synthetic-gravity-waves: v0.1.0
version: v0.1.0
date-released: 2023-01-27
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Leif Denby | l****f@d****u | 8 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 6
- Average time to close issues: N/A
- Average time to close pull requests: 3 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- leifdenby (6)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 10 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
pypi.org: synthetic-gravity-waves
Python package for generation of synthetic gravity waves
- Homepage: https://github.com/leifdenby/synthetic-gravity-waves
- Documentation: https://synthetic-gravity-waves.readthedocs.io/
- License: mit
-
Latest release: 0.1.2
published about 3 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- pre-commit/action v2.0.3 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- casperdcl/deploy-pypi v2 composite
- actions/checkout v2 composite