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 7792 for branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90 – NEMO

Ignore:
Timestamp:
2017-03-14T16:47:48+01:00 (7 years ago)
Author:
jcastill
Message:

Changes as in branch branches/UKMO/r6232_INGV1_WAVE-coupling@7763

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/r6232_HZG_WAVE-coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcwave.F90

    r7606 r7792  
    6464   REAL(wp), PUBLIC, ALLOCATABLE, DIMENSION(:,:,:) ::   usd  , vsd  , wsd   !: Stokes drift velocities at u-, v- & w-points, resp. 
    6565 
    66    !! * Substitutions 
    6766#  include "vectopt_loop_substitute.h90" 
    6867   !!---------------------------------------------------------------------- 
     
    210209         CALL fld_read( kt, nn_fsbc, sf_cd )             ! read from external forcing 
    211210         cdn_wave(:,:) = sf_cd(1)%fnow(:,:,1) 
     211         ! check that the drag coefficient contains proper information even if 
     212         ! the masks do not match - the momentum stress is not masked! 
     213         WHERE( cdn_wave < 0.0 ) cdn_wave = 1.5e-3 
     214         WHERE( cdn_wave > 1.0 ) cdn_wave = 1.5e-3 
    212215      ENDIF 
    213216 
     
    215218         CALL fld_read( kt, nn_fsbc, sf_tauoc )          ! read wave norm stress from external forcing 
    216219         tauoc_wave(:,:) = sf_tauoc(1)%fnow(:,:,1) 
     220         WHERE( tauoc_wave < -100.0 ) tauoc_wave = 1.0 
     221         WHERE( tauoc_wave >  100.0 ) tauoc_wave = 1.0 
    217222      ENDIF 
    218223 
Note: See TracChangeset for help on using the changeset viewer.