Skip to content

Commit 7ab14eb

Browse files
committed
put in error condition for lnd2rof_tracer entry
1 parent 87b0c3b commit 7ab14eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cpl/nuopc/lnd_import_export.F90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ subroutine export_fields( gcomp, bounds, glc_present, rof_prognostic, &
935935
do g = begg,endg
936936
rofl2d(g,nt) = garr(g)
937937
end do
938+
else
939+
call endrun(msg='ERROR only smin_no3_runoff is supported for lnd2rof_tracer name'//errMsg(u_FILE_u, __LINE__))
938940
end if
939941
end do
940942
if (nflds_lnd2rof_tracers > 1) then

0 commit comments

Comments
 (0)