Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug fix for wdet100 #380

Merged
merged 8 commits into from Mar 23, 2023
2 changes: 1 addition & 1 deletion src/mom5/ocean_csiro_bgc/csiro_bgc.F90
Expand Up @@ -1978,7 +1978,7 @@ subroutine csiro_bgc_source(isc, iec, jsc, jec, isd, ied, jsd, jed, T_prog, grid

!det export at 100 m
if (id_wdet100 .gt. 0) then
wdet100(:,:) = wdetbio(isc:iec,jsc:jec)*t_prog(ind_det)%field(isc:iec,jsc:jec,minloc(grid%zt(:)-100,dim=1),time%taum1)
wdet100(:,:) = wdetbio(isc:iec,jsc:jec)*t_prog(ind_det)%field(isc:iec,jsc:jec,minloc(abs(grid%zt(:)-100),dim=1),time%taum1)
used = send_data(id_wdet100, wdet100(isc:iec,jsc:jec), &
time%model_time, rmask = grid%tmask(isc:iec,jsc:jec,1))
endif
Expand Down