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.lobster.h90 in trunk/NEMO/TOP_SRC/LOBSTER – NEMO

source: trunk/NEMO/TOP_SRC/LOBSTER/trcctl.lobster.h90 @ 934

Last change on this file since 934 was 934, checked in by cetlod, 16 years ago

adding modules for LOBSTER SMS model, see ticket 140

File size: 3.4 KB
Line 
1   !!======================================================================
2   !!                         ***  trcctl.lobster.h90  ***
3   !! TOP :   Control of LOBSTER 1 biological model
4   !!======================================================================
5   !!----------------------------------------------------------------------
6   !! History :   1.0  !  2000-12 (E. Kestenare) assign a parameter to name individual tracers
7   !!----------------------------------------------------------------------
8   !!----------------------------------------------------------------------
9   !! NEMO/TOP 1.0 , LOCEAN-IPSL (2005)
10   !! $Id: trcctl.lobster1.h90 764 2007-12-14 06:32:58Z gm $
11   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
12   !!----------------------------------------------------------------------
13
14      IF(lwp) WRITE(numout,*)
15      IF(lwp) WRITE(numout,*) ' use LOBSTER biological model '
16
17      ! Check number of tracers
18      ! -----------------------
19      IF (jp_lobster /= 6) THEN
20          IF (lwp) THEN
21              WRITE (numout,*) ' ===>>>> : w a r n i n g '
22              WRITE (numout,*) ' =======   ============= '
23              WRITE (numout,*)                             &
24              &   ' STOP, change jp_lobster to 6 in '           &
25              &   ,'par_lobster.F90 ' 
26          END IF
27          STOP 'TRC_CTL'
28      END IF
29
30      ! Check tracer names
31      ! ------------------
32      IF(   ctrcnm(jpdet) /= 'DET' .OR. ctrcnm(jpzoo) /= 'ZOO' .OR.   &
33         &  ctrcnm(jpphy) /= 'PHY' .OR. ctrcnm(jpno3) /= 'NO3' .OR.   &
34         &  ctrcnm(jpnh4) /= 'NH4' .OR. ctrcnm(jpdom) /= 'DOM' .OR.   &
35         &  ctrcnl(jpdet) /= 'Detritus'                        .OR.   &
36         &  ctrcnl(jpzoo) /= 'Zooplankton concentration'       .OR.   &
37         &  ctrcnl(jpphy) /= 'Phytoplankton concentration'     .OR.   &
38         &  ctrcnl(jpno3) /= 'Nitrate concentration'           .OR.   &
39         &  ctrcnl(jpnh4) /= 'Ammonium concentration'          .OR.   &
40         &  ctrcnl(jpdom) /= 'Dissolved organic matter' ) THEN
41         ctrcnm(jpdet)='DET'
42         ctrcnl(jpdet)='Detritus'
43         ctrcnm(jpzoo)='ZOO'
44         ctrcnl(jpzoo)='Zooplankton concentration'
45         ctrcnm(jpphy)='PHY'
46         ctrcnl(jpphy)='Phytoplankton concentration'
47         ctrcnm(jpno3)='NO3'
48         ctrcnl(jpno3)='Nitrate concentration'
49         ctrcnm(jpnh4)='NH4'
50         ctrcnl(jpnh4)='Ammonium concentration'
51         ctrcnm(jpdom)='DOM'
52         ctrcnl(jpdom)='Dissolved organic matter'         
53         IF(lwp) THEN
54            WRITE (numout,*) ' ===>>>> : w a r n i n g '
55            WRITE (numout,*) ' =======   ============= '
56            WRITE (numout,*) ' we force tracer names'
57            DO jn = jp_lob0, jp_lob1
58               WRITE(numout,*) ' tracer nb: ',jn,' name = ',ctrcnm(jn), ctrcnl(jn)
59            END DO
60            WRITE(numout,*) ' '
61         ENDIF
62      ENDIF
63
64      ! Check tracer units
65      DO jn = jp_lob0, jp_lob1
66         IF( ctrcun(jn) /= 'mmole-N/m3') THEN
67            ctrcun(jn)='mmole-N/m3'
68            IF(lwp) THEN
69               WRITE (numout,*) ' ===>>>> : w a r n i n g '
70               WRITE (numout,*) ' =======   ============= '
71               WRITE (numout,*) ' we force tracer unit'
72               WRITE(numout,*) ' tracer  ',ctrcnm(jn), 'UNIT= ',ctrcun(jn)
73            ENDIF
74         ENDIF
75      END DO             
Note: See TracBrowser for help on using the repository browser.