SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_diag_seaflux.F90
Go to the documentation of this file.
1 !SFX_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
2 !SFX_LIC This is part of the SURFEX software governed by the CeCILL-C licence
3 !SFX_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4 !SFX_LIC for details. version 1.
5 ! #########
6  SUBROUTINE default_diag_seaflux(K2M,OSURF_BUDGET,O2M_MIN_ZS,ORAD_BUDGET,OCOEF,OSURF_VARS,&
7  odiag_ocean,odiag_seaice,osurf_budgetc,oreset_budgetc,pdiag_tstep )
8 ! ########################################################################
9 !
10 !!**** *DEFAULT_DIAG_SEAFLUX* - routine to set default values for the choice of diagnostics
11 !!
12 !! PURPOSE
13 !! -------
14 !!
15 !!** METHOD
16 !! ------
17 !!
18 !! EXTERNAL
19 !! --------
20 !!
21 !!
22 !! IMPLICIT ARGUMENTS
23 !! ------------------
24 !!
25 !! REFERENCE
26 !! ---------
27 !!
28 !!
29 !! AUTHOR
30 !! ------
31 !! V. Masson *Meteo France*
32 !!
33 !! MODIFICATIONS
34 !! -------------
35 !! Original 01/2004
36 !! Modified 09/2013 : S. Senesi : introduce ODIAG_SEAICE
37 !-------------------------------------------------------------------------------
38 !
39 !* 0. DECLARATIONS
40 ! ------------
41 !
42 USE modd_surf_par, ONLY : xundef
43 !
44 !
45 USE yomhook ,ONLY : lhook, dr_hook
46 USE parkind1 ,ONLY : jprb
47 !
48 IMPLICIT NONE
49 !
50 !* 0.1 Declarations of arguments
51 ! -------------------------
52 !
53 !
54 INTEGER, INTENT(OUT) :: k2m ! flag for operational 2m quantities
55 LOGICAL, INTENT(OUT) :: osurf_budget ! flag for surface budget
56 LOGICAL, INTENT(OUT) :: o2m_min_zs
57 LOGICAL, INTENT(OUT) :: orad_budget ! flag for radiative budget
58 LOGICAL, INTENT(OUT) :: ocoef
59 LOGICAL, INTENT(OUT) :: osurf_vars
60 LOGICAL, INTENT(OUT) :: odiag_ocean
61 LOGICAL, INTENT(OUT) :: odiag_seaice
62 LOGICAL, INTENT(OUT) :: osurf_budgetc ! flag for cumulated surface budget
63 LOGICAL, INTENT(OUT) :: oreset_budgetc! flag for cumulated surface budget
64 REAL, INTENT(OUT) :: pdiag_tstep ! time-step for writing
65 REAL(KIND=JPRB) :: zhook_handle
66 !
67 !* 0.2 Declarations of local variables
68 ! -------------------------------
69 !
70 !-------------------------------------------------------------------------------
71 !
72 IF (lhook) CALL dr_hook('DEFAULT_DIAG_SEAFLUX',0,zhook_handle)
73 !
74 k2m = 0
75 osurf_budget = .false.
76 !
77 o2m_min_zs = .false.
78 !
79 orad_budget = .false.
80 !
81 ocoef = .false.
82 osurf_vars = .false.
83 !
84 odiag_ocean = .false.
85 odiag_seaice = .false.
86 !
87 osurf_budgetc = .false.
88 oreset_budgetc= .false.
89 !
90 pdiag_tstep = xundef
91 !
92 IF (lhook) CALL dr_hook('DEFAULT_DIAG_SEAFLUX',1,zhook_handle)
93 !
94 !-------------------------------------------------------------------------------
95 !
96 END SUBROUTINE default_diag_seaflux
subroutine default_diag_seaflux(K2M, OSURF_BUDGET, O2M_MIN_ZS, ORAD_BUDGET, OCOEF, OSURF_VARS, ODIAG_OCEAN, ODIAG_SEAICE, OSURF_BUDGETC, ORESET_BUDGETC, PDIAG_TSTEP)