Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FLEXPART_9.1.3/src/readpaths.f90

    • Property svn:executable deleted
    r4 r13  
    2020!**********************************************************************
    2121
    22 subroutine readpaths
     22subroutine readpaths(pathfile)
    2323
    2424  !*****************************************************************************
     
    3030  !                                                                            *
    3131  !     1 February 1994                                                        *
     32  !     last modified                                                          *
     33  !     HS, 7.9.2012                                                           *
     34  !     option to give pathnames file as command line option                   *
    3235  !                                                                            *
    3336  !*****************************************************************************
     
    4750  implicit none
    4851
    49   integer :: i
     52  integer   :: i
     53  character(256) :: pathfile
    5054
    5155  ! Read the pathname information stored in unitpath
    5256  !*************************************************
    5357
    54 
    55   open(unitpath,file='pathnames',status='old',err=999)
     58  open(unitpath,file=trim(pathfile),status='old',err=999)
    5659
    5760  do i=1,numpath
     
    7073    length(numpath+2*(i-1)+2)=index(path(numpath+2*(i-1)+2),' ')-1
    7174  end do
     75  print*,length(5),length(6)
    7276
    7377
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG