Changeset c0884a8 in flexpart.git for src/richardson.f90
- Timestamp:
- Jul 20, 2018, 2:40:39 PM (6 years ago)
- Branches:
- univie
- Children:
- 7ca2ef4
- Parents:
- f251e57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/richardson.f90
r6ecb30a rc0884a8 21 21 22 22 subroutine richardson(psurf,ust,ttlev,qvlev,ulev,vlev,nuvz, & 23 akz,bkz,hf,tt2,td2,h,wst,hmixplus, metdata_format)23 akz,bkz,hf,tt2,td2,h,wst,hmixplus,id_centre) 24 24 ! i i i i i i i 25 25 ! i i i i i o o o … … 41 41 ! Meteor. 81, 245-269. * 42 42 ! * 43 ! * 44 ! Petra Seibert, 2018-06-26: simplified version met data format detection * 45 ! * 43 46 !**************************************************************************** 44 47 ! * … … 55 58 ! - Merged richardson and richardson_gfs into one routine using * 56 59 ! if-then for meteo-type dependent code * 60 ! * 61 ! * 62 ! Petra Seibert, 2018-06-26: simplified version met data format detection * 57 63 ! * 58 64 !**************************************************************************** … … 64 70 ! tv virtual temperature * 65 71 ! wst convective velocity scale * 66 ! metdata_formatformat of metdata (ecmwf/gfs) *72 ! id_centre format of metdata (ecmwf/gfs) * 67 73 ! * 68 74 ! Constants: * … … 72 78 73 79 use par_mod 74 use c lass_gribfile80 use check_gribfile_mod 75 81 76 82 implicit none 77 83 78 integer :: metdata_format84 integer :: id_centre 79 85 integer :: i,k,nuvz,iter,llev,loop_start 80 86 real :: tv,tvold,zref,z,zold,pint,pold,theta,thetaref,ri … … 89 95 iter=0 90 96 91 if ( metdata_format.eq.GRIBFILE_CENTRE_NCEP) then97 if (id_centre.eq.icg_id_ncep) then 92 98 ! NCEP version: find first model level above ground 93 99 !************************************************** … … 123 129 ! Integrate z up to one level above zt 124 130 !************************************* 125 if ( metdata_format.eq.GRIBFILE_CENTRE_ECMWF) then131 if (id_centre.eq.icg_id_ecmwf) then 126 132 loop_start=2 127 133 else
Note: See TracChangeset
for help on using the changeset viewer.