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.
Metadata
Release files for GeoCS 1.0.3
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 |
|---|---|---|---|---|
| geocs-1.0.3.tar.gz | 8.0 MB | Without provenance | Details for geocs-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geocs-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for geocs-1.0.3-py3-none-any.whl |
Total release size: 8.1 MB
Release files / geocs-1.0.3.tar.gz
| Download URL | geocs-1.0.3.tar.gz |
|---|---|
| Size | 8.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51e2432a45d0fb586de6622ac171f8d8632172426f639507ee9ea24aab2c0dc4
|
|
BLAKE2b-256 checksum How to use checksums |
929ac98d0f23ed314e05287c25dbd6cd477f889cdd804a264a46cde8706f35d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / geocs-1.0.3-py3-none-any.whl
| Download URL | geocs-1.0.3-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3618e273d982607bb3fe07d1bf166d311b5957243a01f2d466777b96747c063
|
|
BLAKE2b-256 checksum How to use checksums |
ca44a835195e8d4e7f4741427a9ebd114d036df007047cd33864e422ed36f36b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for GeoCS 1.0.3
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.