obspy.taup.tau_branch.TauBranch._robust_resize

static TauBranch._robust_resize(arr, new_size)[source]

Try to resize an array inplace. If an error is raised use numpy resize function to create a new array. Return the array.