Ignore:
Timestamp:
Jan 24, 2017, 3:22:44 PM (8 years ago)
Author:
lguez
Message:

Added test on pressure levels. It is strange that this test could be
useful. paprs is input from the dynamical part of the code, and is
computed simply from surface pressure and hybrid coefficients. So the
test should always pass, unless there is a NaN in surface
pressure. Experience shows that this test, which is also made deep in
the ozone regridding procedures, sometimes fails, usually because of a
damaged restart file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2753 r2769  
    1616       d_u, d_v, d_t, d_qx, d_ps)
    1717
     18    use assert_m, only: assert
    1819    USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, &
    1920         histwrite, ju2ymds, ymds2ju, getin
     
    11251126    ENDIF
    11261127
    1127     !======================================================================
     1128    ! Quick check on pressure levels:
     1129    do i = 1, klon
     1130       call assert(paprs(i, nbp_lev + 1) < paprs(i, nbp_lev), &
     1131            "physiq_mod paprs bad order")
     1132    end do
    11281133
    11291134    IF (first) THEN
Note: See TracChangeset for help on using the changeset viewer.