Changeset c0884a8 in flexpart.git for src/calcpar_nests.f90


Ignore:
Timestamp:
Jul 20, 2018, 2:40:39 PM (6 years ago)
Author:
pesei <petra seibert at univie ac at>
Branches:
univie
Children:
7ca2ef4
Parents:
f251e57
Message:

replace CTBTO code for checking type of GRIB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/calcpar_nests.f90

    r6ecb30a rc0884a8  
    2020!**********************************************************************
    2121
    22 subroutine calcpar_nests(n,uuhn,vvhn,pvhn,metdata_format)
     22subroutine calcpar_nests(n,uuhn,vvhn,pvhn,id_centre)
    2323  !                         i  i    i    o
    2424  !*****************************************************************************
     
    4444  !   Unified ECMWF and GFS builds                                             *
    4545  !   Marian Harustak, 12.5.2017                                               *
    46   !     - Added passing of metdata_format as it was needed by called routines  *
     46  !     - Added passing of id_centre as it was needed by called routines       *
     47  !                                                                            *
     48  !  Petra Seibert, 2018-06-26: simplified version met data format detection   *
     49  !                                                                            *
    4750  !*****************************************************************************
    4851  !                                                                            *
    4952  ! Variables:                                                                 *
    5053  ! n                  temporal index for meteorological fields (1 to 3)       *
    51   ! metdata_format     format of metdata (ecmwf/gfs)                           *
     54  ! id_centre          format of metdata (ecmwf/gfs)                           *
    5255  !                                                                            *
    5356  ! Constants:                                                                 *
     
    6568  implicit none
    6669
    67   integer :: metdata_format
     70  integer :: id_centre
    6871  integer :: n,ix,jy,i,l,kz,lz,kzmin
    6972  real :: ttlev(nuvzmax),qvlev(nuvzmax),obukhov,scalev,ol,hmixplus,dummyakzllev
     
    116119      ol=obukhov(psn(ix,jy,1,n,l),tt2n(ix,jy,1,n,l), &
    117120           td2n(ix,jy,1,n,l),tthn(ix,jy,2,n,l),ustarn(ix,jy,1,n,l), &
    118            sshfn(ix,jy,1,n,l),akm,bkm,dummyakzllev,metdata_format)
     121           sshfn(ix,jy,1,n,l),akm,bkm,dummyakzllev,id_centre)
    119122      if (ol.ne.0.) then
    120123        olin(ix,jy,1,n,l)=1./ol
     
    137140           qvlev,ulev,vlev,nuvz,akz,bkz,sshfn(ix,jy,1,n,l), &
    138141           tt2n(ix,jy,1,n,l),td2n(ix,jy,1,n,l),hmixn(ix,jy,1,n,l), &
    139            wstarn(ix,jy,1,n,l),hmixplus,metdata_format)
     142           wstarn(ix,jy,1,n,l),hmixplus,id_centre)
    140143
    141144      if(lsubgrid.eq.1) then
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG