Skip to content

Commit 7e2a735

Browse files
awnawabpiotrows
authored andcommitted
CALLPAR1S: remove redundant YSURF declaration and pass integer to UPDCAL
1 parent 9e194ca commit 7e2a735

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/surf/offline/driver/callpar1s.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ SUBROUTINE CALLPAR1S (CDCONF &
371371
LOGICAL :: LNEMOLIMALB
372372
LOGICAL :: LNEMOICETHK
373373
!
374-
INTEGER(KIND=JPIM) :: JPDIAG=12
374+
INTEGER(KIND=JPIM) :: JPDIAG=12,KULOUT=-1_JPIM
375375
!
376376
REAL(KIND=JPHOOK) :: ZHOOK_HANDLE
377377

@@ -508,7 +508,7 @@ SUBROUTINE CALLPAR1S (CDCONF &
508508
IYY=NCCAA(IYMD)
509509
IINC=0
510510
ISEC0=MOD(NSSSSS+NINT(RSTATI,KIND=JPIB),NINT(RDAY))
511-
CALL UPDCAL(IDD, IMM, IYY, IINC, IDD, IMM, IYY, IMON, -1_JPIM)
511+
CALL UPDCAL(IDD, IMM, IYY, IINC, IDD, IMM, IYY, IMON,KULOUT)
512512
PAUXL%ZWND(KIDIA:KFDIA)=SQRT(STATE%PU(KIDIA:KFDIA)**2 &
513513
& +STATE%PV(KIDIA:KFDIA)**2)
514514
PSURF%GSP%ZWS1(KIDIA:KFDIA)=PSURF%GSP%PWSA(KIDIA:KFDIA,1)

0 commit comments

Comments
 (0)