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

Ignore:
Timestamp:
2009-02-03T14:15:21+01:00 (15 years ago)
Author:
cetlod
Message:

Initialization of biological trends variable name, see ticket:312

File:
1 edited

Legend:

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

    r1254 r1283  
    5757   INTEGER , PUBLIC  ::  nutrst     !: logical unit for restart FILE for passive tracers 
    5858   INTEGER , PUBLIC  ::  nrsttr     !: control of the time step ( 0 or 1 ) for pass. tr. 
    59    CHARACTER(len=32) ::  cn_trcrst_in  !: suffix of pass. tracer restart name (input) 
    60    CHARACTER(len=32) ::  cn_trcrst_out !: suffix of pass. tracer restart name (output) 
     59   CHARACTER(len=50) ::  cn_trcrst_in  !: suffix of pass. tracer restart name (input) 
     60   CHARACTER(len=50) ::  cn_trcrst_out !: suffix of pass. tracer restart name (output) 
    6161    
    6262   !! information for outputs 
     
    7474   CHARACTER(len=80), PUBLIC, DIMENSION (jpdia3d) ::   ctrc3l   !: 3d output field long name 
    7575 
    76     
    7776   REAL(wp), PUBLIC, DIMENSION (jpi,jpj,    jpdia2d) ::   trc2d   !:  additional 2d outputs   
    7877   REAL(wp), PUBLIC, DIMENSION (jpi,jpj,jpk,jpdia3d) ::   trc3d   !:  additional 3d outputs   
    7978    
    80     
    81    !! netcdf files and index common 
    82    !! -------------------------------------------------- 
    8379   INTEGER , PUBLIC ::   nwritedia     !: frequency of additional arrays outputs(namelist) 
    8480# endif 
    8581 
    86 # if defined key_trc_diabio 
    87  
    88    !! Biological trends 
    89    !! ----------------- 
     82#if defined key_trc_diabio || defined key_trdmld_trc 
    9083   CHARACTER(len=8),  DIMENSION(jpdiabio) ::   ctrbio   !: biological trends name      (NAMELIST) 
    9184   CHARACTER(len=20), DIMENSION(jpdiabio) ::   ctrbiu   !: biological trends unit      (NAMELIST) 
    9285   CHARACTER(len=80), DIMENSION(jpdiabio) ::   ctrbil   !: biological trends long name (NAMELIST) 
     86   INTEGER ::   nwritebio   !: time step frequency for biological outputs (NAMELIST) 
     87#endif 
     88# if defined key_trc_diabio 
     89   !! Biological trends 
     90   !! ----------------- 
    9391   REAL(wp), DIMENSION(jpi,jpj,jpk,jpdiabio) :: trbio   !: biological trends 
    94  
    95    !! Netcdf output parameters 
    96    !! ------------------------ 
    97    INTEGER ::   nwritebio   !: time step frequency for biological outputs (NAMELIST) 
    98  
    9992# endif 
    10093 
Note: See TracChangeset for help on using the changeset viewer.