New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2187 for branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcflx.F90 – NEMO

Ignore:
Timestamp:
2010-10-07T17:44:48+02:00 (14 years ago)
Author:
smasson
Message:

add diurna cycle in dev_r2174_DCY, see ticket:730

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2174_DCY/NEMO/OPA_SRC/SBC/sbcflx.F90

    r1730 r2187  
    2929   USE sbc_oce         ! Surface boundary condition: ocean fields 
    3030   USE phycst          ! physical constants 
     31   USE sbcdcy          ! diurnal cycle on qsr 
    3132   USE fldread         ! read input fields 
    3233   USE iom             ! IOM library 
     
    115116         READ   ( numnam, namsbc_flx )  
    116117 
     118         ! do we plan to use ln_dm2dc with non-daily forcing? 
     119         IF( ln_dm2dc .AND. sn_qsr%nfreqh /= 24 )   & 
     120            &   CALL ctl_stop( 'sbc_blk_core: ln_dm2dc can be activated only with daily short-wave forcing' )  
     121 
    117122         ! store namelist information in an array 
    118123         slf_i(jp_utau) = sn_utau   ;   slf_i(jp_vtau) = sn_vtau 
     
    138143      CALL fld_read( kt, nn_fsbc, sf )           ! Read input fields and provides the 
    139144      !                                          ! input fields at the current time-step 
     145      IF( ln_dm2dc )   CALL sbc_dcy( kt , sf(jp_qsr)%fnow )   ! modify sf(jp_qsr)%fnow for diurnal cycle 
    140146 
    141147      IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 
Note: See TracChangeset for help on using the changeset viewer.