uxarray
uxarray copied to clipboard
Support `Numpy.ndArray` for Node 2D/3D Coordinate Conversion Functions
Describe the feature you'd like added to this project
Enable node_xyz_to_lonlat_rad
, node_lonlat_rad_to_xyz
, normalize_in_place
take np.array()
as input and output
Link to original functionality implementation elsewhere, if applicable Originigaly:
- It only takes
list
as input and the output is alsolist
Links to other examples, if applicable
Describe the solution you'd like
Modify the current node_xyz_to_lonlat_rad
, node_lonlat_rad_to_xyz
, normalize_in_place
helper functions
such that: 1. it takes np.array()
or list
as input. 2. The output is in the np.array()
format
Additional context Add any other context or screenshots about the feature request here.