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 5427 for branches/UKMO/2015_CO6_CO5_shelfdiagnostic/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2015-06-16T06:16:43+02:00 (9 years ago)
Author:
deazer
Message:

Added back in basic shelf seas diagnostics after removal of svn keywords.
Builds, extracts and mereges and runs as expected from working copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/2015_CO6_CO5_shelfdiagnostic/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r5422 r5427  
    4141   USE timing          ! Timing     
    4242   USE sbcapr          ! surface boundary condition: atmospheric pressure 
     43   USE diatmb          ! Top,middle,bottom output 
    4344   USE dynadv, ONLY: ln_dynadv_vec 
    4445#if defined key_agrif 
     
    4849   USE asminc          ! Assimilation increment 
    4950#endif 
     51 
    5052 
    5153   IMPLICIT NONE 
     
    144146      INTEGER  ::   ji, jj, jk, jn        ! dummy loop indices 
    145147      INTEGER  ::   ikbu, ikbv, noffset      ! local integers 
     148      REAL(wp) ::   zmdi 
    146149      REAL(wp) ::   zraur, z1_2dt_b, z2dt_bf    ! local scalars 
    147150      REAL(wp) ::   zx1, zy1, zx2, zy2         !   -      - 
     
    169172      CALL wrk_alloc( jpi, jpj, zhf ) 
    170173      ! 
     174      zmdi=1.e+20                               !  missing data indicator for masking 
    171175      !                                         !* Local constant initialization 
    172176      z1_12 = 1._wp / 12._wp  
     
    928932      CALL wrk_dealloc( jpi, jpj, zhf ) 
    929933      ! 
     934      IF ( ln_diatmb ) THEN 
     935         CALL iom_put( "baro_u" , un_b*umask(:,:,1)+zmdi*(1-umask(:,:,1 ) ) )  ! Barotropic  U Velocity 
     936         CALL iom_put( "baro_v" , vn_b*vmask(:,:,1)+zmdi*(1-vmask(:,:,1 ) ) )  ! Barotropic  V Velocity 
     937      ENDIF 
    930938      IF( nn_timing == 1 )  CALL timing_stop('dyn_spg_ts') 
    931939      ! 
Note: See TracChangeset for help on using the changeset viewer.