What happened?
If nhtfrq=1, CAM history currently overrides (since cam6_3_140) the averaging flag to 'I'
!
! Initialize history variables
!
do t=1,ptapes
do fld=1,nflds(t)
if (nhtfrq(t) == 1) then
! Override any non-I flags if nhtfrq equals 1
tape(t)%hlist(fld)%avgflag = 'I'
end if
if (tape(t)%hlist(fld)%avgflag .ne. 'I') then
hfile_accum(t) = .true.
end if
BUT:
as @adamrher pointed out, this neglects subcycling averages.
What are the steps to reproduce the bug?
Run CAM, outputting a variable that exists in a subcycle (like a CLUBB variable in the macmic loop) with the 'A' flag and observe that the results are the same as for the 'I' flag.
What CAM tag were you using?
cam6_4_032
What machine were you running CAM on?
CGD machine (e.g. izumi)
What compiler were you using?
GNU
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Any CAM SE can do this
Extra info
No response
What happened?
If nhtfrq=1, CAM history currently overrides (since cam6_3_140) the averaging flag to 'I'
BUT:
as @adamrher pointed out, this neglects subcycling averages.
What are the steps to reproduce the bug?
Run CAM, outputting a variable that exists in a subcycle (like a CLUBB variable in the macmic loop) with the 'A' flag and observe that the results are the same as for the 'I' flag.
What CAM tag were you using?
cam6_4_032
What machine were you running CAM on?
CGD machine (e.g. izumi)
What compiler were you using?
GNU
Path to a case directory, if applicable
No response
Will you be addressing this bug yourself?
Any CAM SE can do this
Extra info
No response