SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
SURFEX
prep_seaflux_unif.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
prep_seaflux_unif
(KLUOUT,HSURF,PFIELD)
7
! #################################################################################
8
!
9
!!**** *PREP_SEAFLUX_UNIF* - prepares SEAFLUX field from prescribed values
10
!!
11
!! PURPOSE
12
!! -------
13
!
14
!!** METHOD
15
!! ------
16
!!
17
!! REFERENCE
18
!! ---------
19
!!
20
!!
21
!! AUTHOR
22
!! ------
23
!! S. Malardel
24
!!
25
!! MODIFICATIONS
26
!! -------------
27
!! Original 01/2004
28
!! Modified 09/2013 : S. Senesi : extends to SSS and SIC variables
29
!!------------------------------------------------------------------
30
!
31
32
!
33
USE
modd_prep
, ONLY
:
cinterp_type
34
USE
modd_prep_seaflux
, ONLY
:
xsst_unif
,
xsss_unif
,
xsic_unif
35
!
36
!
37
USE
yomhook
,ONLY
:
lhook
,
dr_hook
38
USE
parkind1
,ONLY
:
jprb
39
!
40
IMPLICIT NONE
41
!
42
!* 0.1 declarations of arguments
43
!
44
INTEGER
,
INTENT(IN)
:: KLUOUT
! output listing logical unit
45
CHARACTER(LEN=7)
,
INTENT(IN)
:: HSURF
! type of field
46
REAL
,
POINTER
,
DIMENSION(:,:)
:: PFIELD
! field to interpolate horizontally
47
REAL(KIND=JPRB)
:: ZHOOK_HANDLE
48
!
49
!* 0.2 declarations of local variables
50
!
51
!
52
!-------------------------------------------------------------------------------------
53
!
54
IF
(
lhook
)
CALL
dr_hook
(
'PREP_SEAFLUX_UNIF'
,0,zhook_handle)
55
SELECT CASE
(hsurf)
56
!
57
!* 3.0 Orography
58
!
59
CASE
(
'ZS '
)
60
ALLOCATE
(pfield(1,1))
61
pfield = 0.
62
!
63
!* 3.1 Sea surface temperature
64
!
65
CASE
(
'SST '
)
66
ALLOCATE
(pfield(1,1))
67
pfield =
xsst_unif
68
!
69
!* 3.2 Sea surface salinity
70
!
71
CASE
(
'SSS '
)
72
ALLOCATE
(pfield(1,1))
73
pfield =
xsss_unif
74
!
75
!
76
!* 3.3 Sea Ice Cover
77
!
78
CASE
(
'SIC '
)
79
ALLOCATE
(pfield(1,1))
80
pfield =
xsic_unif
81
!
82
END SELECT
83
!
84
!* 4. Interpolation method
85
! --------------------
86
!
87
cinterp_type
=
'UNIF '
88
IF
(
lhook
)
CALL
dr_hook
(
'PREP_SEAFLUX_UNIF'
,1,zhook_handle)
89
!
90
!
91
!-------------------------------------------------------------------------------------
92
END SUBROUTINE
prep_seaflux_unif
modd_prep_seaflux::xsst_unif
real xsst_unif
Definition:
modd_prep_seaflux.F90:45
yomhook::dr_hook
Definition:
yomhook.F90:20
modd_prep_seaflux::xsss_unif
real xsss_unif
Definition:
modd_prep_seaflux.F90:46
modd_prep::cinterp_type
character(len=6) cinterp_type
Definition:
modd_prep.F90:40
modd_prep_seaflux::xsic_unif
real xsic_unif
Definition:
modd_prep_seaflux.F90:47
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
prep_seaflux_unif
subroutine prep_seaflux_unif(KLUOUT, HSURF, PFIELD)
Definition:
prep_seaflux_unif.F90:7
yomhook::lhook
logical lhook
Definition:
yomhook.F90:15
parkind1
Definition:
parkind1.F90:1
modd_prep
Definition:
modd_prep.F90:6
modd_prep_seaflux
Definition:
modd_prep_seaflux.F90:6
yomhook
Definition:
yomhook.F90:1
Generated on Tue Jan 16 2018 16:23:30 for SURFEX v8.1 by
1.8.13