Sonic anemometer tilt correction algorithm
tiltCorrection
Tilt-correction algorithms for 3D sonic anemometers
Summary
The present submission includes some algorithm to correct tilt angle errors from sonic anemometers, including the method by Wilczak et al. [1]. Other methods are the double and triple rotation algorithm.
Content
The present submission contains :
-
4 example files: one for the planar fit algorithm, one for the double rotation, one for the triple rotation and one for the estimation of the friction velocity with the different retrieval algorithms.
-
The function tiltCorrection.m
-
The function friction_velocity.m
-
the file data.mat that includes simulated wind data
Any comment, question or suggestion to improve the algorithm is warmly welcomed.
Reference:
[1] Wilczak, J. M., Oncley, S. P., & Stage, S. A. (2001). Sonic anemometer tilt correction algorithms. Boundary-Layer Meteorology, 99(1), 127-150.
Cite As
E. Cheynet (2026). Sonic anemometer tilt correction algorithm (https://github.com/ECheynet/tiltCorrection/releases/tag/v3.2.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 3.2.2 | See release notes for this release on GitHub: https://github.com/ECheynet/tiltCorrection/releases/tag/v3.2.2 |
||
| 3.2.1 | See release notes for this release on GitHub: https://github.com/ECheynet/tiltCorrection/releases/tag/v3.2.1 |
||
| 3.2 | Added project website |
||
| 3.1.0.2 | Updated Matlab release compatibility |
||
| 3.1.0.1 | Description updated |
||
| 3.1.0.0 | Live script examples are now used |
||
| 3.0.0.1 | Added the file data.mat for the examples |
||
| 3.0.0.0 | Added an option to account for possible measurement bias (the coefficient 'b0'). The option is written as: tiltCorretion(...,"Err",1) (account for possible bias) or tiltCorretion(...,"Err",0) (ignore possible bias) - >Thank Astrid for the remark |
|
|
| 2.1.0.0 | typos + minor bug in rot2 and rot3
|
||
| 2.0.0.0 | Additional and more detailed examples; the double and triple rotations are included; minor bug corrected. |
||
| 1.0.0.0 | typo |
