We are running idealized simulations and want to do some more intensive postprocessing. We want to calculate things like eddy heat flux and mass-weighted averages of scalars. How can we directly interface with the model output using a fortran program to perform complex calculations that aren't part of the normal model output? Kevin