Last change
on this file since 2303 was
2098,
checked in by lguez, 10 years ago
|
Replaced 360 in calbeta_clim by length of current year according to
chosen calendar. Length of current year is given by
ioget_year_len. Since we already need this for ozone, moved the call
to ioget_year_len from physiq to phys_cal_mod and created variable
year_len of module phys_cal_mod.
Control the output from minmaxqfi.
Non-ASCII characters in comments are not always rendered properly and
they risk being lost. See revision 1740.
|
-
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:
827 bytes
|
Rev | Line | |
---|
[524] | 1 | ! |
---|
[1191] | 2 | ! $Id: minmaxqfi.F90 2098 2014-07-22 10:51:23Z jescribano $ |
---|
[524] | 3 | ! |
---|
[1191] | 4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment) |
---|
| 5 | USE dimphy |
---|
| 6 | IMPLICIT NONE |
---|
[524] | 7 | |
---|
[1191] | 8 | ! Entrees |
---|
| 9 | REAL,DIMENSION(klon,klev), INTENT(IN) :: zq |
---|
| 10 | REAL,INTENT(IN) :: qmin,qmax |
---|
| 11 | CHARACTER(LEN=*),INTENT(IN) :: comment |
---|
[524] | 12 | |
---|
[1191] | 13 | ! Local |
---|
| 14 | INTEGER,DIMENSION(klon) :: jadrs |
---|
| 15 | INTEGER :: i, jbad, k |
---|
[2098] | 16 | |
---|
| 17 | include "iniprint.h" |
---|
[1191] | 18 | |
---|
| 19 | DO k = 1, klev |
---|
| 20 | jbad = 0 |
---|
| 21 | DO i = 1, klon |
---|
| 22 | IF (zq(i,k).GT.qmax .OR. zq(i,k).LT.qmin) THEN |
---|
| 23 | jbad = jbad + 1 |
---|
| 24 | jadrs(jbad) = i |
---|
| 25 | ENDIF |
---|
| 26 | ENDDO |
---|
| 27 | IF (jbad.GT.0) THEN |
---|
[2098] | 28 | WRITE(*,*)comment, "k = ", k, "jbad > 0" |
---|
| 29 | if (prt_level >= 1) then |
---|
| 30 | DO i = 1, jbad |
---|
| 31 | WRITE(*,*) "i,q=", jadrs(i), zq(jadrs(i),k) |
---|
| 32 | ENDDO |
---|
| 33 | end if |
---|
[1191] | 34 | ENDIF |
---|
| 35 | ENDDO |
---|
| 36 | |
---|
| 37 | END SUBROUTINE minmaxqfi |
---|
Note: See
TracBrowser
for help on using the repository browser.