ESM3 data preprocessing