Skip to main content

Network clustering operations for geophysical fluid transport

Project description

Network clustering operations

Network clustering operations (netclop) is a command line interface for geophysical fluid transport network construction and associated clustering operations (e.g., community detection, significance clustering).

Installation

Use pipx to install and run in an isolated environment.

brew install pipx
pipx ensurepath

To install:

pipx install netclop

To upgrade:

pipx upgrade netclop

Use

Particle trajectories must be decomposed into initial and final latitude and longitude coordinates and stored in a positions file in the form initial_latitude,initial_longitude,final_latitude,final_longitude. Positions are binned with H3. Community detection uses Infomap.

netclop [OPTIONS] COMMAND [ARGS]

Options

  • --config Path to a custom configuration YAML file

Commands

Stream

Performs significance clustering on network modular structure from positions. Saves results and plots.

netclop stream POSITIONS_PATH --output OUTPUT_PATH
  • POSITIONS_PATH Path to the positions file
  • --output OUTPUT_PATH Path to the output file where the node list will be written

Plot

Plots a node list.

netclop plot NODE_PATH
  • NODE_PATH Path to a node list. Node names must be integer H3 indices.

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

netclop-0.7.0.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

netclop-0.7.0-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page