Changes in src/readpaths.f90 [5f9d14a:62e65c7] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readpaths.f90

    r5f9d14a r62e65c7  
    8282
    8383  do i=1,maxnests
    84     read(unitpath,'(a)') path(numpath+2*(i-1)+1)
    85     read(unitpath,'(a)') path(numpath+2*(i-1)+2)
     84  ! ESO 2016 Added 'end'/'err' in case user forgot '====' at end of file and
     85  ! maxnests > numbnests
     86    read(unitpath,'(a)', end=30, err=30) path(numpath+2*(i-1)+1)
     87    read(unitpath,'(a)', end=30, err=30) path(numpath+2*(i-1)+2)
    8688    if (path(numpath+2*(i-1)+1)(1:5).eq.'=====') goto 30
    8789    length(numpath+2*(i-1)+1)=index(path(numpath+2*(i-1)+1),' ')-1
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG