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.
trcctl.lobster1.h in trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/trcctl.lobster1.h @ 247

Last change on this file since 247 was 247, checked in by opalod, 19 years ago

CL : Add CVS Header and CeCILL licence information

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1
2CCC $Header$ 
3CCC  TOP 1.0 , LOCEAN-IPSL (2005) 
4C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
5C ---------------------------------------------------------------------------
6C $Id$
7CCC
8CCC Modifications:
9CCC --------------
10CCC    00-12 (E. Kestenare): 
11CCC           assign a parameter to name individual tracers
12CCC
13c
14#if defined key_trc_lobster1
15      IF(lwp) THEN
16          WRITE(numout,*) ' use LOBSTER1 biological model '
17          WRITE(numout,*) ' '
18      ENDIF
19c
20c Check number of tracers
21c -----------------------
22      IF (jptra .ne. 6) THEN
23          IF (lwp) THEN
24              WRITE (numout,*) ' ===>>>> : w a r n i n g '
25              WRITE (numout,*) ' =======   ============= '
26              WRITE (numout,*)
27     $            ' STOP, change jptra to 6 in '
28     $            ,'parameter.passivetrc.lobster1.h ' 
29          END IF
30          STOP 'TRCCTL'
31      END IF
32c
33c Check tracer names
34c ------------------
35      IF (    (ctrcnm(jpdet).ne.'DET').or.(ctrcnm(jpzoo).ne.'ZOO')
36     $    .or.(ctrcnm(jpphy).ne.'PHY').or.(ctrcnm(jpno3).ne.'NO3')
37     $    .or.(ctrcnm(jpnh4).ne.'NH4').or.(ctrcnm(jpdom).ne.'DOM') 
38     $    .or.(ctrcnl(jpdet).ne.'Detritus')
39     $    .or.(ctrcnl(jpzoo).ne.'Zooplankton concentration')
40     $    .or.(ctrcnl(jpphy).ne.'Phytoplankton concentration')
41     $    .or.(ctrcnl(jpno3).ne.'Nitrate concentration')
42     $    .or.(ctrcnl(jpnh4).ne.'Ammonium concentration')
43     $    .or.(ctrcnl(jpdom).ne.'Dissolved organic matter') ) THEN
44          ctrcnm(jpdet)='DET'
45          ctrcnl(jpdet)='Detritus'
46          ctrcnm(jpzoo)='ZOO'
47          ctrcnl(jpzoo)='Zooplankton concentration'
48          ctrcnm(jpphy)='PHY'
49          ctrcnl(jpphy)='Phytoplankton concentration'
50          ctrcnm(jpno3)='NO3'
51          ctrcnl(jpno3)='Nitrate concentration'
52          ctrcnm(jpnh4)='NH4'
53          ctrcnl(jpnh4)='Ammonium concentration'
54          ctrcnm(jpdom)='DOM'
55          ctrcnl(jpdom)='Dissolved organic matter'         
56          IF (lwp) THEN
57              WRITE (numout,*) ' ===>>>> : w a r n i n g '
58              WRITE (numout,*) ' =======   ============= '
59              WRITE (numout,*) ' we force tracer names'
60              DO jn=1,jptra
61                WRITE(numout,*) ' tracer nb: ',jn,' name = ',ctrcnm(jn)
62     $              ,ctrcnl(jn) 
63              END DO
64              WRITE(numout,*) ' '
65          ENDIF
66      ENDIF
67c Check tracer units
68      DO jn=1,jptra
69        IF (ctrcun(jn).ne.'mmole-N/m3') THEN
70            ctrcun(jn)='mmole-N/m3'
71            IF (lwp) THEN
72                WRITE (numout,*) ' ===>>>> : w a r n i n g '
73                WRITE (numout,*) ' =======   ============= '
74                WRITE (numout,*) ' we force tracer unit'
75                WRITE(numout,*) ' tracer  ',ctrcnm(jn), 'UNIT= '
76     $              ,ctrcun(jn)
77                WRITE(numout,*) ' '
78            ENDIF
79        ENDIF
80      END DO             
81#endif
Note: See TracBrowser for help on using the repository browser.