def transform_tensor_lon_lat_rad_2_sphericalPolar(tensor):
    """Function transforming the components of a tensor from a zonal-meridional-radial basis to a spherical-polar basis."""
    import numpy as np
    transformationMatrix = np.array([[0.0, 0.0, 1.0], [0.0, -1.0, 0.0], [
        1.0, 0.0, 0.0]])
    transformed_Tensor = np.dot(np.dot(transformationMatrix, np.array(
        tensor)), transformationMatrix)
    return transformed_Tensor
