HOW TO DO A LIDAR CORRECTION¶
A LiDAR correction is needed to account for the misalignment of the measurement beams relative to the wind flow. This effect is more significant in complex terrain, where the flow can vary spatially. The following steps describe how to apply the correction to the LiDAR measurements.
- Ensure the following files are in the same directory:
wind_resources_*.WRG
view_global_xcoordinate.scl
view_global_ycoordinate.scl
inflow_XXX (e.g., inflow_000, inflow_030, ...)
- Install required libraries:
- Set initial parameters in the script: angle_lidar, MM_height, zone_utm, hemisphere.
- Define input directory and WRG file in directory and fine_name
- Set LiDAR position (UTM coordinates):
python
mid_point_x_coord = 457754
mid_point_y_coord = 3230858
8. Define analysis área in percentage; values range from X to Y. This is the domain size and if execution is slow, reduce this value. Start with something around 0.5.
9. Run the script
10. Verify if console output includes sector processing messages
11. Check that output files are created:
test_3.png
wind_speed_interpolated_colored_mid_Pocoes2.kml
test.shp
12. Confirm final output message appears:
```python
LiDAR position corr data:
```
- Validate correction values are within expected range (-0.1 to +0.1).
- If projection errors occur, replace projection definition with:
python Proj(proj="utm", zone=int(zone_utm), south=(hemisphere=="S")) -
Interpreting the results:
- 0 → no correction
-
0 → LiDAR underestimates
- < 0 → LiDAR overestimates
-
Apply correction factors to LiDAR data as needed.