[4] | 1 | !********************************************************************** |
---|
[36] | 2 | ! Copyright 1998-2015 * |
---|
[4] | 3 | ! Andreas Stohl, Petra Seibert, A. Frank, Gerhard Wotawa, * |
---|
| 4 | ! Caroline Forster, Sabine Eckhardt, John Burkhart, Harald Sodemann * |
---|
| 5 | ! * |
---|
| 6 | ! This file is part of FLEXPART. * |
---|
| 7 | ! * |
---|
| 8 | ! FLEXPART is free software: you can redistribute it and/or modify * |
---|
| 9 | ! it under the terms of the GNU General Public License as published by* |
---|
| 10 | ! the Free Software Foundation, either version 3 of the License, or * |
---|
| 11 | ! (at your option) any later version. * |
---|
| 12 | ! * |
---|
| 13 | ! FLEXPART is distributed in the hope that it will be useful, * |
---|
| 14 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of * |
---|
| 15 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
---|
| 16 | ! GNU General Public License for more details. * |
---|
| 17 | ! * |
---|
| 18 | ! You should have received a copy of the GNU General Public License * |
---|
| 19 | ! along with FLEXPART. If not, see <http://www.gnu.org/licenses/>. * |
---|
| 20 | !********************************************************************** |
---|
| 21 | |
---|
| 22 | subroutine skplin(nlines,iunit) |
---|
[36] | 23 | ! i i |
---|
[4] | 24 | !***************************************************************************** |
---|
| 25 | ! * |
---|
| 26 | ! This routine reads nlines from unit iunit and discards them * |
---|
| 27 | ! * |
---|
| 28 | ! Authors: Petra Seibert * |
---|
| 29 | ! * |
---|
| 30 | ! 31 Dec 1998 * |
---|
| 31 | ! * |
---|
| 32 | !***************************************************************************** |
---|
| 33 | ! * |
---|
| 34 | ! Variables: * |
---|
| 35 | ! * |
---|
| 36 | ! iunit unit number from which lines are to be skipped * |
---|
| 37 | ! nlines number of lines to be skipped * |
---|
| 38 | ! * |
---|
| 39 | !***************************************************************************** |
---|
[36] | 40 | ! PS 2/2015: catch EOF condition so that we can |
---|
| 41 | ! have optional parameters at end of list for compatibility |
---|
[4] | 42 | |
---|
[36] | 43 | |
---|
[4] | 44 | implicit none |
---|
| 45 | |
---|
[36] | 46 | integer, intent(in) :: nlines, iunit |
---|
| 47 | integer :: i, icmdstat |
---|
[4] | 48 | |
---|
| 49 | do i=1,nlines |
---|
[36] | 50 | read(iunit,*,iostat=icmdstat) |
---|
[4] | 51 | end do |
---|
[36] | 52 | |
---|
[4] | 53 | end subroutine skplin |
---|