Changes in src/timemanager.f90 [a76d954:6ecb30a] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/timemanager.f90

    ra76d954 r6ecb30a  
    2020!**********************************************************************
    2121
    22 subroutine timemanager
     22subroutine timemanager(metdata_format)
    2323
    2424  !*****************************************************************************
     
    5050  !   For compatibility with MPI version,                                      *
    5151  !   variables uap,ucp,uzp,us,vs,ws,cbt now in module com_mod                 *
     52  !  Unified ECMWF and GFS builds                                              *
     53  !   Marian Harustak, 12.5.2017                                               *
     54  !   - Added passing of metdata_format as it was needed by called routines    *
    5255  !*****************************************************************************
    5356  !                                                                            *
     
    8386  ! xtra1(maxpart), ytra1(maxpart), ztra1(maxpart) =                           *
    8487  !                    spatial positions of trajectories                       *
     88  ! metdata_format     format of metdata (ecmwf/gfs)                           *
    8589  !                                                                            *
    8690  ! Constants:                                                                 *
     
    102106  implicit none
    103107
     108  integer :: metdata_format
    104109  integer :: j,ks,kp,l,n,itime=0,nstop,nstop1
    105110! integer :: ksp
     
    194199           write (*,*) 'timemanager> call convmix -- backward'
    195200        endif         
    196       call convmix(itime)
     201      call convmix(itime,metdata_format)
    197202        if (verbosity.gt.1) then
    198203          !CALL SYSTEM_CLOCK(count_clock, count_rate, count_max)
     
    207212           write (*,*) 'timemanager> call getfields'
    208213    endif
    209     call getfields(itime,nstop1)
     214    call getfields(itime,nstop1,metdata_format)
    210215        if (verbosity.gt.1) then
    211216          CALL SYSTEM_CLOCK(count_clock)
     
    266271       write (*,*) 'timemanager> call convmix -- forward'
    267272     endif   
    268      call convmix(itime)
     273     call convmix(itime,metdata_format)
    269274   endif
    270275
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG