source: NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/TOP/CFC/trcnam_cfc.F90 @ 12748

Last change on this file since 12748 was 12377, checked in by acc, 18 months ago

The big one. Merging all 2019 developments from the option 1 branch back onto the trunk.

This changeset reproduces 2019/dev_r11943_MERGE_2019 on the trunk using a 2-URL merge
onto a working copy of the trunk. I.e.:

svn merge —ignore-ancestry \

svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/trunk \
svn+ssh://acc@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/NEMO/branches/2019/dev_r11943_MERGE_2019 ./

The —ignore-ancestry flag avoids problems that may otherwise arise from the fact that
the merge history been trunk and branch may have been applied in a different order but
care has been taken before this step to ensure that all applicable fixes and updates
are present in the merge branch.

The trunk state just before this step has been branched to releases/release-4.0-HEAD
and that branch has been immediately tagged as releases/release-4.0.2. Any fixes
or additions in response to tickets on 4.0, 4.0.1 or 4.0.2 should be done on
releases/release-4.0-HEAD. From now on future 'point' releases (e.g. 4.0.2) will
remain unchanged with periodic releases as needs demand. Note release-4.0-HEAD is a
transitional naming convention. Future full releases, say 4.2, will have a release-4.2
branch which fulfills this role and the first point release (e.g. 4.2.0) will be made
immediately following the release branch creation.

2020 developments can be started from any trunk revision later than this one.

  • Property svn:keywords set to Id
File size: 4.1 KB
Line 
1MODULE trcnam_cfc
2   !!======================================================================
3   !!                         ***  MODULE trcnam_cfc  ***
4   !! TOP :   initialisation of some run parameters for CFC chemical model
5   !!======================================================================
6   !! History :   2.0  !  2007-12  (C. Ethe, G. Madec) from trcnam.cfc.h90
7   !!----------------------------------------------------------------------
8   !! trc_nam_cfc      : CFC model initialisation
9   !!----------------------------------------------------------------------
10   USE oce_trc         ! Ocean variables
11   USE trc             ! TOP variables
12   USE trcsms_cfc      ! CFC specific variable
13
14   IMPLICIT NONE
15   PRIVATE
16
17   CHARACTER(len=34), PUBLIC ::   clname ! Input filename of CFCs atm. concentrations
18
19   PUBLIC   trc_nam_cfc   ! called by trcnam.F90 module
20
21   !!----------------------------------------------------------------------
22   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
23   !! $Id$
24   !! Software governed by the CeCILL license (see ./LICENSE)
25   !!----------------------------------------------------------------------
26CONTAINS
27
28   SUBROUTINE trc_nam_cfc
29      !!-------------------------------------------------------------------
30      !!                  ***  ROUTINE trc_nam_cfc  ***
31      !!                 
32      !! ** Purpose :   Definition some run parameter for CFC model
33      !!
34      !! ** Method  :   Read the namcfc namelist and check the parameter
35      !!       values called at the first timestep (nittrc000)
36      !!
37      !! ** input   :   Namelist namcfc
38      !!----------------------------------------------------------------------
39      INTEGER ::   ios   ! Local integer
40      INTEGER ::   jl, jn
41      !!
42      NAMELIST/namcfc/ ndate_beg, nyear_res, clname
43      !!----------------------------------------------------------------------
44      !
45      IF(lwp) THEN
46         WRITE(numout,*) ' '
47         WRITE(numout,*) ' CFCs'
48         WRITE(numout,*) ' '
49         WRITE(numout,*) ' trc_nam_cfc : Read namcfc namelist for CFC chemical model'
50         WRITE(numout,*) ' ~~~~~~~~~~~'
51      ENDIF
52      !
53      READ  ( numtrc_ref, namcfc, IOSTAT = ios, ERR = 901)
54901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namcfc in reference namelist' )
55      READ  ( numtrc_cfg, namcfc, IOSTAT = ios, ERR = 902 )
56902   IF( ios >  0 )   CALL ctl_nam ( ios , 'namcfc in configuration namelist' )
57      IF(lwm) WRITE( numonr, namcfc )
58      IF(lwm) CALL FLUSH ( numonr )     ! flush output namelist CFC
59
60      IF(lwp) THEN                  ! control print
61         WRITE(numout,*) '   Namelist : namcfc'
62         WRITE(numout,*) '      initial calendar date (aammjj) for CFC     ndate_beg = ', ndate_beg, '[yymmdd]'
63         WRITE(numout,*) '      restoring time constant (year)             nyear_res = ', nyear_res
64      ENDIF
65      nyear_beg = ndate_beg / 10000
66      IF(lwp) WRITE(numout,*) '      associated initial year (aa)               nyear_beg = ', nyear_beg, '[yy]'
67      !
68      jn = jp_cfc0 - 1
69      ! Variables setting
70      IF( ln_cfc11 ) THEN
71         jn = jn + 1
72         ctrcnm    (jn) = 'CFC11'
73         ctrcln    (jn) = 'Chlorofluoro carbon 11 Concentration'
74         ctrcun    (jn) = 'umolC/L'
75         ln_trc_ini(jn) = .false.
76         ln_trc_sbc(jn) = .false.
77         ln_trc_cbc(jn) = .false.
78         ln_trc_obc(jn) = .false.
79      ENDIF
80      !
81      IF( ln_cfc12 ) THEN
82         jn = jn + 1
83         ctrcnm    (jn) = 'CFC12'
84         ctrcln    (jn) = 'Chlorofluoro carbon 12 Concentration'
85         ctrcun    (jn) = 'umolC/L'
86         ln_trc_ini(jn) = .false.
87         ln_trc_sbc(jn) = .false.
88         ln_trc_cbc(jn) = .false.
89         ln_trc_obc(jn) = .false.
90      ENDIF
91      !
92      IF( ln_sf6 ) THEN
93         jn = jn + 1
94         ctrcnm    (jn) = 'SF6'
95         ctrcln    (jn) = 'Sulfur hexafluoride Concentration'
96         ctrcun    (jn) = 'umol/L'
97         ln_trc_ini(jn) = .false.
98         ln_trc_sbc(jn) = .false.
99         ln_trc_cbc(jn) = .false.
100         ln_trc_obc(jn) = .false.
101      ENDIF
102      !
103   END SUBROUTINE trc_nam_cfc
104   
105   !!======================================================================
106END MODULE trcnam_cfc
Note: See TracBrowser for help on using the repository browser.