SURFEX v8.1
General documentation of Surfex
modd_forc_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 ! ######################
7 ! ######################
8 !
9 !!**** *MODD_FORC_ATM - declaration of atmospheric forcing variables
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! F. Habets *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !! Original 20/09/02
29 !
30 !* 0. DECLARATIONS
31 ! ------------
32 !
33 !
34 IMPLICIT NONE
35 !------------------------------------------------------------------------------
36 !
37  CHARACTER(LEN=6), DIMENSION(:), ALLOCATABLE :: csv ! name of all scalar variables
38 REAL, DIMENSION(:,:),ALLOCATABLE :: xdir_alb ! direct albedo for each band
39 REAL, DIMENSION(:,:),ALLOCATABLE :: xsca_alb ! diffuse albedo for each band
40 REAL, DIMENSION(:), ALLOCATABLE :: xemis ! emissivity
41 REAL, DIMENSION(:), ALLOCATABLE :: xtsrad ! radiative temperature
42 
43 REAL, DIMENSION(:), ALLOCATABLE :: xtsun ! solar time (s from midnight)
44 REAL, DIMENSION(:), ALLOCATABLE :: xzref ! height of T,q forcing (m)
45 REAL, DIMENSION(:), ALLOCATABLE :: xuref ! height of wind forcing (m)
46 !
47 REAL, DIMENSION(:), ALLOCATABLE :: xta ! air temperature forcing (K)
48 REAL, DIMENSION(:), ALLOCATABLE :: xqa ! air specific humidity forcing (kg/m3)
49 REAL, DIMENSION(:), ALLOCATABLE :: xrhoa ! air density forcing (kg/m3)
50 REAL, DIMENSION(:,:),ALLOCATABLE :: xsv ! scalar variables
51 REAL, DIMENSION(:), ALLOCATABLE :: xu ! zonal wind (m/s)
52 REAL, DIMENSION(:), ALLOCATABLE :: xv ! meridian wind (m/s)
53 REAL, DIMENSION(:,:),ALLOCATABLE :: xdir_sw ! direct solar radiation (on horizontal surf.)
54 ! ! (W/m2)
55 REAL, DIMENSION(:,:),ALLOCATABLE :: xsca_sw ! diffuse solar radiation (on horizontal surf.)
56 ! ! (W/m2)
57 REAL, DIMENSION(:), ALLOCATABLE :: xsw_bands ! mean wavelength of each shortwave band (m)
58 REAL, DIMENSION(:), ALLOCATABLE :: xzenith ! zenithal angle at t (radian from the vertical)
59 REAL, DIMENSION(:), ALLOCATABLE :: xzenith2 ! zenithal angle at t+1(radian from the vertical)
60 REAL, DIMENSION(:), ALLOCATABLE :: xazim ! azimuthal angle (radian from North, clockwise)
61 REAL, DIMENSION(:), ALLOCATABLE :: xlw ! longwave radiation (on horizontal surf.)
62 ! ! (W/m2)
63 REAL, DIMENSION(:), ALLOCATABLE :: xps ! pressure at atmospheric model surface (Pa)
64 REAL, DIMENSION(:), ALLOCATABLE :: xpa ! pressure at forcing level (Pa)
65 REAL, DIMENSION(:), ALLOCATABLE :: xzs ! atmospheric model orography (m)
66 REAL, DIMENSION(:), ALLOCATABLE :: xco2 ! CO2 concentration in the air (kg/kg)
67 REAL, DIMENSION(:), ALLOCATABLE :: xsnow ! snow precipitation (kg/m2/s)
68 REAL, DIMENSION(:), ALLOCATABLE :: xrain ! liquid precipitation (kg/m2/s)
69 !
70 !
71 REAL, DIMENSION(:), ALLOCATABLE :: xsfth ! flux of heat (W/m2)
72 REAL, DIMENSION(:), ALLOCATABLE :: xsftq ! flux of water vapor (kg/m2/s)
73 REAL, DIMENSION(:), ALLOCATABLE :: xsfu ! zonal momentum flux (pa)
74 REAL, DIMENSION(:), ALLOCATABLE :: xsfv ! meridian momentum flux (pa)
75 REAL, DIMENSION(:), ALLOCATABLE :: xsfco2 ! flux of CO2 (m/s*kg_CO2/kg_air)
76 REAL, DIMENSION(:,:),ALLOCATABLE:: xsfts ! flux of scalar var. (kg/m2/s)
77 !
78 REAL, DIMENSION(:), ALLOCATABLE :: xpew_a_coef ! implicit coefficients
79 REAL, DIMENSION(:), ALLOCATABLE :: xpew_b_coef ! needed if HCOUPLING='I'
80 REAL, DIMENSION(:), ALLOCATABLE :: xpet_a_coef
81 REAL, DIMENSION(:), ALLOCATABLE :: xpeq_a_coef
82 REAL, DIMENSION(:), ALLOCATABLE :: xpet_b_coef
83 REAL, DIMENSION(:), ALLOCATABLE :: xpeq_b_coef
84 !
85 REAL, DIMENSION(:), ALLOCATABLE :: xtsurf ! effective temperature (K)
86 REAL, DIMENSION(:), ALLOCATABLE :: xz0 ! surface roughness length for momentum (m)
87 REAL, DIMENSION(:), ALLOCATABLE :: xz0h ! surface roughness length for heat (m)
88 REAL, DIMENSION(:), ALLOCATABLE :: xqsurf ! specific humidity at surface (kg/kg)
89 !
90 !------------------------------------------------------------------------------
91 !
92 END MODULE modd_forc_atm
93 
real, dimension(:), allocatable xrain
real, dimension(:), allocatable xpew_a_coef
real, dimension(:), allocatable xsfco2
real, dimension(:,:), allocatable xdir_alb
real, dimension(:), allocatable xuref
real, dimension(:,:), allocatable xsfts
real, dimension(:), allocatable xta
real, dimension(:), allocatable xu
real, dimension(:), allocatable xsnow
real, dimension(:), allocatable xsfv
real, dimension(:), allocatable xtsun
real, dimension(:), allocatable xzs
real, dimension(:), allocatable xzenith2
real, dimension(:), allocatable xv
real, dimension(:), allocatable xazim
real, dimension(:), allocatable xsw_bands
character(len=6), dimension(:), allocatable csv
real, dimension(:), allocatable xpew_b_coef
real, dimension(:), allocatable xsfu
real, dimension(:), allocatable xps
real, dimension(:,:), allocatable xdir_sw
real, dimension(:), allocatable xz0h
real, dimension(:,:), allocatable xsca_sw
real, dimension(:), allocatable xpet_a_coef
real, dimension(:), allocatable xemis
real, dimension(:), allocatable xz0
real, dimension(:), allocatable xtsurf
real, dimension(:), allocatable xsftq
real, dimension(:), allocatable xqsurf
real, dimension(:), allocatable xlw
real, dimension(:), allocatable xpeq_a_coef
real, dimension(:), allocatable xqa
real, dimension(:), allocatable xrhoa
real, dimension(:), allocatable xzenith
real, dimension(:,:), allocatable xsca_alb
real, dimension(:), allocatable xco2
real, dimension(:), allocatable xzref
real, dimension(:), allocatable xsfth
real, dimension(:), allocatable xpa
real, dimension(:), allocatable xtsrad
real, dimension(:), allocatable xpeq_b_coef
real, dimension(:,:), allocatable xsv
real, dimension(:), allocatable xpet_b_coef