Changeset 2139


Ignore:
Timestamp:
Nov 4, 2014, 12:21:52 AM (10 years ago)
Author:
fhourdin
Message:

Correction dimensions tableau en 1D pour la lecture des restart.
Bug fixing for 1D restarts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/1DUTILS.h

    r2126 r2139  
    362362      CHARACTER*(*) fichnom
    363363!Al1 plev tronque pour .nc mais plev(klev+1):=0
    364       real :: plev(klon,klev),play (klon,klev),phi(klon,klev)
     364      real :: plev(klon,klev+1),play (klon,klev),phi(klon,klev)
    365365      real :: presnivs(klon,klev)
    366366      real :: ucov(klon,klev),vcov(klon,klev),temp(klon,klev)
     
    445445!  Lecture des champs
    446446!
    447       plev(1,klev+1)=0.
    448       CALL get_field("plev",plev,found)
    449       IF (.NOT. found) PRINT*, modname//'Le champ <Plev> est absent'
    450447      CALL get_field("play",play,found)
    451448      IF (.NOT. found) PRINT*, modname//'Le champ <Play> est absent'
     
    464461      CALL get_field("omega2",omega2,found)
    465462      IF (.NOT. found) PRINT*, modname//'Le champ <omega2> est absent'
     463      plev(1,klev+1)=0.
     464      CALL get_field("plev",plev(:,1:klev),found)
     465      IF (.NOT. found) PRINT*, modname//'Le champ <Plev> est absent'
    466466
    467467      Do iq=1,nqtot
Note: See TracChangeset for help on using the changeset viewer.