Skip to main content

DOI

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geocs-1.0.3.tar.gz (8.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geocs-1.0.3-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

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

Hashes for geocs-1.0.3.tar.gz
Algorithm Hash digest
SHA256 51e2432a45d0fb586de6622ac171f8d8632172426f639507ee9ea24aab2c0dc4
MD5 31735065fb16de458de72e6b450e0d0a
BLAKE2b-256 929ac98d0f23ed314e05287c25dbd6cd477f889cdd804a264a46cde8706f35d3

See more details on using hashes here.

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

Hashes for geocs-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3618e273d982607bb3fe07d1bf166d311b5957243a01f2d466777b96747c063
MD5 595011bf34c1fc1bdc419f8113569561
BLAKE2b-256 ca44a835195e8d4e7f4741427a9ebd114d036df007047cd33864e422ed36f36b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page