SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
default_write_surf_atm.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_write_surf_atm(ONOWRITE_CANOPY, ONOWRITE_TEXFILE)
7 ! ########################################################################
8 !
9 !!**** *DEFAULT_WRITE_SURF_ATM* - routine to desactivate output writings
10 !!
11 !! PURPOSE
12 !! -------
13 !!
14 !!** METHOD
15 !! ------
16 !!
17 !! EXTERNAL
18 !! --------
19 !!
20 !!
21 !! IMPLICIT ARGUMENTS
22 !! ------------------
23 !!
24 !! REFERENCE
25 !! ---------
26 !!
27 !!
28 !! AUTHOR
29 !! ------
30 !! P. Le Moigne *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 02/2008
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 !
41 !
42 USE yomhook ,ONLY : lhook, dr_hook
43 USE parkind1 ,ONLY : jprb
44 !
45 IMPLICIT NONE
46 !
47 !* 0.1 Declarations of arguments
48 ! -------------------------
49 !
50 LOGICAL, INTENT(OUT) :: onowrite_canopy ! flag to desactivate writing of canopy fields
51 LOGICAL, INTENT(OUT) :: onowrite_texfile ! flag to desactivate writing of tex file
52 REAL(KIND=JPRB) :: zhook_handle
53 !
54 !* 0.2 Declarations of local variables
55 ! -------------------------------
56 !
57 !-------------------------------------------------------------------------------
58 IF (lhook) CALL dr_hook('DEFAULT_WRITE_SURF_ATM',0,zhook_handle)
59 onowrite_canopy = .false.
60 onowrite_texfile = .true.
61 IF (lhook) CALL dr_hook('DEFAULT_WRITE_SURF_ATM',1,zhook_handle)
62 !-------------------------------------------------------------------------------
63 !
64 END SUBROUTINE default_write_surf_atm
subroutine default_write_surf_atm(ONOWRITE_CANOPY, ONOWRITE_TEXFILE)