/[MITgcm]/MITgcm/pkg/exf/exf_init.F
ViewVC logotype

Contents of /MITgcm/pkg/exf/exf_init.F

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


Revision 1.3 - (show annotations) (download)
Tue Nov 12 20:34:41 2002 UTC (21 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint47e_post, checkpoint47c_post, checkpoint47d_pre, checkpoint47a_post, checkpoint47d_post, checkpoint47b_post, checkpoint47
Branch point for: branch-exfmods-curt
Changes since 1.2: +5 -1 lines
Merging from release1_p8:
o exf:
  updated external forcing package
  - bug fixes carried over from ecco-branch
    (missing OBCS_OPTIONS.h in two routines)
  - enable easy to use "no forcing".
  - added exf I/O for atmospheric loading
  - added exf I/O for runoff data
  - transfered scaling between exf <-> MITgcm to exf namelist
  - removing old exfa stuff

1 c $Header: /u/gcmpack/MITgcm/pkg/exf/exf_init.F,v 1.1.4.2 2002/11/07 17:07:56 heimbach Exp $
2
3 #include "EXF_CPPOPTIONS.h"
4
5
6 subroutine exf_init(
7 I mythid
8 & )
9
10 c ==================================================================
11 c SUBROUTINE exf_init
12 c ==================================================================
13 c
14 c o This routine initialises the forcing
15 c
16 c started: Ralf.Giering@FastOpt.de 25-Mai-20000
17 c
18 c ==================================================================
19 c SUBROUTINE exf_init
20 c ==================================================================
21
22 implicit none
23
24 c == global variables ==
25
26 #include "EEPARAMS.h"
27 #include "SIZE.h"
28 #include "cal.h"
29 #include "exf.h"
30
31 c == routine arguments ==
32
33 integer mythid
34
35 c == local variables ==
36
37 c == end of interface ==
38
39 call exf_init_hflux ( mythid )
40 call exf_init_sflux ( mythid )
41
42 call exf_init_ustress( mythid )
43 call exf_init_vstress( mythid )
44
45 #ifdef ALLOW_RUNOFF
46 call exf_init_runoff ( mythid )
47 #endif /* ALLOW_RUNOFF */
48
49 #ifdef ALLOW_BULKFORMULAE
50 c Use bulk formulae estimates of the surface fluxes.
51
52 #ifdef ALLOW_ATM_TEMP
53
54 c Use the atmospheric temperature and specific humidity for flux
55 c estimates.
56 call exf_init_atemp ( mythid )
57 call exf_init_aqh ( mythid )
58 call exf_init_lwflux( mythid )
59 call exf_init_swflux( mythid )
60 call exf_init_precip( mythid )
61
62 #else /* ALLOW_ATM_TEMP undefined */
63
64 #ifdef ALLOW_KPP
65 call exf_init_swflux( mythid )
66 #endif /* ALLOW_KPP */
67
68 #endif /* ALLOW_ATM_TEMP */
69
70 #ifdef ALLOW_ATM_WIND
71
72 c Use atmospheric wind fields
73 call exf_init_uwind( mythid )
74 call exf_init_vwind( mythid )
75
76 #endif /* ALLOW_ATM_WIND */
77
78 #else /* ALLOW_BULKFORMULAE undefined */
79
80 #ifdef ALLOW_KPP
81 call exf_init_swflux( mythid )
82 #endif /* ALLOW_KPP */
83
84 #endif /* ALLOW_BULKFORMULAE */
85
86 c Check for climatological contributions
87 call exf_clim_init( mythid )
88
89 end

  ViewVC Help
Powered by ViewVC 1.1.22