Skip to main content

Extract flowlines from a velocity field.

Project description

flowline_extraction

Extract points along a flow line in a velocity field for analysis and visualization purposes. This is demonstrated using glacier velocity near Thwaites Glacier in Antarctica.

Usage

  • Use the flowline function
  • You must choose a starting point with coordinates x0, y0
  • choose a direction - forwards or backwards - to advect the points
  • choose a mode - time or distance - to control how the points are spaced. In the case of time, the stride is how much time to multiply the velocity components by. For example, the glacier velocity is given in meters per year so a stride of 3 would move the point by 3 years in terms of velocity. In the case of distance, the stride is how equally spaced you want the points to be and the function solves for how much to much along each velocity component to get that distance in the hypotenuse. For example, if the stride if 2000 meters, the points will be approximately spaced by 2000 meters.
  • Using a combination of forward and backwards you can choose a point of interest and ensure that it is in the flowline, i.e., concatenate to forwards and backwards flowlines.

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

flowline-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

flowline-0.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file flowline-0.1.2.tar.gz.

File metadata

  • Download URL: flowline-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for flowline-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a0d06fe84c9757e1aa5eac0df9030d04700b4e67fb00eb5e3ced8887e1de13a3
MD5 cca7b67b8942a2391b573c6dff3729f3
BLAKE2b-256 6558c02a569abc09435ee987784b2e2615eb769ea4494ef7b243e4191d6dabcb

See more details on using hashes here.

File details

Details for the file flowline-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: flowline-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for flowline-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 208bc5738e43f1cce0a232dee99e253e828412ba9196707aa15834066bb67f0b
MD5 ecfc1e9832528ed5e78f796d2c51ee1d
BLAKE2b-256 f003a3e93e11baffc0afd3fa61cd3dd90d8e4eeef91dde895ce50c7bb22630e5

See more details on using hashes here.

Supported by

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