Changeset 2187 for branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcblk_core.F90
- Timestamp:
- 2010-10-07T17:44:48+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcblk_core.F90
r1730 r2187 26 26 USE fldread ! read input fields 27 27 USE sbc_oce ! Surface boundary condition: ocean fields 28 USE sbcdcy ! surface forcing: diurnal cycle 28 29 USE iom ! I/O manager library 29 30 USE in_out_manager ! I/O manager … … 147 148 READ ( numnam, namsbc_core ) 148 149 ! 150 ! do we plan to use ln_dm2dc with non-daily forcing? 151 IF( ln_dm2dc .AND. sn_qsr%nfreqh /= 24 ) & 152 & CALL ctl_stop( 'sbc_blk_core: ln_dm2dc can be activated only with daily short-wave forcing' ) 153 IF( ln_dm2dc .AND. sn_qsr%ln_tint ) THEN 154 CALL ctl_warn( 'sbc_blk_core: ln_dm2dc is taking care of the temporal interpolation of daily qsr', & 155 & ' ==> We force time interpolation = .false. for qsr' ) 156 sn_qsr%ln_tint = .false. 157 ENDIF 158 ! 149 159 ! store namelist information in an array 150 160 slf_i(jp_wndi) = sn_wndi ; slf_i(jp_wndj) = sn_wndj … … 169 179 ! 170 180 ! fill sf with slf_i and control print 171 CALL fld_fill( sf, slf_i, cn_dir, 'sbc_blk_core', 'flux formulat tion for ocean surface boundary condition', 'namsbc_core' )181 CALL fld_fill( sf, slf_i, cn_dir, 'sbc_blk_core', 'flux formulation for ocean surface boundary condition', 'namsbc_core' ) 172 182 ! 173 183 ENDIF 174 184 175 185 CALL fld_read( kt, nn_fsbc, sf ) ! input fields provided at the current time-step 186 187 IF( ln_dm2dc ) CALL sbc_dcy( kt , sf(jp_qsr)%fnow ) ! modify sf(jp_qsr)%fnow for diurnal cycle 176 188 177 189 #if defined key_lim3
Note: See TracChangeset
for help on using the changeset viewer.