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

    r20963b1 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:                                                                 *
     
    109112  implicit none
    110113
    111   integer :: metdata_format
     114  integer :: id_centre
    112115  logical :: reqv_state=.false. ! .true. if waiting for a MPI_Irecv to complete
    113116  integer :: j,ks,kp,l,n,itime=0,nstop,nstop1,memstat=0
     
    214217      endif
    215218! readwind process skips this step
    216       if (.not.(lmpreader.and.lmp_use_reader)) call convmix(itime,metdata_format)
     219      if (.not.(lmpreader.and.lmp_use_reader)) call convmix(itime,id_centre)
    217220    endif
    218221
     
    227230    if (mp_measure_time) call mpif_mtime('getfields',0)
    228231
    229     call getfields(itime,nstop1,memstat,metdata_format)
     232    call getfields(itime,nstop1,memstat,id_centre)
    230233
    231234    if (mp_measure_time) call mpif_mtime('getfields',1)
     
    355358        write (*,*) 'timemanager> call convmix -- forward'
    356359      endif
    357       call convmix(itime,metdata_format)
     360      call convmix(itime,id_centre)
    358361    endif
    359362
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG