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.0.tar.gz (3.7 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.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowline-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 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.0.tar.gz
Algorithm Hash digest
SHA256 f1d48e59398dbf26db611d3af0efeec6c80cb5b1443b6408dbec4266d2816b93
MD5 27a00ac88bfcb051ebb248407da7a8fb
BLAKE2b-256 2254865477ed2606627d560293c50d8511b772e6a2ba742f2e6a91ef15c14240

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flowline-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d67fbbb5a447f3027a0d4fa00ac330ae7459374b00c398ef86d1764c9dbec512
MD5 f04fad3091eecdd607bb5141eeddea1f
BLAKE2b-256 cffe98c800ff41a305d2e8da7c0cfabbe677d23a2a0dace51f62d49aa6a6b0ed

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