Skip to content
Merged
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
2 changes: 1 addition & 1 deletion mediator/esmFlds.F90
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ subroutine med_fldList_Document_Mapping(logunit, med_coupling_active)
! ocn-> atm mappings for atm/ocn fluxes computed in mediator on the ocn grid
nsrc = compocn
ndst = compatm
if (med_coupling_active(nsrc,ndst)) then
if (med_coupling_active(nsrc,ndst) .and. associated(fldListMed_aoflux%flds)) then
do n = 1,size(fldListMed_aoflux%flds)
mapindex = fldlistMed_aoflux%flds(n)%mapindex(ndst)
if ( mapindex /= mapunset) then
Expand Down