/[MITgcm]/MITgcm_contrib/jscott/pkg_atm2d/atm2d_init_vars.F
ViewVC logotype

Contents of /MITgcm_contrib/jscott/pkg_atm2d/atm2d_init_vars.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Aug 11 18:55:49 2006 UTC (19 years, 4 months ago) by jscott
Branch: MAIN
new 2d atm package

1 #include "ctrparam.h"
2 C
3 SUBROUTINE ATM2D_INIT_VARS(myThid)
4 C |==========================================================|
5 C | Initialization steps which depend on pickups loading |
6 C \==========================================================/
7 IMPLICIT NONE
8
9 #include "ATMSIZE.h"
10 #include "DRIVER.h"
11
12 C !INPUT/OUTPUT PARAMETERS:
13 C == Routine arguments ==
14 C myThid - thread number for this instance of the routine.
15 INTEGER myThid
16
17 C === Local variables ===
18
19 CALL atmosphere(0.0,0)
20
21 #ifdef CLM
22 CALL clm4mit2d
23 #endif
24
25 #ifdef ML_2D
26 C 2D mixed layer model initialization
27 CALL mlogeom
28 CALL read_ocean_clim
29 CALL init_ocean
30 CALL init_seaice
31 CALL zonmeansocean
32 CALL zonmeansice
33 CALL mlocn2atm
34 CALL seaice2atm
35 # ifdef CPL_OCEANCO2
36 CALL zerogary
37 # endif
38 #endif
39
40 #ifdef CPL_TEM
41 PRINT *,' Start of tem_init'
42 aocuav=0.0
43 nepav=0.0
44 # ifdef DATA4TEM
45 nfile=1
46 # endif
47 # ifdef CPL_NEM
48 PRINT *,' Reading climate data to run NEM during '
49 PRINT *, ' TEM iInitialization'
50 CALL rd_rstrt_nem
51 # endif
52 c call tem_init(inyear,lyear)
53 CALL temclm_init
54 CALL lcluc_init
55 CALL updatelcluc(0)
56 CALL tem_init
57 adupt=0.0
58 PRINT *,' TEM initialization finished'
59 # ifdef CPL_NEM
60 CALL tem2climate(0,11)
61 PRINT *,'CH4'
62 PRINT *,(temch4(j),j=1,jm0)
63 PRINT *,'N2O'
64 PRINT *,(temn2o(j),j=1,jm0)
65 # endif
66 #endif
67
68 #ifdef OCEAN_3D
69 CALL ATM2D_READ_PICKUP(myThid)
70 #endif
71
72 RETURN
73 END

  ViewVC Help
Powered by ViewVC 1.1.22