geocs

A python package to calculate coherent sets from geospatial trajectory data

https://github.com/hschoeller/geocs

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 9 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Keywords

pack py scie
Last synced: 6 months ago · JSON representation ·

Repository

A python package to calculate coherent sets from geospatial trajectory data

Basic Info
  • Host: GitHub
  • Owner: hschoeller
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 718 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Topics
pack py scie
Created almost 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

DOI

GeoCS

A package to calculate coherent sets from geospatial trajectory data.

Installation

bash 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(pathtoyour_trajectories, datetime(Y, M, D, H)) T.load()

r = 1e5 # cut-off radius k = 15 # scaling parameter

D = Dist(pathtodistances, r=r, k=k, traj_data=T) D.save()

B = Bound(pathtoboundaries, k=k, convex=True, traj_data=T) B.save()

eps = 1e5 # diffusion bandwidth DM = DiffMap(pathtodiffusionmaps, eps=eps, bounddata=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.

Owner

  • Login: hschoeller
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Schoeller
    given-names: Henry
    orcid: https://orcid.org/0000-0001-5594-0700
    affiliation: "Institute of Meteorology, Freie Universität Berlin, Berlin, Germany"
title: "GeoCS"
version: "1.0.3"
date-released: "2025-02-20"
doi: "10.5281/zenodo.14899386"
license: "MIT"

GitHub Events

Total
  • Release event: 3
  • Push event: 6
  • Create event: 2
Last Year
  • Release event: 3
  • Push event: 6
  • Create event: 2

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total 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
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
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 43 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: geocs

Coherent sets for Geophysical trajectories.

  • Documentation: https://geocs.readthedocs.io/
  • License: MIT License Copyright (c) [2024] [Henry Schoeller] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 1.0.3
    published about 1 year ago
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 43 Last month
Rankings
Dependent packages count: 9.6%
Average: 36.3%
Dependent repos count: 63.1%
Maintainers (1)
Last synced: 7 months ago

Dependencies

pyproject.toml pypi
  • cartopy *
  • numpy *
docs/requirements.txt pypi
  • Cartopy ==0.22.0
  • Shapely ==2.0.3
  • alphashape ==1.3.1
  • matplotlib ==3.8.4
  • numpy ==1.26.4
  • scikit_learn ==1.4.1.post1
  • scipy ==1.13.0
  • seaborn ==0.13.2
  • trimesh ==4.2.4
docs/environment.yml conda
  • _libgcc_mutex 0.1
  • _openmp_mutex 4.5
  • alabaster 0.7.16
  • alphashape 1.3.1
  • alsa-lib 1.2.11
  • anyio 4.3.0
  • archspec 0.2.3
  • argcomplete 3.2.3
  • arrow 1.3.0
  • astroid 3.1.0
  • asttokens 2.4.1
  • atomicwrites 1.4.1
  • attr 2.5.1
  • attrs 23.2.0
  • autopep8 2.0.4
  • aws-c-auth 0.7.16
  • aws-c-cal 0.6.10
  • aws-c-common 0.9.14
  • aws-c-compression 0.2.18
  • aws-c-event-stream 0.4.2
  • aws-c-http 0.8.1
  • aws-c-io 0.14.6
  • aws-c-mqtt 0.10.3
  • aws-c-s3 0.5.5
  • aws-c-sdkutils 0.1.15
  • aws-checksums 0.1.18
  • aws-crt-cpp 0.26.4
  • aws-sdk-cpp 1.11.267
  • azure-core-cpp 1.11.1
  • azure-storage-blobs-cpp 12.10.0
  • azure-storage-common-cpp 12.5.0
  • babel 2.14.0
  • beautifulsoup4 4.12.3
  • binaryornot 0.4.4
  • black 24.3.0
  • bleach 6.1.0
  • blosc 1.21.5
  • boltons 24.0.0
  • branca 0.7.1
  • brotli 1.1.0
  • brotli-bin 1.1.0
  • brotli-python 1.1.0
  • bzip2 1.0.8
  • c-ares 1.27.0
  • ca-certificates 2024.2.2
  • cairo 1.18.0
  • cartopy 0.22.0
  • certifi 2024.2.2
  • cffi 1.16.0
  • cfitsio 4.4.0
  • chardet 5.2.0
  • charset-normalizer 3.3.2
  • click 8.1.7
  • click-log 0.4.0
  • click-plugins 1.1.1
  • cligj 0.7.2
  • cloudpickle 3.0.0
  • cmarkgfm 0.8.0
  • colorama 0.4.6
  • colorlog 6.8.2
  • comm 0.2.2
  • conda 24.3.0
  • conda-build 24.3.0
  • conda-index 0.4.0
  • conda-libmamba-solver 24.1.0
  • conda-package-handling 2.2.0
  • conda-package-streaming 0.9.0
  • contourpy 1.2.0
  • cookiecutter 2.6.0
  • cryptography 42.0.5
  • cycler 0.12.1
  • dbus 1.13.6
  • debugpy 1.8.1
  • decorator 5.1.1
  • defusedxml 0.7.1
  • diff-match-patch 20230430
  • dill 0.3.8
  • distlib 0.3.8
  • distro 1.9.0
  • docopt 0.6.2
  • docstring-to-markdown 0.15
  • docutils 0.20.1
  • editables 0.5
  • entrypoints 0.4
  • exceptiongroup 1.2.0
  • executing 2.0.1
  • expat 2.6.2
  • filelock 3.13.3
  • fiona 1.9.6
  • flake8 7.0.0
  • fmt 10.2.1
  • folium 0.16.0
  • font-ttf-dejavu-sans-mono 2.37
  • font-ttf-inconsolata 3.000
  • font-ttf-source-code-pro 2.038
  • font-ttf-ubuntu 0.83
  • fontconfig 2.14.2
  • fonts-conda-ecosystem 1
  • fonts-conda-forge 1
  • fonttools 4.50.0
  • freetype 2.12.1
  • freexl 2.0.0
  • furo 2024.1.29
  • gdal 3.8.4
  • geopandas 0.14.3
  • geopandas-base 0.14.3
  • geos 3.12.1
  • geotiff 1.7.1
  • gettext 0.21.1
  • giflib 5.2.1
  • glib 2.80.0
  • glib-tools 2.80.0
  • graphite2 1.3.13
  • gst-plugins-base 1.22.9
  • gstreamer 1.22.9
  • h11 0.14.0
  • h2 4.1.0
  • harfbuzz 8.3.0
  • hatch 1.9.4
  • hatchling 1.21.1
  • hdf4 4.2.15
  • hdf5 1.14.3
  • hpack 4.0.0
  • httpcore 1.0.4
  • httpx 0.27.0
  • hyperframe 6.0.1
  • hyperlink 21.0.0
  • icu 73.2
  • idna 3.6
  • imagesize 1.4.1
  • importlib-metadata 7.1.0
  • importlib_metadata 7.1.0
  • importlib_resources 6.4.0
  • inflection 0.5.1
  • iniconfig 2.0.0
  • intervaltree 3.1.0
  • ipykernel 6.29.3
  • ipython 8.22.2
  • isort 5.13.2
  • jaraco.classes 3.3.1
  • jaraco.context 4.3.0
  • jaraco.functools 4.0.0
  • jedi 0.19.1
  • jeepney 0.8.0
  • jellyfish 1.0.3
  • jinja2 3.1.3
  • joblib 1.3.2
  • json-c 0.17
  • jsonpatch 1.33
  • jsonpointer 2.4
  • jsonschema 4.21.1
  • jsonschema-specifications 2023.12.1
  • jupyter_client 8.6.1
  • jupyter_core 5.7.2
  • jupyterlab_pygments 0.3.0
  • kealib 1.5.3
  • keyring 25.0.0
  • keyutils 1.6.1
  • kiwisolver 1.4.5
  • krb5 1.21.2
  • lame 3.100
  • lcms2 2.16
  • ld_impl_linux-64 2.40
  • lerc 4.0.0
  • libabseil 20240116.1
  • libaec 1.1.3
  • libarchive 3.7.2
  • libblas 3.9.0
  • libboost-headers 1.84.0
  • libbrotlicommon 1.1.0
  • libbrotlidec 1.1.0
  • libbrotlienc 1.1.0
  • libcap 2.69
  • libcblas 3.9.0
  • libclang 15.0.7
  • libclang13 15.0.7
  • libcrc32c 1.1.2
  • libcups 2.3.3
  • libcurl 8.6.0
  • libdeflate 1.20
  • libedit 3.1.20191231
  • libev 4.33
  • libevent 2.1.12
  • libexpat 2.6.2
  • libffi 3.4.2
  • libflac 1.4.3
  • libgcc-ng 13.2.0
  • libgcrypt 1.10.3
  • libgdal 3.8.4
  • libgfortran-ng 13.2.0
  • libgfortran5 13.2.0
  • libglib 2.80.0
  • libgomp 13.2.0
  • libgoogle-cloud 2.22.0
  • libgoogle-cloud-storage 2.22.0
  • libgpg-error 1.48
  • libgrpc 1.62.1
  • libiconv 1.17
  • libjpeg-turbo 3.0.0
  • libkml 1.3.0
  • liblapack 3.9.0
  • liblief 0.14.1
  • libllvm15 15.0.7
  • libmamba 1.5.8
  • libmambapy 1.5.8
  • libnetcdf 4.9.2
  • libnghttp2 1.58.0
  • libnsl 2.0.1
  • libogg 1.3.4
  • libopenblas 0.3.26
  • libopus 1.3.1
  • libpng 1.6.43
  • libpq 16.2
  • libprotobuf 4.25.3
  • libre2-11 2023.09.01
  • librttopo 1.1.0
  • libsndfile 1.2.2
  • libsodium 1.0.18
  • libsolv 0.7.28
  • libspatialindex 1.9.3
  • libspatialite 5.1.0
  • libsqlite 3.45.2
  • libssh2 1.11.0
  • libstdcxx-ng 13.2.0
  • libsystemd0 255
  • libtiff 4.6.0
  • libuuid 2.38.1
  • libvorbis 1.3.7
  • libwebp 1.3.2
  • libwebp-base 1.3.2
  • libxcb 1.15
  • libxcrypt 4.4.36
  • libxkbcommon 1.7.0
  • libxml2 2.12.6
  • libzip 1.10.1
  • libzlib 1.2.13
  • lz4-c 1.9.4
  • lzo 2.10
  • mapclassify 2.6.1
  • markdown-it-py 3.0.0
  • markupsafe 2.1.5
  • matplotlib 3.8.3
  • matplotlib-base 3.8.3
  • matplotlib-inline 0.1.6
  • mccabe 0.7.0
  • mdit-py-plugins 0.4.0
  • mdurl 0.1.2
  • menuinst 2.0.2
  • minizip 4.0.5
  • mistune 3.0.2
  • more-itertools 10.2.0
  • mpg123 1.32.4
  • munkres 1.1.4
  • mypy 1.9.0
  • mypy_extensions 1.0.0
  • mysql-common 8.0.33
  • mysql-libs 8.0.33
  • myst-parser 2.0.0
  • nbclient 0.10.0
  • nbconvert 7.16.3
  • nbconvert-core 7.16.3
  • nbconvert-pandoc 7.16.3
  • nbformat 5.10.3
  • ncurses 6.4.20240210
  • nest-asyncio 1.6.0
  • networkx 3.2.1
  • nh3 0.2.17
  • nox 2024.3.2
  • nspr 4.35
  • nss 3.98
  • numpy 1.26.4
  • numpydoc 1.6.0
  • openjpeg 2.5.2
  • openssl 3.2.1
  • packaging 24.0
  • pandas 2.2.1
  • pandoc 3.1.12.3
  • pandocfilters 1.5.0
  • parso 0.8.3
  • patch 2.7.6
  • patchelf 0.17.2
  • pathspec 0.12.1
  • patsy 0.5.6
  • pcre2 10.43
  • pexpect 4.9.0
  • pickleshare 0.7.5
  • pillow 10.2.0
  • pip 24.0
  • pipreqs 0.4.13
  • pixman 0.43.2
  • pkginfo 1.10.0
  • pkgutil-resolve-name 1.3.10
  • platformdirs 4.2.0
  • pluggy 1.4.0
  • ply 3.11
  • poppler 24.03.0
  • poppler-data 0.4.12
  • postgresql 16.2
  • proj 9.3.1
  • prompt-toolkit 3.0.42
  • psutil 5.9.8
  • pthread-stubs 0.4
  • ptyprocess 0.7.0
  • pulseaudio-client 16.1
  • pure_eval 0.2.2
  • py 1.11.0
  • py-lief 0.14.1
  • pybind11-abi 4
  • pycodestyle 2.11.1
  • pycosat 0.6.6
  • pycparser 2.21
  • pydocstyle 6.3.0
  • pyflakes 3.2.0
  • pygments 2.17.2
  • pylint 3.1.0
  • pylint-venv 3.0.3
  • pyls-spyder 0.4.0
  • pyparsing 3.1.2
  • pyproj 3.6.1
  • pyqt 5.15.9
  • pyqt5-sip 12.12.2
  • pyqtwebengine 5.15.9
  • pyshp 2.3.1
  • pysocks 1.7.1
  • pytest 8.1.1
  • python 3.12.2
  • python-fastjsonschema 2.19.1
  • python-libarchive-c 5.1
  • python-lsp-black 2.0.0
  • python-lsp-jsonrpc 1.1.2
  • python-lsp-server 1.11.0
  • python-lsp-server-base 1.11.0
  • python-slugify 8.0.4
  • python-tzdata 2024.1
  • python_abi 3.12
  • pytoolconfig 1.2.5
  • pytz 2024.1
  • pyxdg 0.28
  • pyyaml 6.0.1
  • pyzmq 25.1.2
  • qdarkstyle 3.2.3
  • qstylizer 0.2.2
  • qt-main 5.15.8
  • qt-webengine 5.15.8
  • qtawesome 1.3.1
  • qtconsole 5.5.1
  • qtconsole-base 5.5.1
  • qtpy 2.4.1
  • re2 2023.09.01
  • readline 8.2
  • readme_renderer 42.0
  • referencing 0.34.0
  • reproc 14.2.4.post0
  • reproc-cpp 14.2.4.post0
  • requests 2.31.0
  • requests-toolbelt 1.0.0
  • rfc3986 2.0.0
  • rich 13.7.1
  • ripgrep 14.1.0
  • rope 1.13.0
  • rpds-py 0.18.0
  • rtree 1.2.0
  • ruamel.yaml 0.18.6
  • ruamel.yaml.clib 0.2.8
  • s2n 1.4.8
  • scikit-learn 1.4.1.post1
  • scipy 1.12.0
  • seaborn 0.13.2
  • seaborn-base 0.13.2
  • secretstorage 3.3.3
  • setuptools 69.2.0
  • shapely 2.0.3
  • shellingham 1.5.4
  • sip 6.7.12
  • six 1.16.0
  • snappy 1.1.10
  • sniffio 1.3.1
  • snowballstemmer 2.2.0
  • sortedcontainers 2.4.0
  • soupsieve 2.5
  • spdlog 1.12.0
  • sphinx 7.2.6
  • sphinx-autodoc-typehints 2.0.0
  • sphinx-basic-ng 1.0.0b2
  • sphinxcontrib-applehelp 1.0.8
  • sphinxcontrib-devhelp 1.0.6
  • sphinxcontrib-htmlhelp 2.0.5
  • sphinxcontrib-jsmath 1.0.1
  • sphinxcontrib-qthelp 1.0.7
  • sphinxcontrib-serializinghtml 1.1.10
  • spyder 5.5.4
  • spyder-kernels 2.5.1
  • sqlite 3.45.2
  • stack_data 0.6.2
  • statsmodels 0.14.1
  • tabulate 0.9.0
  • text-unidecode 1.3
  • textdistance 4.5.0
  • threadpoolctl 3.4.0
  • three-merge 0.1.1
  • tiledb 2.21.1
  • tinycss2 1.2.1
  • tk 8.6.13
  • toml 0.10.2
  • tomli 2.0.1
  • tomli-w 1.0.0
  • tomlkit 0.12.4
  • tornado 6.4
  • tox 3.27.1
  • tqdm 4.66.2
  • traitlets 5.14.2
  • trimesh 4.2.4
  • trove-classifiers 2024.3.25
  • truststore 0.8.0
  • twine 5.0.0
  • types-python-dateutil 2.9.0.20240316
  • typing 3.10.0.0
  • typing-extensions 4.10.0
  • typing_extensions 4.10.0
  • tzcode 2024a
  • tzdata 2024a
  • ujson 5.9.0
  • uriparser 0.9.7
  • urllib3 2.2.1
  • userpath 1.7.0
  • virtualenv 20.25.1
  • watchdog 4.0.0
  • wcwidth 0.2.13
  • webencodings 0.5.1
  • whatthepatch 1.0.5
  • wheel 0.43.0
  • wurlitzer 3.0.3
  • xcb-util 0.4.0
  • xcb-util-image 0.4.0
  • xcb-util-keysyms 0.4.0
  • xcb-util-renderutil 0.3.9
  • xcb-util-wm 0.4.1
  • xerces-c 3.2.5
  • xkeyboard-config 2.41
  • xorg-compositeproto 0.4.2
  • xorg-damageproto 1.2.1
  • xorg-fixesproto 5.0
  • xorg-inputproto 2.3.2
  • xorg-kbproto 1.0.7
  • xorg-libice 1.1.1
  • xorg-libsm 1.2.4
  • xorg-libx11 1.8.7
  • xorg-libxau 1.0.11
  • xorg-libxcomposite 0.4.6
  • xorg-libxdamage 1.1.5
  • xorg-libxdmcp 1.1.3
  • xorg-libxext 1.3.4
  • xorg-libxfixes 5.0.3
  • xorg-libxi 1.7.10
  • xorg-libxrandr 1.5.2
  • xorg-libxrender 0.9.11
  • xorg-libxtst 1.2.3
  • xorg-randrproto 1.5.0
  • xorg-recordproto 1.14.2
  • xorg-renderproto 0.11.1
  • xorg-util-macros 1.19.3
  • xorg-xextproto 7.3.0
  • xorg-xf86vidmodeproto 2.3.1
  • xorg-xproto 7.0.31
  • xyzservices 2024.4.0
  • xz 5.2.6
  • yaml 0.2.5
  • yaml-cpp 0.8.0
  • yapf 0.40.1
  • yarg 0.1.9
  • zeromq 4.3.5
  • zipp 3.17.0
  • zlib 1.2.13
  • zstandard 0.22.0
  • zstd 1.5.5