SURFEX v8.1
General documentation of Surfex
modd_io_surf_asc.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_ASC -
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 !! P. LeMoigne 04/2004 : distinguish in and out file name
30 !
31 !* 0. DECLARATIONS
32 !
33 IMPLICIT NONE
34  CHARACTER(LEN=28),SAVE :: cfile = 'SURFIN.txt'
35  CHARACTER(LEN=28),SAVE :: cfilein ='SURFIN.txt' ! Name of the input
36  CHARACTER(LEN=28),SAVE :: cfilein_save ='SURFIN.txt' ! Name of the input
37  CHARACTER(LEN=28),SAVE :: cfileout='SURFOUT.txt'! Name of the output
38  CHARACTER(LEN=28),SAVE :: cfilepgd ='PGD.txt' ! Name of the pgd file
39 INTEGER :: nunit ! logical unit of surface file
40 INTEGER :: nluout ! logical unit of output file
41 INTEGER, DIMENSION(:), POINTER :: nmask=>null() ! 1D mask to read only interesting
42  CHARACTER(LEN=6) :: cmask ! surface mask type
43 INTEGER :: nfull ! total number fo points of surface
44 LOGICAL, SAVE :: lcreated=.false. ! flag to know if the output file was created
45 INTEGER :: nni_forc ! number of points in forcing files.
46 !
47 END MODULE modd_io_surf_asc
character(len=6) cmask
integer, dimension(:), pointer nmask
logical, save lcreated
character(len=28), save cfilepgd
character(len=28), save cfilein_save
character(len=28), save cfileout
character(len=28), save cfilein
character(len=28), save cfile