Coherent sets for Geophysical trajectories.
Project description
GeoCS
A package to calculate coherent sets from geospatial trajectory data.
Installation
pip install GeoCS
Quick Start
The package follows object orientation and is centered around classes handling trajectories (Traj), point-wise distances (Dist), point-cloud boundaries (Bound), and diffusion maps (DiffMap). Each class can be calculated, saved, loaded and plotted.
from GeoCS import Traj, Dist, Bound, DiffMap
from datetime import datetime
T = Traj(path_to_your_trajectories, datetime(Y, M, D, H))
T.load()
r = 1e5 # cut-off radius
k = 15 # scaling parameter
D = Dist(path_to_distances, r=r, k=k, traj_data=T)
D.save()
B = Bound(path_to_boundaries, k=k, convex=True, traj_data=T)
B.save()
eps = 1e5 # diffusion bandwidth
DM = DiffMap(path_to_diffusion_maps, eps=eps, bound_data=B, dist_data=D)
DM.save()
DM.plot()
Documentation
Full documentation is available on readthedocs: https://geocs.readthedocs.io/.
Project repository is at github: https://github.com/hschoeller/GeoCS
Citation
If you use this package in your research, please cite it as:
Schoeller, Henry (2025). GeoCS (Version 1.0.3). Zenodo.
https://doi.org/10.5281/zenodo.14899385
License:
Licensed under the MIT License.
Credits:
Development has been financed by the DFG funded CRC 1114.
Largely based on theory laid out in Banisch & Koltai, 2017. Application and extension in the context of atmospheric flow will be detailed in future publication (Schoeller et. al, 2025). Preprint is available as:
Schoeller, H., Chemnitz, R., Koltai, P., Engel, M., and Pfahl, S.: Assessing Lagrangian Coherence in Atmospheric Blocking, EGUsphere [preprint], https://doi.org/10.5194/egusphere-2024-2173, 2024.
Banisch, Ralf and P ́eter Koltai (Mar. 2017). “Understanding the Geometry of Transport: Diffusion Maps for Lagrangian Trajectory Data Unravel Coherent Sets”. In: Chaos 27.3, p. 035804. issn: 1054-1500, 1089-7682. doi: 10.1063/1.4971788.
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
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 geocs-1.0.3.tar.gz.
File metadata
- Download URL: geocs-1.0.3.tar.gz
- Upload date:
- Size: 8.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e2432a45d0fb586de6622ac171f8d8632172426f639507ee9ea24aab2c0dc4
|
|
| MD5 |
31735065fb16de458de72e6b450e0d0a
|
|
| BLAKE2b-256 |
929ac98d0f23ed314e05287c25dbd6cd477f889cdd804a264a46cde8706f35d3
|
File details
Details for the file geocs-1.0.3-py3-none-any.whl.
File metadata
- Download URL: geocs-1.0.3-py3-none-any.whl
- Upload date:
- Size: 32.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3618e273d982607bb3fe07d1bf166d311b5957243a01f2d466777b96747c063
|
|
| MD5 |
595011bf34c1fc1bdc419f8113569561
|
|
| BLAKE2b-256 |
ca44a835195e8d4e7f4741427a9ebd114d036df007047cd33864e422ed36f36b
|