Changeset c0884a8 in flexpart.git for src/timemanager.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/timemanager.f90

    ra9cf4b1 rc0884a8  
    2020!**********************************************************************
    2121
    22 subroutine timemanager(metdata_format)
     22subroutine timemanager(id_centre)
    2323
    2424  !*****************************************************************************
     
    5252  !  Unified ECMWF and GFS builds                                              *
    5353  !   Marian Harustak, 12.5.2017                                               *
    54   !   - Added passing of metdata_format as it was needed by called routines    *
     54  !   - Added passing of id_centre as it was needed by called routines         *
     55  !                                                                            *
     56  !  Petra Seibert, 2018-06-26: simplified version met data format detection   *
     57  !                                                                            *
    5558  !*****************************************************************************
    5659  !                                                                            *
     
    8689  ! xtra1(maxpart), ytra1(maxpart), ztra1(maxpart) =                           *
    8790  !                    spatial positions of trajectories                       *
    88   ! metdata_format     format of metdata (ecmwf/gfs)                           *
     91  ! id_centre          format of metdata (ecmwf/gfs)                           *
    8992  !                                                                            *
    9093  ! Constants:                                                                 *
     
    108111  implicit none
    109112
    110   integer :: metdata_format
     113  integer :: id_centre
    111114  integer :: j,ks,kp,l,n,itime=0,nstop,nstop1
    112115! integer :: ksp
     
    201204           write (*,*) 'timemanager> call convmix -- backward'
    202205        endif         
    203       call convmix(itime,metdata_format)
     206      call convmix(itime,id_centre)
    204207        if (verbosity.gt.1) then
    205208          !CALL SYSTEM_CLOCK(count_clock, count_rate, count_max)
     
    214217           write (*,*) 'timemanager> call getfields'
    215218    endif
    216     call getfields(itime,nstop1,metdata_format)
     219    call getfields(itime,nstop1,id_centre)
    217220        if (verbosity.gt.1) then
    218221          CALL SYSTEM_CLOCK(count_clock)
     
    273276       write (*,*) 'timemanager> call convmix -- forward'
    274277     endif   
    275      call convmix(itime,metdata_format)
     278     call convmix(itime,id_centre)
    276279   endif
    277280
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG