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.1.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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowline-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e75285aeeacc3f91e127c9911e565ac2ab99eb0ba89b2c918a9784cc0d3f3466
MD5 f60704d2fcd831257bdebdb496215ba9
BLAKE2b-256 a427011a6124f15e7057db3a9e2fb9e7caec93b3e4e54ebc41615651bb496a9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flowline-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7cea49792a8104ed4ef0e10505dc018a9583fd0136878bd36e260230cf30a92c
MD5 91124456c757fcc710fcb410b2724bb5
BLAKE2b-256 07e2586ddd0dc8ecf18d6f0797b5eadb87691116450ac8efb174f462e34598a9

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