Opened 8 years ago

Last modified 3 years ago

#140 accepted Defect

vertransform.f90 occasionally fails to initialize — at Initial Version

Reported by: adingwell Owned by:
Priority: major Milestone: FLEXPART 10
Component: FP other Version: FLEXPART 9.2
Keywords: Cc:

Description

When running with smaller domains verttransform might fail to initialize ixm and jym.

At initialization the following block is run in verttransform.f90:

  ! Search for a point with high surface pressure (i.e. not above significant topography)
  ! Then, use this point to construct a reference z profile, to be used at all times
  !**************************************************************************************

    do jy=0,nymin1
      do ix=0,nxmin1
        if (ps(ix,jy,1,n).gt.100000.) then
          ixm=ix
          jym=jy
          goto 3
        endif
      end do
    end do
3   continue

In order to work, there has to be a grid point within the domain with a surface pressure above 1000 hPa. Such a point might not be present in smaller domains, where there is only a small number of grid points over sea surface.

It would be good if this block at least produces an error if no reference point is found.

Change History (0)

Note: See TracTickets for help on using tickets.
hosted by ZAMG