uxarray.grid.coordinates._xyz_to_lonlat_rad#
- uxarray.grid.coordinates._xyz_to_lonlat_rad(x, y, z, normalize=True)#
Converts Cartesian x, y, z coordinates in Spherical latitude and longitude coordinates in degrees.
- Parameters:
- Returns:
lon (Union[np.ndarray, float]) – Longitude in radians
lat (Union[np.ndarray, float]) – Latitude in radians