As referenced in dedalus-users (https://groups.google.com/g/dedalus-users/c/aPtmsRgx5tY), the trace operator is not implemented in S2 coordinates.