Changeset f251e57 in flexpart.git for src/verttransform_ecmwf.f90


Ignore:
Timestamp:
Jun 25, 2018, 7:44:14 PM (6 years ago)
Author:
pesei <petra seibert at univie ac at>
Branches:
univie
Children:
c0884a8
Parents:
8b3d324
Message:

fix ticket:140 (ref position for vert. grid) in verttransform_gfs, minor changes in both verttransforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/verttransform_ecmwf.f90

    r8b3d324 rf251e57  
    157157
    158158    if (ioldref .eq. 0) then ! old reference grid point
    159        do jy=0,nymin1
    160          do ix=0,nxmin1
    161            if (ps(ix,jy,1,n).gt.1000.e2) then
    162              ixref=ix
    163              jyref=jy
    164              goto 3
    165            endif
    166          end do
    167        end do
     159      do jy=0,nymin1
     160        do ix=0,nxmin1
     161          if (ps(ix,jy,1,n).gt.1000.e2) then
     162            ixref=ix
     163            jyref=jy
     164            goto 3
     165          endif
     166        end do
     167      end do
    1681683     continue
    169169
     
    175175
    176176      psmean = sum( ps(:,:,1,n) ) / (nx*ny)
    177       print*,'height: fg psmean',psmean
     177!      print*,'height: fg psmean',psmean
    178178      psstd = sqrt(sum( (ps(:,:,1,n) - psmean)**2 ) / (nx*ny))
    179179
     
    201201
    202202      pintref = akz(kz)+bkz(kz)*ps(ixref,jyref,1,n)
    203       tv = tth(ixref,jyref,kz,n)*(1.+0.608*qvh(ixref,jyref,kz,n))
     203      tv(ixref,jyref) = tth(ixref,jyref,kz,n)*(1.+0.608*qvh(ixref,jyref,kz,n))
    204204
    205205      if (abs(tv(ixref,jyref)-tvoldref) .gt. 0.2) then
     
    214214      tvoldref = tv(ixref,jyref)
    215215      poldref = pintref
    216       print*,'height=',kz,height(kz),tvoldref,poldref
     216!      print*,'height=',kz,height(kz),tvoldref,poldref
    217217
    218218    end do
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG