New diagnostics always writes some fluxes even in linear simulations

Issue #208 resolved
David Dickinson created an issue

In a linear simulation we get es_flux_vs_e (apar_flux_vs_e) etc. in the output file even if we don’t want to write fluxes as calculate_fluxes contains create_and_write calls for these variables. We call calculate_fluxes in several conditions including cases where we don’t want to save the fluxes to file.

Comments (5)

  1. David Dickinson reporter

    @Peter Hill any thoughts on this given you’ve just been dealing with diagnostics?

  2. Peter Hill

    This should be fixable now, as we only need to call the routines in the cases where we intend to write the fluxes – I’ll take a look

  3. Log in to comment