SURFEX  V8_0
Surfex V8_0 release
 All Classes Files Functions Variables
zoom_pgd_sea.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 zoom_pgd_sea (DTCO, DTS, SG, S, UG, U, &
7  hprogram,hinifile,hinifiletype,hfile,hfiletype)
8 ! ###########################################################
9 
10 !!
11 !! PURPOSE
12 !! -------
13 !! This program prepares the physiographic data fields.
14 !!
15 !! METHOD
16 !! ------
17 !!
18 !! EXTERNAL
19 !! --------
20 !!
21 !!
22 !! IMPLICIT ARGUMENTS
23 !! ------------------
24 !!
25 !!
26 !! REFERENCE
27 !! ---------
28 !!
29 !! AUTHOR
30 !! ------
31 !!
32 !! V. Masson Meteo-France
33 !!
34 !! MODIFICATION
35 !! ------------
36 !!
37 !! Original 13/10/03
38 !----------------------------------------------------------------------------
39 !
40 !* 0. DECLARATION
41 ! -----------
42 !
43 !
44 !
45 !
46 !
50 USE modd_seaflux_n, ONLY : seaflux_t
52 USE modd_surf_atm_n, ONLY : surf_atm_t
53 !
54 USE yomhook ,ONLY : lhook, dr_hook
55 USE parkind1 ,ONLY : jprb
56 !
57 USE modi_zoom_pgd_seaflux
58 !
59 IMPLICIT NONE
60 !
61 !* 0.1 Declaration of dummy arguments
62 ! ------------------------------
63 !
64 !
65 TYPE(data_cover_t), INTENT(INOUT) :: dtco
66 TYPE(data_seaflux_t), INTENT(INOUT) :: dts
67 TYPE(seaflux_grid_t), INTENT(INOUT) :: sg
68 TYPE(seaflux_t), INTENT(INOUT) :: s
69 TYPE(surf_atm_grid_t), INTENT(INOUT) :: ug
70 TYPE(surf_atm_t), INTENT(INOUT) :: u
71 !
72  CHARACTER(LEN=6), INTENT(IN) :: hprogram ! program calling
73  CHARACTER(LEN=28), INTENT(IN) :: hinifile ! input atmospheric file name
74  CHARACTER(LEN=6), INTENT(IN) :: hinifiletype! input atmospheric file type
75  CHARACTER(LEN=28), INTENT(IN) :: hfile ! output file name
76  CHARACTER(LEN=6), INTENT(IN) :: hfiletype ! output file type
77 REAL(KIND=JPRB) :: zhook_handle
78 !
79 !
80 !* 0.2 Declaration of local variables
81 ! ------------------------------
82 !
83 !------------------------------------------------------------------------------
84 IF (lhook) CALL dr_hook('ZOOM_PGD_SEA',0,zhook_handle)
85 IF (u%CSEA=='NONE ') THEN
86  IF (lhook) CALL dr_hook('ZOOM_PGD_SEA',1,zhook_handle)
87  RETURN
88 ELSE IF (u%CSEA=='FLUX ') THEN
89  IF (lhook) CALL dr_hook('ZOOM_PGD_SEA',1,zhook_handle)
90  RETURN
91 ELSE IF (u%CSEA=='SEAFLX') THEN
92  CALL zoom_pgd_seaflux(dtco, dts, sg, s, ug, u, &
93  hprogram,hinifile,hinifiletype,hfile,hfiletype)
94 END IF
95 IF (lhook) CALL dr_hook('ZOOM_PGD_SEA',1,zhook_handle)
96 !
97 !_______________________________________________________________________________
98 !
99 END SUBROUTINE zoom_pgd_sea
subroutine zoom_pgd_seaflux(DTCO, DTS, SG, S, UG, U, HPROGRAM, HINIFILE, HINIFILETYPE, HFILE, HFILETYPE)
subroutine zoom_pgd_sea(DTCO, DTS, SG, S, UG, U, HPROGRAM, HINIFILE, HINIFILETYPE, HFILE, HFILETYPE)
Definition: zoom_pgd_sea.F90:6