[336] | 1 | !!---------------------------------------------------------------------- |
---|
| 2 | !! *** trclsm.cfc.h90 *** |
---|
| 3 | !!---------------------------------------------------------------------- |
---|
| 4 | CONTAINS |
---|
[260] | 5 | |
---|
[336] | 6 | SUBROUTINE trc_lsm |
---|
| 7 | !!------------------------------------------------------------------- |
---|
| 8 | !! *** ROUTINE trc_lsm *** |
---|
| 9 | !! |
---|
| 10 | !! ** Purpose : Definition some run parameter for CFC model |
---|
| 11 | !! |
---|
| 12 | !! ** Method : Read the namcfc namelist and check the parameter |
---|
| 13 | !! values called at the first timestep (nit000) |
---|
| 14 | !! |
---|
| 15 | !! ** input : Namelist namcfc |
---|
| 16 | !! |
---|
| 17 | !! history : |
---|
| 18 | !! 2.0 ! 03-08 (C. Ethe) Original code |
---|
[341] | 19 | !!---------------------------------------------------------------------- |
---|
| 20 | !! TOP 1.0 , LOCEAN-IPSL (2005) |
---|
[699] | 21 | !! $Id$ |
---|
[341] | 22 | !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
| 23 | !!---------------------------------------------------------------------- |
---|
[260] | 24 | |
---|
[336] | 25 | CHARACTER (len=32) :: & |
---|
[348] | 26 | clname = 'namelist.trc.sms' |
---|
[336] | 27 | INTEGER :: & |
---|
[625] | 28 | numnat |
---|
[260] | 29 | |
---|
[336] | 30 | NAMELIST/namdates/ndate_beg, nyear_res |
---|
| 31 | !!------------------------------------------------------------------- |
---|
[260] | 32 | |
---|
[336] | 33 | ndate_beg = 300101 |
---|
| 34 | nyear_res = 1950 |
---|
[260] | 35 | |
---|
[336] | 36 | IF(lwp) THEN |
---|
| 37 | WRITE(numout,*) ' ' |
---|
| 38 | WRITE(numout,*) ' Namelist for CFC model' |
---|
| 39 | WRITE(numout,*) ' ***********************' |
---|
| 40 | WRITE(numout,*) ' ' |
---|
| 41 | ENDIF |
---|
[260] | 42 | |
---|
[625] | 43 | CALL ctlopn( numnat, clname, 'OLD', 'FORMATTED', 'SEQUENTIAL', & |
---|
| 44 | & 1, numout, .FALSE., 1 ) |
---|
[336] | 45 | READ( numnat , namdates ) |
---|
[260] | 46 | |
---|
| 47 | IF(lwp) THEN |
---|
[336] | 48 | WRITE(numout,*) |
---|
| 49 | WRITE(numout,*) ' trc_lsm: Namelist parameter' |
---|
| 50 | WRITE(numout,*) ' ~~~~~~~~~~~~~~' |
---|
| 51 | WRITE(numout,*) ' initial calendar date (aammjj) for CFC ndate_beg = ', ndate_beg |
---|
| 52 | WRITE(numout,*) ' restoring time constant (year) nyear_res = ', nyear_res |
---|
[260] | 53 | ENDIF |
---|
[336] | 54 | nyear_beg = ndate_beg / 10000 |
---|
| 55 | IF(lwp) THEN |
---|
| 56 | WRITE(numout,*) ' initial year (aa) nyear_beg = ', nyear_beg |
---|
| 57 | WRITE(numout,*) ' ' |
---|
| 58 | ENDIF |
---|
[260] | 59 | |
---|
[336] | 60 | END SUBROUTINE trc_lsm |
---|
[260] | 61 | |
---|