SURFEX v8.1
General documentation of Surfex
modd_io_surf_ol.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_OL* Keep in memory the netcdf ID of the output files
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 !! modified 04/04 by P. LeMoigne: add logical for town, sea and water
29 !! modified 07/11 by B. Decharme: add mask for IGN grid
30 !
31 !* 0. DECLARATIONS
32 ! ------------
33 !
34 !
35 IMPLICIT NONE
36 !------------------------------------------------------------------------------
37 !
38 !* variables for each patch
39 !
40 INTEGER, DIMENSION(:),POINTER :: nmask
41 !$OMP THREADPRIVATE(NMASK)
42 INTEGER :: nstep_output
43 LOGICAL :: lmask = .false.
44 LOGICAL :: lpartr,lpartw
45 LOGICAL :: ltime_written
46 INTEGER :: xtype
47 INTEGER :: xstart,xcount,xstride
48 INTEGER :: xstartw,xcountw
49 !
50 LOGICAL :: ldef
51 INTEGER :: nid_nc
52 !
53 INTEGER, DIMENSION(:),ALLOCATABLE :: nmask_ign
54 
55 !------------------------------------------------------------------------------
56 !
57 END MODULE modd_io_surf_ol
58 
integer, dimension(:), pointer nmask
integer, dimension(:), allocatable nmask_ign