Skip to content

Commit

Permalink
Merge pull request #463 from martynpclark/bugfix/writeGRUparams
Browse files Browse the repository at this point in the history
Bugfix/write gru parameters
  • Loading branch information
arbennett committed May 28, 2021
2 parents f9d427d + 89f760a commit 7e1c0c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/source/driver/summa_defineOutput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ subroutine summa_defineOutputFiles(modelTimeStep, summa1_struc, err, message)
! *** define the name of the model output file
! *****************************************************************************

! define full name of output file
! define full name of output file
if(modelTimeStep==1)then
select case(newOutputFile)
case(noNewFiles); ! do nothing, just ensure validity of outputfile option
case(newFileEveryOct1);
case(newFileEveryOct1);
case default; err=20; message=trim(message)//'unable to identify the option to define new output files'; return
end select

Expand Down Expand Up @@ -141,7 +141,7 @@ subroutine summa_defineOutputFiles(modelTimeStep, summa1_struc, err, message)
end do ! (looping through HRUs)

! write GRU parameters
call writeParm(integerMissing,bparStruct%gru(iGRU),bpar_meta,err,cmessage)
call writeParm(iGRU,bparStruct%gru(iGRU),bpar_meta,err,cmessage)
if(err/=0)then; message=trim(message)//trim(cmessage); return; endif

end do ! (looping through GRUs)
Expand Down

0 comments on commit 7e1c0c3

Please sign in to comment.