Opened 5 years ago

#213 new Defect

wrong unit for max convection level in gridcheck

Reported by: pesei Owned by:
Priority: major Milestone: FLEXPART 10
Component: FP coding/compilation Version: FLEXPART 9.0.3
Keywords: Cc:


gridcheck.f90 (in Fp10, gridcheck_ecmwf.f90 and gridchec_gfs.f90 has the following code

  ! Determine the uppermost level for which the convection scheme shall be applied
  ! by assuming that there is no convection above 50 hPa (for standard SLP)

  do i=1,nuvz-2
    if ( goto 96
  end do
96   nconvlev=i
  if ( then
    write(*,*) 'Attention, convection only calculated up to ', &
         akz(nconvlev)+bkz(nconvlev)*1013.25,' hPa'

The output message will not give the pressure at nconvlev in hPa, because akz is in Pa.

furthermore, the purpose of all this is not clear as the convection subroutines only use nconvlevmax.

Note that these lines were added going from v4.4 to v5.1 and are still present in the latest v10.3 draft.

Change History (0)

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