Changeset 2217 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Nov 6, 2018, 9:12:03 PM (6 years ago)
Author:
lfita
Message:

Final, final version!

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/module_ForDiagnostics.f90

    r2215 r2217  
    999999    IF (TRIM(face) == 'WE') THEN
    10001000      DO j=1, d2
    1001         PRINT *,'Lluis:', j-1, '***'
     1001        !PRINT *,'Lluis:', j-1, '***'
    10021002        CALL var_range_faces(d1, lon(:,j), lat(:,j), hgt(:,j), dist(:,j), dsfilt, dsnewrange, hvalrng,&
    10031003          hgtmax1, pthgtmax1, derivhgt(:,j), Npeaks, ipeaks1, Nvalleys, ivalleys1, origfaces(:,j),    &
  • trunk/tools/module_ForDiagnosticsVars.f90

    r2215 r2217  
    17561756      j1 = 2
    17571757      DO i=2, d
    1758         IF (i >= ipeaks(j) .AND. i < ipeaks(j+1) .AND. (ipeaks(j+1) < ranges(2,k))) THEN
    1759           IF (hgt(i) < peaks(j) .AND. hgt(i) < peaks(j+1)) faces0(i) = 0
     1758        IF (i >= ipeaks(j) .AND. i < ipeaks(j1)) THEN
     1759          IF (hgt(i) < peaks(j) .AND. hgt(i) < peaks(j1)) faces0(i) = 0
    17601760          IF (i == ipeaks(j) .AND. hgt(i) < rangeshgtmax(k)) faces0(i) = 0
    1761         ELSE IF (i == ipeaks(j+1)) THEN
     1761        ELSE IF (i == ipeaks(j1)) THEN
    17621762          j = j1
    17631763          j1 = j1 + 1
     
    17651765        END IF
    17661766      END DO
    1767       IF (ipeaks(j+1) > ranges(2,k)) k = k+1
     1767      IF (ipeaks(j1) > ranges(2,k)) k = k+1
    17681768    END IF
    17691769
Note: See TracChangeset for help on using the changeset viewer.