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 7763 – NEMO

Changeset 7763


Ignore:
Timestamp:
2017-03-07T11:30:35+01:00 (7 years ago)
Author:
jcastill
Message:

Check the forced wave fields in case the wave and ocean land/sea masks are not the same - might be this has to be done in coupled mode too, but so far it is working as it is

File:
1 edited

Legend:

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

    r7739 r7763  
    209209         CALL fld_read( kt, nn_fsbc, sf_cd )             ! read from external forcing 
    210210         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 
    211215      ENDIF 
    212216 
     
    214218         CALL fld_read( kt, nn_fsbc, sf_tauoc )          ! read wave norm stress from external forcing 
    215219         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 
    216222      ENDIF 
    217223 
Note: See TracChangeset for help on using the changeset viewer.