The fldgen R package provides functions to learn the spatial, temporal, and inter-variable correlation of the variability in an Earth system model and generate random two-variable fields (e.g., temperature and precipitation) with equivalent properties.
Code Repository: https://github.com/JGCRI/fldgen