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 @ 186

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

CL + CE : NEMO TRC_SRC start

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