Just add some context why I wanted to have a history file at the beginning time of a restart run.
In the restart file that I use to initialize the run, some variables (e.g., rho, qv and u) are updated by JEDI, and other variables are left untouched (e.g., pressure).
To correctly calculate the vertical integral at the beginning of the restart run, I need to have updated pressure, consistent with the updated rho.
Since pressure is a diagnostic field, I expect the history file at the beginning time will have pressure diagnosed from updated rho.