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 11453 for NEMO/branches/UKMO/NEMO_4.0_surge/cfgs/AMM15_SURGE/MY_SRC/usrdef_sbc.F90 – NEMO

Ignore:
Timestamp:
2019-08-19T16:05:30+02:00 (5 years ago)
Author:
clne
Message:

Add land mask when outputting wind field, to prevent XIOS errors when running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_surge/cfgs/AMM15_SURGE/MY_SRC/usrdef_sbc.F90

    r11180 r11453  
    242242 
    243243      CALL iom_put( "taum_oce", taum )   ! output wind stress module 
    244       CALL iom_put( "uwnd", uwnd )   ! output wind stress module 
    245       CALL iom_put( "vwnd", vwnd )   ! output wind stress module 
     244      CALL iom_put( "uwnd", uwnd * tmask(:,:,1) )   ! output wind stress module 
     245      CALL iom_put( "vwnd", vwnd * tmask(:,:,1) )   ! output wind stress module 
    246246 
    247247      ! ... utau, vtau at U- and V_points, resp. 
Note: See TracChangeset for help on using the changeset viewer.