Changeset 3246 for palm/trunk/SOURCE/uv_exposure_model_mod.f90
- Timestamp:
- Sep 13, 2018 3:14:50 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/uv_exposure_model_mod.f90
r3241 r3246 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Added error handling for input namelist via parin_fail_message and small 28 ! typo bugfix 29 ! 30 ! 3241 2018-09-12 15:02:00Z raasch 27 31 ! unused variables removed 28 32 ! … … 449 453 REWIND ( 11 ) 450 454 line = ' ' 451 DO WHILE ( INDEX( line, '&biomete rology_parameters' ) == 0 )452 READ ( 11, '(A)', END= 10 ) line455 DO WHILE ( INDEX( line, '&biometeorology_parameters' ) == 0 ) 456 READ ( 11, '(A)', END=20 ) line 453 457 ENDDO 454 458 BACKSPACE ( 11 ) … … 456 460 ! 457 461 !-- Read user-defined namelist 458 READ ( 11, biometeorology_parameters )462 READ ( 11, biometeorology_parameters, ERR = 10, END = 20 ) 459 463 460 464 ! … … 462 466 uv_exposure = .TRUE. 463 467 464 465 10 CONTINUE 468 10 BACKSPACE( 11 ) 469 READ( 11 ,fmt='(A)') line 470 CALL parin_fail_message ( 'biometeorology_parameters', line ) 471 472 473 20 CONTINUE 466 474 467 475
Note: See TracChangeset
for help on using the changeset viewer.