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 460 for trunk/NEMO/OPA_SRC/DIA/diawri.F90 – NEMO

Ignore:
Timestamp:
2006-05-10T19:10:25+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_051:RB: update diagnostics routines following the new coordinate definition (gdept -> gdept_0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DIA/diawri.F90

    r389 r460  
    2929   USE flx_oce         ! sea-ice/ocean forcings variables 
    3030   USE diadimg         ! dimg direct access file format output 
     31   USE ioipsl 
    3132 
    3233   IMPLICIT NONE 
     
    100101      !!   9.0  !  05-11  (V. Garnier) Surface pressure gradient organization 
    101102      !!---------------------------------------------------------------------- 
    102       !! * Modules used 
    103       USE ioipsl 
    104  
    105103      !! * Arguments 
    106104      INTEGER, INTENT( in ) ::   kt      ! ocean time-step index 
     
    186184            &          0, zjulian, zdt, nh_T, nid_T, domain_id=nidom ) 
    187185         CALL histvert( nid_T, "deptht", "Vertical T levels",      &  ! Vertical grid: gdept 
    188             &           "m", ipk, gdept, nz_T ) 
     186            &           "m", ipk, gdept_0, nz_T ) 
    189187         !                                                            ! Index of ocean points 
    190188         CALL wheneq( jpi*jpj*ipk, tmask, 1, 1., ndex_T , ndim_T  )      ! volume 
     
    199197            &          0, zjulian, zdt, nh_U, nid_U, domain_id=nidom ) 
    200198         CALL histvert( nid_U, "depthu", "Vertical U levels",      &  ! Vertical grid: gdept 
    201             &           "m", ipk, gdept, nz_U ) 
     199            &           "m", ipk, gdept_0, nz_U ) 
    202200         !                                                            ! Index of ocean points 
    203201         CALL wheneq( jpi*jpj*ipk, umask, 1, 1., ndex_U , ndim_U  )      ! volume 
     
    212210            &          0, zjulian, zdt, nh_V, nid_V, domain_id=nidom ) 
    213211         CALL histvert( nid_V, "depthv", "Vertical V levels",      &  ! Vertical grid : gdept 
    214             &          "m", ipk, gdept, nz_V ) 
     212            &          "m", ipk, gdept_0, nz_V ) 
    215213         !                                                            ! Index of ocean points 
    216214         CALL wheneq( jpi*jpj*ipk, vmask, 1, 1., ndex_V , ndim_V  )      ! volume 
     
    225223            &          0, zjulian, zdt, nh_W, nid_W, domain_id=nidom ) 
    226224         CALL histvert( nid_W, "depthw", "Vertical W levels",      &  ! Vertical grid: gdepw 
    227             &          "m", ipk, gdepw, nz_W ) 
     225            &          "m", ipk, gdepw_0, nz_W ) 
    228226  
    229227 
     
    539537      !!    "   !  05-11  (V. Garnier) Surface pressure gradient organization 
    540538      !!---------------------------------------------------------------------- 
    541       !! * Modules used 
    542       USE ioipsl 
    543  
    544539      !! * Arguments 
    545540      CHARACTER (len=* ), INTENT( in ) ::   & 
     
    580575          1, jpi, 1, jpj, 0, zjulian, zdt, nh_i, id_i, domain_id=nidom )          ! Horizontal grid : glamt and gphit 
    581576      CALL histvert( id_i, "deptht", "Vertical T levels",   &    ! Vertical grid : gdept 
    582           "m", jpk, gdept, nz_i) 
     577          "m", jpk, gdept_0, nz_i) 
    583578 
    584579      ! Declare all the output fields as NetCDF variables 
Note: See TracChangeset for help on using the changeset viewer.