Ignore:
Timestamp:
Dec 3, 2013, 3:05:40 PM (11 years ago)
Author:
slebonnois
Message:

SL: Titan and Venus modifications following a modif in dyn3d[par].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/Tools/psi.F90

    r980 r1120  
    170170allocate(za(lonlength,latlength,altlength,timelength))
    171171! present only in _P regrided files
    172 ! For others, using geop/g0
     172! For others, using g0*a0*a0/(g0*a0-geop)-a0
    173173
    174174text="zareoid"
     
    184184  do ilev=1,altlength
    185185    if (za(ilon,ilat,ilev,itim).ne.miss_val) then
    186         za(ilon,ilat,ilev,itim) = za(ilon,ilat,ilev,itim)/(g0*1000.) ! in km
     186        za(ilon,ilat,ilev,itim) = (g0*a0*a0/(g0*a0-za(ilon,ilat,ilev,itim))-a0)/1000. ! in km
    187187    else
    188188        za(ilon,ilat,ilev,itim) = miss_val
Note: See TracChangeset for help on using the changeset viewer.