def METHOD_NAME(node, repo_path, name, array):
    """Store a new numpy array inside a node. Possibly overwrite the array if it already existed.
    Internally, it stores a name.npy file in numpy format.
    :param name: The name of the array.
    :param array: The numpy array to store.
    """
    utils.store_numpy_array_in_repository(repo_path, node.uuid, name, array)
    attributes = node.attributes
    if attributes is None:
        attributes = {}
    attributes[f'array|{name}'] = list(array.shape)
    node.attributes = attributes
    flag_modified(node, 'attributes')