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 9023 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2017-12-13T18:08:50+01:00 (6 years ago)
Author:
timgraham
Message:

Merged METO_MERCATOR branch and resolved all conflicts in OPA_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r9019 r9023  
    146146         CALL iom_put( "e3tdef"  , ( ( e3t_n(:,:,:) - e3t_0(:,:,:) ) / e3t_0(:,:,:) * 100 * tmask(:,:,:) ) ** 2 ) 
    147147 
    148       CALL iom_put( "ssh" , sshn )                 ! sea surface height 
     148      IF( ll_wd ) THEN 
     149         CALL iom_put( "ssh" , (sshn+ssh_ref)*tmask(:,:,1) )   ! sea surface height (brought back to the reference used for wetting and drying) 
     150      ELSE 
     151         CALL iom_put( "ssh" , sshn )              ! sea surface height 
     152      ENDIF 
     153 
    149154      IF( iom_use("wetdep") )   &                  ! wet depth 
    150          CALL iom_put( "wetdep" , ht_wd(:,:) + sshn(:,:) ) 
     155         CALL iom_put( "wetdep" , ht_0(:,:) + sshn(:,:) ) 
    151156       
    152157      CALL iom_put( "toce", tsn(:,:,:,jp_tem) )    ! 3D temperature 
Note: See TracChangeset for help on using the changeset viewer.