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

Ignore:
Timestamp:
2017-09-21T13:09:26+02:00 (7 years ago)
Author:
jcastill
Message:

Cap the value of tauoc as recieved via coupling or via forcing

File:
1 edited

Legend:

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

    r7906 r8553  
    261261         CALL fld_read( kt, nn_fsbc, sf_tauoc )          ! read wave norm stress from external forcing 
    262262         tauoc_wave(:,:) = sf_tauoc(1)%fnow(:,:,1) 
    263          WHERE( tauoc_wave < -100.0 ) tauoc_wave = 1.0 
    264          WHERE( tauoc_wave >  100.0 ) tauoc_wave = 1.0 
     263         WHERE( tauoc_wave <   0.0 ) tauoc_wave = 1.0 
     264         WHERE( tauoc_wave > 100.0 ) tauoc_wave = 1.0 
    265265      ENDIF 
    266266 
Note: See TracChangeset for help on using the changeset viewer.