Skip to content

Commit

Permalink
Always store erosion choice in .nc files (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelangham authored Jan 23, 2024
1 parent 5f4fe69 commit 00d621a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Output.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2068,9 +2068,9 @@ subroutine netcdf_put_params(ncid,RunParams)
case ("Manning")
call put_nc_att(ncid, "Manning coefficient", RunParams%ManningCo)
end select
call put_nc_att(ncid, "erosion choice", RunParams%ErosionChoice%s)
if (RunParams%MorphodynamicsOn) then
call put_nc_att(ncid, "morphodynamics time stepping", "on")
call put_nc_att(ncid, "erosion choice", RunParams%ErosionChoice%s)
select case (RunParams%ErosionChoice%s)
case ('Fluid')
call put_nc_att(ncid, "fluid erosion rate", RunParams%EroRate)
Expand Down

0 comments on commit 00d621a

Please sign in to comment.