Changeset 12552


Ignore:
Timestamp:
2020-03-13T15:51:19+01:00 (8 months ago)
Author:
mathiot
Message:

ticket #2396: add discussed fix

Location:
NEMO/branches/2020/ticket2396/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/ticket2396/src/OCE/SBC/sbccpl.F90

    r12489 r12552  
    11151115         IF( ln_dm2dc .AND. ncpl_qsr_freq /= 86400 )   & 
    11161116            &   CALL ctl_stop( 'sbc_cpl_rcv: diurnal cycle reconstruction (ln_dm2dc) needs daily couping for solar radiation' ) 
    1117          ncpl_qsr_freq = 86400 / ncpl_qsr_freq   ! used by top 
     1117 
     1118         IF( ncpl_qsr_freq /= 0) ncpl_qsr_freq = 86400 / ncpl_qsr_freq ! used by top 
     1119          
    11181120      ENDIF 
    11191121      ! 
  • NEMO/branches/2020/ticket2396/src/TOP/trcstp.F90

    r12489 r12552  
    142142      ! 
    143143      ! Define logical parameter ton control dirunal cycle in TOP 
    144       l_trcdm2dc = ln_dm2dc .OR. ( ln_cpl .AND. ncpl_qsr_freq /= 1 ) 
    145       l_trcdm2dc = l_trcdm2dc  .AND. .NOT. l_offline 
     144      l_trcdm2dc = ln_dm2dc .OR. ( ln_cpl .AND. ncpl_qsr_freq /= 1 .AND. ncpl_qsr_freq /= 0 ) 
     145      l_trcdm2dc = l_trcdm2dc .AND. .NOT. l_offline 
     146      ! 
    146147      IF( l_trcdm2dc .AND. lwp )   CALL ctl_warn( 'Coupling with passive tracers and used of diurnal cycle.',   & 
    147148         &                           'Computation of a daily mean shortwave for some biogeochemical models ' ) 
Note: See TracChangeset for help on using the changeset viewer.