uxarray.helpers._spherical_to_cartesian_unit_
uxarray.helpers._spherical_to_cartesian_unit_#
- uxarray.helpers._spherical_to_cartesian_unit_(node, r=6371)#
Converts spherical (lat/lon) coordinates to cartesian (x,y,z).
Final output is cartesian coordinates on a sphere of unit radius
- Parameters
node (a list consisting of lat and lon) –
Returns (numpy array) – Cartesian coordinates of length 3