Last change
on this file since 2056 was
1910,
checked in by Laurent Fairhead, 11 years ago
|
Merged trunk changes r1860:1909 into testing branch
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
726 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: minmaxqfi.F90 1910 2013-11-29 08:40:25Z fairhead $ |
---|
3 | ! |
---|
4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment) |
---|
5 | USE dimphy |
---|
6 | IMPLICIT NONE |
---|
7 | |
---|
8 | ! Entrees |
---|
9 | REAL,DIMENSION(klon,klev), INTENT(IN) :: zq |
---|
10 | REAL,INTENT(IN) :: qmin,qmax |
---|
11 | CHARACTER(LEN=*),INTENT(IN) :: comment |
---|
12 | |
---|
13 | ! Local |
---|
14 | INTEGER,DIMENSION(klon) :: jadrs |
---|
15 | INTEGER :: i, jbad, k |
---|
16 | |
---|
17 | DO k = 1, klev |
---|
18 | jbad = 0 |
---|
19 | DO i = 1, klon |
---|
20 | IF (zq(i,k).GT.qmax .OR. zq(i,k).LT.qmin) THEN |
---|
21 | jbad = jbad + 1 |
---|
22 | jadrs(jbad) = i |
---|
23 | ENDIF |
---|
24 | ENDDO |
---|
25 | IF (jbad.GT.0) THEN |
---|
26 | WRITE(*,*)comment |
---|
27 | DO i = 1, jbad |
---|
28 | WRITE(*,*) "i,k,q=", jadrs(i),k,zq(jadrs(i),k) |
---|
29 | ENDDO |
---|
30 | ENDIF |
---|
31 | ENDDO |
---|
32 | |
---|
33 | END SUBROUTINE minmaxqfi |
---|
Note: See
TracBrowser
for help on using the repository browser.