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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1d48e59398dbf26db611d3af0efeec6c80cb5b1443b6408dbec4266d2816b93
|
|
| MD5 |
27a00ac88bfcb051ebb248407da7a8fb
|
|
| BLAKE2b-256 |
2254865477ed2606627d560293c50d8511b772e6a2ba742f2e6a91ef15c14240
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d67fbbb5a447f3027a0d4fa00ac330ae7459374b00c398ef86d1764c9dbec512
|
|
| MD5 |
f04fad3091eecdd607bb5141eeddea1f
|
|
| BLAKE2b-256 |
cffe98c800ff41a305d2e8da7c0cfabbe677d23a2a0dace51f62d49aa6a6b0ed
|