Ignore:
Timestamp:
May 20, 2014, 2:57:44 PM (11 years ago)
Author:
lguez
Message:

Just some printing improvement.

File:
1 edited

Legend:

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

    r2022 r2049  
    5050          do i = 1, ngrid
    5151             if (p(i, l) <= p_lay(i, l)) then
    52                 print 1000, "p(", i, ", ", l, ") = ", p(i, l) / 100., &
    53                      " hPa <= p_lay(", i, ", ", l, ") = ", &
     52                print 1000, "ps = ", ps(i) / 100., "hPa, p(level ",  l, &
     53                     ") = ", p(i, l) / 100., " hPa <= p(layer ", l, ") = ", &
    5454                     p_lay(i, l) / 100., " hPa"
    5555             end if
    5656             if (p_lay(i, l) <= p(i, l + 1)) then
    57                 print 1000, "p_lay(", i, ", ", l, ") = ", p_lay(i, l) / 100., &
    58                      " hPa <= p(", i, ", ", l + 1, ") = ", &
     57                print 1000, "ps = ", ps(i) / 100., "hPa, p(layer ", l, ") = ", &
     58                     p_lay(i, l) / 100., " hPa <= p(level ", l + 1, ") = ", &
    5959                     p(i, l + 1) / 100., " hPa"
    6060             end if
     
    6464    end if
    6565
    66 1000 format (2(a, 2(i0, a), g13.6), a)
     661000 format (3(a, g10.4, a, i0))
    6767
    6868  end subroutine test_disvert
Note: See TracChangeset for help on using the changeset viewer.