Changeset 37 for branches/petra/src/readcommand.f90
- Timestamp:
- Apr 22, 2015, 3:42:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/petra/src/readcommand.f90
r36 r37 235 235 read(unitcommand,*,iostat=icmdstat) linit_cond 236 236 if (icmdstat .gt. 0) & 237 print*, 'readcommand: linit_cond not read properly',icmdstat,linit_cond 238 if (old) call skplin(3,unitcommand) 239 read(unitcommand,*,iostat=icmdstat) surf_only 237 print*, 'readcommand: linit_cond not present or no read properly,& 238 & - check values: ',icmdstat,linit_cond 239 if (old) call skplin(3,unitcommand) 240 read(unitcommand,*,iostat=icmdstat) icmdstat,surf_only 240 241 if (icmdstat .gt. 0) & 241 print*, 'readcommand: linit_cond not read properly',icmdstat,surf_only 242 if (old) call skplin(3,unitcommand) 243 read(unitcommand,*,iostat=icmdstat) ldep_incr 242 print*, 'readcommand: surf_only not present or not read properly& 243 & - check values: ',icmdstat,surf_only 244 if (old) call skplin(3,unitcommand) 245 read(unitcommand,*,iostat=icmdstat) icmdstat,ldep_incr 244 246 if (icmdstat .gt. 0) & 245 print*, 'readcommand: linit_cond not read properly',icmdstat, ldep_incr 247 print*, 'readcommand: ldep_incr not present or not read properly& 248 & - check values: ',icmdstat, ldep_incr 246 249 close(unitcommand) 247 250 … … 416 419 417 420 418 ! For backward runs one releasefield for all releases makes no sense, 419 ! For quasilag and domainfill ioutputforechrelease is forbidden 420 !***************************************************************************** 421 422 if ((ldirect .lt. 0) .and. (ioutputforeachrelease .eq. 0)) then 423 write(*,*) '#### FLEXPART MODEL ERROR! FILE COMMAND: ####' 424 write(*,*) '#### FOR BACKWARD RUNS, IOUTPUTFOREACHRLEASE ####' 425 write(*,*) '#### MUST BE SET TO ONE! ####' 426 stop 427 endif 428 429 430 ! For backward runs one releasefield for all releases makes no sense, 421 ! For domainfill runs one releasefield for all releases makes no sense, 431 422 ! and is "forbidden" 432 423 !*****************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.