Changeset 46 in lmdz_wrf


Ignore:
Timestamp:
Jul 23, 2014, 4:04:25 PM (10 years ago)
Author:
lfita
Message:

Adding new checks in diagphy_mod.F90: d_etp_tot, d_qt_tot
Adding checkig PRINTS for 'd_h_vcol' in 'physiq.F90'

Location:
branches/LMDZ_WRFmeas/WRFV3/lmdz
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/LMDZ_WRFmeas/WRFV3/lmdz/diagphy_mod.F90

    r45 r46  
    207207      END IF
    208208
     209      IF (d_etp_tot .NE. d_etp_tot .OR. ABS(d_etp_tot) > largest) THEN
     210        PRINT *,TRIM(errmsg)
     211        PRINT *,'  ' // TRIM(fname) // ': Wrong d_etp_tot= ',d_etp_tot,' !!!'
     212        PRINT *,'    d_etp_tot: Heat flux equivalent to atmospheric enthalpy' //     &
     213          ' change (W/m2)'
     214        PRINT *,'    d_etp_tot = input value !'
     215        STOP
     216      END IF
     217
    209218      IF (fq_bound .NE. fq_bound .OR. ABS(fq_bound) > 100000.) THEN
    210219        PRINT *,TRIM(errmsg)
     
    232241          CALL check_var(fname, varname, snow_fall, klon, largest, .FALSE.)
    233242        END IF
     243        STOP
     244      END IF
     245
     246      IF (d_qt_tot .NE. d_qt_tot .OR. ABS(d_qt_tot) > largest) THEN
     247        PRINT *,TRIM(errmsg)
     248        PRINT *,'  ' // TRIM(fname) // ': Wrong d_qt_tot= ',d_qt_tot,' !!!'
     249        PRINT *,'    d_qt_tot: Mass flux equivalent to atmospheric watter mass' //   &
     250          ' change (kg/m2/s)'
     251        PRINT *,'    d_qt_tot = input value !'
    234252        STOP
    235253      END IF
  • branches/LMDZ_WRFmeas/WRFV3/lmdz/pbl_surface_mod.F90

    r45 r46  
    10401040             flux_v(i,k,nsrf) = y_flux_v(j,k)
    10411041
    1042 
     1042             IF (y_flux_t())
    10431043          ENDDO
    10441044       ENDDO
     
    12471247    zxfluxt(:,:) = 0.0 ; zxfluxq(:,:) = 0.0
    12481248    zxfluxu(:,:) = 0.0 ; zxfluxv(:,:) = 0.0
    1249     PRINT *,' Lluis checking in nsrf pbl_surface_mod zxfluxt fluxt_t pctsrf 1 ___________'
     1249    PRINT *,' Lluis checking in nsrf pbl_surface_mod zxfluxt flux_t pctsrf 1 ___________'
    12501250    DO nsrf = 1, nbsrf
    12511251       DO k = 1, klev
  • branches/LMDZ_WRFmeas/WRFV3/lmdz/physiq.F90

    r45 r46  
    19621962       &      , fs_bound, fq_bound )
    19631963      END IF
     1964      PRINT *,'  Lluis 1 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    19641965
    19651966!c Diagnostiquer la tendance dynamique
     
    21222123!C
    21232124      END IF
    2124 
     2125      PRINT *,'  Lluis 2 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    21252126!c
    21262127!c=========================================================================
     
    22652266
    22662267      ENDIF
     2268      PRINT *,'  Lluis 3 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    22672269!c =================================================================== c
    22682270!c   Calcul de Qsat
     
    26252627      END IF
    26262628!C
     2629      PRINT *,'  Lluis 4 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    26272630      IF (check) THEN
    26282631          za = qcheck(klon,klev,paprs,q_seri,ql_seri,airephy)
     
    27372740       &      , fs_bound, fq_bound )
    27382741      END IF
    2739 
     2742      PRINT *,'  Lluis 5 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    27402743!c      print*,'apres callwake iflag_cldcon=', iflag_cldcon
    27412744!c
     
    29622965       &      , fs_bound, fq_bound )
    29632966      END IF
    2964 
     2967      PRINT *,'  Lluis 6 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    29652968
    29662969!c-------------------------------------------------------------------------
     
    30293032       &      , fs_bound, fq_bound )
    30303033      END IF
     3034      PRINT *,'  Lluis 7 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    30313035      if (mydebug) then
    30323036        call writefield_phy('u_seri',u_seri,llm)
     
    32613265       &      , fs_bound, fq_bound )
    32623266      END IF
     3267      PRINT *,'  Lluis 8 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    32633268!c
    32643269!c Calculer l'humidite relative pour diagnostique
     
    36333638       &      , fs_bound, fq_bound )
    36343639      END IF
     3640      PRINT *,'  Lluis 9 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    36353641!c
    36363642!c
     
    38073813       &      , fs_bound, fq_bound )
    38083814      END IF
     3815      PRINT *,'  Lluis 10 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    38093816!c
    38103817!c
     
    39523959!C
    39533960      END IF
     3961      PRINT *,'  Lluis 11 d_h_vcol: ',d_h_vcol,' d_h_vcol_phy: ',d_h_vcol_phy
    39543962      PRINT *,'Lluis Reaching the SORTIES point'
    39553963
Note: See TracChangeset for help on using the changeset viewer.