- Timestamp:
- 2010-10-19T12:15:40+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r2160 r2292 23 23 USE sbc_oce ! Surface boundary condition: ocean fields 24 24 USE sbc_ice ! Surface boundary condition: ice fields 25 USE sbcdcy ! surface boundary condition: diurnal cycle 25 26 USE phycst ! physical constants 26 27 #if defined key_lim3 … … 527 528 CALL cpl_prism_define(jprcv, jpsnd) 528 529 ! 530 IF( ln_dm2dc .AND. ( cpl_prism_freq( jpr_qsroce ) + cpl_prism_freq( jpr_qsrmix ) /= 86400 ) ) & 531 & CALL ctl_stop( 'sbc_cpl_init: diurnal cycle reconstruction (ln_dm2dc) needs daily couping for solar radiation' ) 532 529 533 END SUBROUTINE sbc_cpl_init 530 534 … … 728 732 IF( srcv(jpr_qsroce)%laction ) qsr(:,:) = frcv(:,:,jpr_qsroce) 729 733 IF( srcv(jpr_qsrmix)%laction ) qsr(:,:) = frcv(:,:,jpr_qsrmix) 734 IF( ln_dm2dc ) qsr(:,:) = sbc_dcy( qsr ) ! modify qsr to include the diurnal cycle 730 735 ! 731 736 ! ! total freshwater fluxes over the ocean (emp, emps) … … 1159 1164 & + palbi (:,:,1) * zicefr(:,:,1) ) ) 1160 1165 END SELECT 1166 IF( ln_dm2dc ) THEN ! modify qsr to include the diurnal cycle 1167 pqsr_tot(:,: ) = sbc_dcy( pqsr_tot(:,: ) ) 1168 pqsr_ice(:,:,1) = sbc_dcy( pqsr_ice(:,:,1) ) 1169 ENDIF 1161 1170 1162 1171 SELECT CASE( TRIM( cn_rcv_dqnsdt ) )
Note: See TracChangeset
for help on using the changeset viewer.