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 2292 for branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/SBC/sbcflx.F90 – NEMO

Ignore:
Timestamp:
2010-10-19T12:15:40+02:00 (14 years ago)
Author:
smasson
Message:

update DEV_r1879_FCM for additional tests...

File:
1 edited

Legend:

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

    r2160 r2292  
    2727   USE oce             ! ocean dynamics and tracers 
    2828   USE dom_oce         ! ocean space and time domain 
    29    USE sbc_oce         ! Surface boundary condition: ocean fields 
     29   USE sbc_oce         ! surface boundary condition: ocean fields 
     30   USE sbcdcy          ! surface boundary condition: diurnal cycle on qsr 
    3031   USE phycst          ! physical constants 
    3132   USE fldread         ! read input fields 
     
    114115         REWIND ( numnam )               ! ... read in namlist namflx 
    115116         READ   ( numnam, namsbc_flx )  
    116  
    117          ! store namelist information in an array 
     117         ! 
     118         !                                         ! check: 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         ! 
     122         !                                         ! store namelist information in an array 
    118123         slf_i(jp_utau) = sn_utau   ;   slf_i(jp_vtau) = sn_vtau 
    119124         slf_i(jp_qtot) = sn_qtot   ;   slf_i(jp_qsr ) = sn_qsr  
     
    141146      IF( MOD( kt-1, nn_fsbc ) == 0 ) THEN 
    142147         ! 
     148         IF( ln_dm2dc ) THEN   ;   qsr(:,:) = sbc_dcy( sf(jp_qsr)%fnow(:,:) )   ! modify now Qsr to include the diurnal cycle 
     149         ELSE                  ;   qsr(:,:) =          sf(jp_qsr)%fnow(:,:) 
     150         ENDIF 
    143151         ! set the ocean fluxes from read fields 
    144152!CDIR COLLAPSE 
     
    148156               vtau(ji,jj) = sf(jp_vtau)%fnow(ji,jj) 
    149157               qns (ji,jj) = sf(jp_qtot)%fnow(ji,jj) - sf(jp_qsr)%fnow(ji,jj) 
    150                qsr (ji,jj) = sf(jp_qsr )%fnow(ji,jj) 
    151158               emp (ji,jj) = sf(jp_emp )%fnow(ji,jj) 
    152159            END DO 
Note: See TracChangeset for help on using the changeset viewer.