Skip to content

Commit

Permalink
Fix diagnostic umo_2d post. This diag was being registered but not po…
Browse files Browse the repository at this point in the history
…sted properly. mom-ocean#334
  • Loading branch information
nichannah committed Dec 16, 2016
1 parent 47bed87 commit 0fd8f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ subroutine step_MOM(fluxes, state, Time_start, time_interval, CS)
umo2d(:,:) = umo2d(:,:) + CS%uhtr(:,:,k)
enddo
umo2d(:,:) = umo2d(:,:) * ( GV%H_to_kg_m2 / CS%dt_trans )
call post_data(CS%id_umo, umo2d, CS%diag)
call post_data(CS%id_umo_2d, umo2d, CS%diag)
endif
if (CS%id_umo > 0) then
! Convert to kg/s. Modifying the array for diagnostics is allowed here since it is set to zero immediately below
Expand Down

0 comments on commit 0fd8f70

Please sign in to comment.