Generating synthetic data for neural operators