Skip to content

Commit

Permalink
fix indices
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtney Peverley committed Oct 19, 2023
1 parent e05302c commit 157639d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/control/cam_history.F90
Original file line number Diff line number Diff line change
Expand Up @@ -4329,10 +4329,10 @@ subroutine h_define (t, restart)
call cam_pio_createfile (tape(t)%Files(instantaneous_file_index), nhfil(t,instantaneous_file_index), amode)
else if (hfile_accum(t)) then
tape(t)%num_files = 1
call cam_pio_createfile (tape(t)%Files(1), nhfil(t,instantaneous_file_index), amode)
call cam_pio_createfile (tape(t)%Files(1), nhfil(t,accumulated_file_index), amode)
else if (hfile_inst(t)) then
tape(t)%num_files = 1
call cam_pio_createfile (tape(t)%Files(1), nhfil(t,accumulated_file_index), amode)
call cam_pio_createfile (tape(t)%Files(1), nhfil(t,instantaneous_file_index), amode)
end if
end if
if(is_satfile(t)) then
Expand Down

0 comments on commit 157639d

Please sign in to comment.