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 1329 for trunk/NEMO/TOP_SRC/trcdia.F90 – NEMO

Ignore:
Timestamp:
2009-02-20T11:32:52+01:00 (15 years ago)
Author:
cetlod
Message:

update modules to take into account the mask land points in NetCDF outputs, see ticket:322

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/trcdia.F90

    r1318 r1329  
    4040   INTEGER  ::   ndimt50   !: number of ocean points in index array 
    4141   INTEGER  ::   ndimt51   !: number of ocean points in index array 
    42    REAL(wp) ::   zjulian   !: ????   not DOCTOR ! 
     42   REAL(wp) ::   xjulian   !: ????   not DOCTOR ! 
    4343   INTEGER , DIMENSION (jpij*jpk) ::   ndext50   !: integer arrays for ocean 3D index 
    4444   INTEGER , DIMENSION (jpij)     ::   ndext51   !: integer arrays for ocean surface index 
     
    151151 
    152152         ! Compute julian date from starting date of the run 
    153          CALL ymds2ju( nyear, nmonth, nday, rdt, zjulian ) 
    154          zjulian = zjulian - adatrj   !   set calendar origin to the beginning of the experiment 
     153         CALL ymds2ju( nyear, nmonth, nday, rdt, xjulian ) 
     154         xjulian = xjulian - adatrj   !   set calendar origin to the beginning of the experiment 
    155155         IF(lwp)WRITE(numout,*)' '   
    156156         IF(lwp)WRITE(numout,*)' Date 0 used :', nittrc000                         & 
    157157            &                 ,' YEAR ', nyear, ' MONTH ', nmonth, ' DAY ', nday   & 
    158             &                 ,'Julian day : ', zjulian     
     158            &                 ,'Julian day : ', xjulian     
    159159         IF(lwp) WRITE(numout,*) ' indexes of zoom = ', iimi, iima, ijmi, ijma,  & 
    160160            &                    ' limit storage in depth = ', ipk 
     
    168168         CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,     & 
    169169            &          iimi, iima-iimi+1, ijmi, ijma-ijmi+1,         &  
    170             &          0, zjulian, zdt, nhorit5, nit5 , domain_id=nidom) 
     170            &          0, xjulian, zdt, nhorit5, nit5 , domain_id=nidom) 
    171171! Vertical grid for tracer : gdept 
    172172         CALL histvert( nit5, 'deptht', 'Vertical T levels', & 
     
    298298               CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,       & 
    299299                  &          iimi, iima-iimi+1, ijmi, ijma-ijmi+1,   & 
    300                   &          0, zjulian, rdt, nhorit6(jn),           & 
     300                  &          0, xjulian, rdt, nhorit6(jn),           & 
    301301                  &          nit6(jn) , domain_id=nidom ) 
    302302 
     
    536536         CALL histbeg( clhstnam, jpi, glamt, jpj, gphit,             & 
    537537            &          iimi, iima-iimi+1, ijmi, ijma-ijmi+1,         & 
    538             &          0, zjulian, zdt, nhoritd, nitd , domain_id=nidom ) 
     538            &          0, xjulian, zdt, nhoritd, nitd , domain_id=nidom ) 
    539539 
    540540         ! Vertical grid for 2d and 3d arrays 
     
    682682         CALL histbeg(clhstnam, jpi, glamt, jpj, gphit,      & 
    683683            &    iimi, iima-iimi+1, ijmi, ijma-ijmi+1,          & 
    684             &    0, zjulian, rdt, nhoritb, nitb , domain_id=nidom) 
     684            &    0, xjulian, rdt, nhoritb, nitb , domain_id=nidom) 
    685685         ! Vertical grid for biological trends 
    686686         CALL histvert(nitb, 'deptht', 'Vertical T levels',  & 
Note: See TracChangeset for help on using the changeset viewer.