Changeset 533 for LMDZ4/trunk/libf


Ignore:
Timestamp:
Jun 1, 2004, 4:29:52 PM (21 years ago)
Author:
lmdzadmin
Message:

Problème de phasage avec LMDZ.3.3 qui buggait create_etat0_limit
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/dyn3d/startvar.F

    r524 r533  
    558558    !  LOCAL
    559559    !
    560       REAL :: lev(1), date, dt
     560!ac     REAL :: lev(1), date, dt
     561      REAL :: date, dt
     562      REAL, DIMENSION(:), ALLOCATABLE :: levphys_ini
     563!ac
    561564      INTEGER :: itau(1)
    562565      INTEGER ::  llm_tmp, ttm_tmp
    563566      INTEGER :: i, j
    564       INTEGER :: iret
    565567    !
    566568      CHARACTER*25 title
     
    579581     . ttm_tmp, fid_phys)
    580582    !
    581     !
    582583      ALLOCATE (lat_phys(iml_phys,jml_phys))
    583584      ALLOCATE (lon_phys(iml_phys,jml_phys))
     585!ac
     586      ALLOCATE (levphys_ini(llm_tmp))
     587    !
     588!      CALL flinopen(physfname, .FALSE., iml_phys, jml_phys,
     589!     . llm_tmp, lon_phys, lat_phys, lev, ttm_tmp,
     590!     . itau, date, dt, fid_phys)
    584591    !
    585592      CALL flinopen(physfname, .FALSE., iml_phys, jml_phys,
    586      . llm_tmp, lon_phys, lat_phys, lev, ttm_tmp,
     593     . llm_tmp, lon_phys, lat_phys, levphys_ini, ttm_tmp,
    587594     . itau, date, dt, fid_phys)
    588595    !
     596      DEALLOCATE (levphys_ini)
     597!ac
     598    !
    589599    ! Allocate the space we will need to get the data out of this file
    590600    !
     
    593603    !   In case we have a file which is in degrees we do the transformation
    594604    !
    595       if (allocated(lon_rad)) DEALLOCATE(lon_rad, stat=iret)
    596       if (allocated(lon_ini)) DEALLOCATE(lon_ini, stat=iret)
    597 
    598605      ALLOCATE(lon_rad(iml_phys))
    599606      ALLOCATE(lon_ini(iml_phys))
Note: See TracChangeset for help on using the changeset viewer.