xradar.util.get_first_angle#
- xradar.util.get_first_angle(ds)[source]#
Return name of first angle dimension from given dataset.
- Parameters:
ds (
xarray.Dataset) – Dateset to get first angle name from.- Returns:
first_angle (
str) – Name of first angle dimension,azimuthorelevation.- Raises:
ValueError – If the dataset has no
rangedimension, none or both ofazimuthandelevationas dimension,timeas ray dimension (swap it for the angle first), or the angle has no coordinate.