{ "cells": [ { "cell_type": "markdown", "id": "19dd0806", "metadata": {}, "source": [ "# Lidar North Alignment by Hard Target Mapping\n", "To align the north orientation of a lidar, you can use surrounding obstacles (if available) with known coordinates to calibrate your lidar north orientation. Lidar observations are taken from PPI scans, alowing to detect surrounding wind turbines. \n", "\n", "This example is redundant to the example by [Rott et al. 2022](https://zenodo.org/records/5654919) but is shown here for reasons of completeness. \n", "We will use the data provided by Rott et al 2022 here:\n", "> Andreas Rott, Jörge Schneemann, & Frauke Theuer. (2021). AndreasRott/Alignment_of_scanning_lidars_in_offshore_wind_farms: Version1.0 (Release1.0.0). Zenodo. https://doi.org/10.5281/zenodo.5654919\n", "\n", "lets read the provided data first:" ] }, { "cell_type": "code", "execution_count": null, "id": "05b48a7f", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset> Size: 4GB\n",
"Dimensions: (time: 23335, range: 3760)\n",
"Coordinates:\n",
" * time (time) datetime64[ns] 187kB 2018-11-26T09:25:53.473991900 .....\n",
" * range (range) float64 30kB 800.0 802.0 804.0 ... 1.079e+04 1.08e+04\n",
"Data variables:\n",
" radialspeed (time, range) float64 702MB 13.46 13.42 13.4 ... nan nan nan\n",
" cnr (time, range) float64 702MB -32.25 -32.26 ... -30.0 -30.0\n",
" azimuth (time) float64 187kB -57.9 -57.8 -57.7 ... 189.8 189.9 190.0\n",
" datetime (time, range) float64 702MB 7.374e+05 7.374e+05 ... nan nan\n",
" elevation (time) float64 187kB -0.1 -0.1 -0.099 -0.1 ... -0.1 -0.1 -0.1\n",
" x (time, range) float64 702MB 741.2 743.1 744.9 ... nan nan nan\n",
" y (time, range) float64 702MB -301.0 -301.7 -302.5 ... nan nan