SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
OFFLIN
close_file_ol.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
close_file_ol
(HPROGRAM,KUNIT )
7
! #######################################################
8
!
9
!!**** *CLOSE_FILE_OL* - closes files read by surface in MESOHN
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
!
41
USE
yomhook
,ONLY
:
lhook
,
dr_hook
42
USE
parkind1
,ONLY
:
jprb
43
!
44
IMPLICIT NONE
45
!
46
!* 0.1 Declarations of arguments
47
! -------------------------
48
!
49
CHARACTER(LEN=6)
,
INTENT(IN)
:: HPROGRAM
! main program
50
INTEGER
,
INTENT(IN)
:: KUNIT
! logical unit of file
51
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
52
!
53
!* 0.2 Declarations of local variables
54
! -------------------------------
55
!
56
!-------------------------------------------------------------------------------
57
!
58
!* closes the file
59
! -------------------
60
!
61
IF
(
lhook
)
CALL
dr_hook
(
'CLOSE_FILE_OL'
,0,zhook_handle)
62
CLOSE(KUNIT)
63
IF
(
lhook
)
CALL
dr_hook
(
'CLOSE_FILE_OL'
,1,zhook_handle)
64
!
65
!-------------------------------------------------------------------------------
66
!
67
END SUBROUTINE
close_file_ol
yomhook::dr_hook
Definition:
yomhook.F90:20
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
close_file_ol
subroutine close_file_ol(HPROGRAM, KUNIT)
Definition:
close_file_ol.F90:7
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:22 for SURFEX v8.1 by
1.8.13