The PIV_multipass function performs Particle Image Velocimetry (PIV) analysis using a multi-pass approach. It utilizes varying interrogation window sizes to increase the dynamic velocity range which is defined as the ratio of the maximum measurable velocity to the minimum resolvable velocity.
Usage
PIV_multipass(
binary_array,
xcrds,
ycrds,
timestep,
window_size = c(64, 32, 16, 16)
)
Arguments
- binary_array
The 3D input array. It should be a 3-dimensional array representing a binary sequential images/matrices, where each element is either 0 or 1.
- xcrds
longitude coordinates vector (cols). The coordinates should be equally spaced.
- ycrds
latitude coordinates vector along the y-axis (rows). The coordinates should be equally spaced.
- timestep
the time step between the sequential matrices in minutes. e.g., 30
- window_size
interrogation windows vector containing 4 elements, for example, c(128, 64, 32, 16)
References
Seelig, T., Deneke, H., Quaas, J., & Tesche, M. (2021). Life Cycle of Shallow Marine Cumulus Clouds From Geostationary Satellite Observations. Journal of Geophysical Research: Atmospheres, 126(22). doi:10.1029/2021JD035577