uxarray.grid.coordinates.node_xyz_to_lonlat_rad#
- uxarray.grid.coordinates.node_xyz_to_lonlat_rad(node_coord)#
Calculate the latitude and longitude in radiance for a node represented in the [x, y, z] 3D Cartesian coordinates.
- Parameters:
node_coord (float list) – 3D Cartesian Coordinates [x, y, z] of the node
- Returns:
the result array of longitude and latitude in radian [longitude_rad, latitude_rad]
- Return type:
float list
- Raises:
RuntimeError – The input array doesn’t have the size of 3.