SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
open_write_cover_tex_lfi.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 open_write_cover_tex_lfi(KTEX)
7 ! ##################################
8 !
9 !!**** *OPEN_WRITE_COVER_TEX_LFI* - opens cover listing file (in MESONH universe)
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 !! V. Masson *Meteo France*
31 !!
32 !! MODIFICATIONS
33 !! -------------
34 !! Original 01/2003
35 !-------------------------------------------------------------------------------
36 !
37 !* 0. DECLARATIONS
38 ! ------------
39 !
40 USE modi_open_file_lfi
41 !
42 !
43 !
44 USE yomhook ,ONLY : lhook, dr_hook
45 USE parkind1 ,ONLY : jprb
46 !
47 IMPLICIT NONE
48 !
49 !* 0.1 Declarations of arguments
50 ! -------------------------
51 !
52 INTEGER, INTENT(OUT) :: ktex ! logical unit of Tex file
53 !
54 !* 0.2 Declarations of local variables
55 ! -------------------------------
56 !
57 INTEGER :: iresp
58  CHARACTER(LEN=28) :: ytex ! name of tex file
59  CHARACTER(LEN=11) :: yform
60  CHARACTER(LEN=9) :: yaction
61  CHARACTER(LEN=6) :: yaccess
62  CHARACTER(LEN=6) :: yposition
63 REAL(KIND=JPRB) :: zhook_handle
64 !-------------------------------------------------------------------------------
65 !
66 !* 5. Prints of cover parameters in a tex file
67 ! ----------------------------------------
68 !
69 IF (lhook) CALL dr_hook('OPEN_WRITE_COVER_TEX_LFI',0,zhook_handle)
70 ytex = 'class_cover_data.tex'
71 yform = 'FORMATTED'
72 yaction = 'READWRITE'
73 yaccess = ' '
74 yposition = 'ASIS'
75  CALL open_file_lfi(ktex,ytex,yform,yaction,yaccess,yposition,iresp)
76 IF (lhook) CALL dr_hook('OPEN_WRITE_COVER_TEX_LFI',1,zhook_handle)
77 !
78 !-------------------------------------------------------------------------------
79 !
80 END SUBROUTINE open_write_cover_tex_lfi
subroutine open_file_lfi(KUNIT, HFILE, HFORM, HACTION, HACCESS, HPOSITION, KRECL)
subroutine open_write_cover_tex_lfi(KTEX)