Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6912,8 +6912,8 @@ subroutine unc_write_map_filepointer_ugrid(mapids, tim, jabndnd) ! wrimap
case (2)
rhol = stmpar%sedpar%rhosol(sedtot2sedsus(l))
end select
toutputx(:, l) = sedtra%e_ssn(:, l) / rhol
toutputy(:, l) = sedtra%e_sst(:, l) / rhol
toutputx(:, l) = (sedtra%e_ssn(:, l) + sedtra%e_sswn(:, l)) / rhol
toutputy(:, l) = (sedtra%e_sst(:, l) + sedtra%e_sswt(:, l)) / rhol
end do
ierr = unc_put_var_map(mapids%ncid, mapids%id_tsp, mapids%id_ssn, UNC_LOC_U, toutputx, jabndnd=jabndnd_)
ierr = unc_put_var_map(mapids%ncid, mapids%id_tsp, mapids%id_sst, UNC_LOC_U, toutputy, jabndnd=jabndnd_)
Expand All @@ -6931,8 +6931,8 @@ subroutine unc_write_map_filepointer_ugrid(mapids, tim, jabndnd) ! wrimap
case (2)
rhol = stmpar%sedpar%rhosol(l)
end select
toutputx(:, l) = sedtra%e_sbn(:, l) / rhol
toutputy(:, l) = sedtra%e_sbt(:, l) / rhol
toutputx(:, l) = (sedtra%e_sbn(:, l) - sedtra%e_sswn(:, l)) / rhol
toutputy(:, l) = (sedtra%e_sbt(:, l) - sedtra%e_sswt(:, l)) / rhol
end do
ierr = unc_put_var_map(mapids%ncid, mapids%id_tsp, mapids%id_sbn, UNC_LOC_U, toutputx, jabndnd=jabndnd_)
ierr = unc_put_var_map(mapids%ncid, mapids%id_tsp, mapids%id_sbt, UNC_LOC_U, toutputy, jabndnd=jabndnd_)
Expand Down