SURFEX v8.1
General documentation of Surfex
modd_io_surf_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 ! ##################
7 ! ##################
8 !
9 !!**** *MODD_IO_SURF_LFI -
10 !!
11 !! PURPOSE
12 !! -------
13 !
14 !!
15 !!** IMPLICIT ARGUMENTS
16 !! ------------------
17 !! None
18 !!
19 !! REFERENCE
20 !! ---------
21 !!
22 !! AUTHOR
23 !! ------
24 !! V. Masson *Meteo France*
25 !!
26 !! MODIFICATIONS
27 !! -------------
28 !!
29 USE modd_surf_par, ONLY : nundef
30 !
31 !* 0. DECLARATIONS
32 !
33 IMPLICIT NONE
34  CHARACTER(LEN=28),SAVE :: cluout_lfi ! Name of the listing
35  CHARACTER(LEN=28),SAVE :: cfile_lfi ! Name of the current file
36  CHARACTER(LEN=28),SAVE :: cfilein_lfi ! Name of the input
37  CHARACTER(LEN=28),SAVE :: cfilein_lfi_save ! Name of the input
38  CHARACTER(LEN=28),SAVE :: cfileout_lfi ! Name of the output
39  CHARACTER(LEN=28),SAVE :: cfilediag_lfi ! Name of the output
40  CHARACTER(LEN=28),SAVE :: cfilepgd_lfi ! Name of the pgd file
41 INTEGER :: nunit_lfi ! logical unit of surface file (LFI part)
42 INTEGER :: nluout ! logical unit of output file
43 !
44 INTEGER, DIMENSION(:), POINTER :: nmask=>null() ! 1D mask to read only interesting
45  CHARACTER(LEN=6) :: cmask ! surface mask type
46 INTEGER :: nfull = nundef ! total number fo points of surface
47 INTEGER :: nfull_aux = nundef ! total number fo points of surface (Auxilarry file for prep)
48 INTEGER :: nfull_surf= nundef ! total number fo points of surface (PGD, PREP or SURFace prognostic file)
49 !
50 !* variables to insure compatibility with MesoNH and AROME files
51 !
52 LOGICAL :: lmnh_compatible = .false. ! true if grid is compatible with MesoNH
53 LOGICAL :: lcartesian ! flag for cartesian grid
54 INTEGER :: niu = 0 ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
55 INTEGER :: nib = nundef ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
56 INTEGER :: nie = nundef ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
57 INTEGER :: nju = 0 ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
58 INTEGER :: njb = nundef ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
59 INTEGER :: nje = nundef ! horizontal indexes of the grid (any file, including auxilliary file in PREP)
60 INTEGER :: niu_surf = nundef
61 INTEGER :: nib_surf = nundef
62 INTEGER :: nie_surf = nundef
63 INTEGER :: nju_surf = nundef
64 INTEGER :: njb_surf = nundef
65 INTEGER :: nje_surf = nundef
66  ! horizontal indexes of the grid (PGD, PREP or SURFACE file)
67 !
68 END MODULE modd_io_surf_lfi
character(len=28), save cfilein_lfi_save
character(len=28), save cluout_lfi
character(len=28), save cfile_lfi
integer, parameter nundef
character(len=28), save cfilepgd_lfi
integer, dimension(:), pointer nmask
character(len=28), save cfileout_lfi
character(len=28), save cfilediag_lfi
character(len=6) cmask
character(len=28), save cfilein_lfi