Changes from trunk/src/readreleases.f90 at r4 to branches/FLEXPART_9.1.3/src/readreleases.f90 at r13
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FLEXPART_9.1.3/src/readreleases.f90
- Property svn:executable deleted
r4 r13 33 33 ! Update: 29 January 2001 * 34 34 ! Release altitude can be either in magl or masl * 35 ! *35 ! Update: Aug 2013 IP * 36 36 !***************************************************************************** 37 37 ! * … … 55 55 ! xpoint2,ypoint2 geograf. coordinates of upper right corner of release * 56 56 ! area * 57 ! weta, wetb parameters to determine the wet scavenging coefficient * 57 ! before: weta, wetb parameters to determine the wet scavenging coefficient * 58 ! weta, wetb parameters to determine the below-cloud scavenging (NIK) * 59 ! weta_in, wetb_in parameters to determine the in-cloud scavenging (NIK) * 60 ! wetc_in, wetd_in parameters to determine the in-cloud scavenging (NIK) * 58 61 ! zpoint1,zpoint2 height range, over which release takes place * 62 ! num_min_discrete if less, release cannot be randomized and happens at * 63 ! time mid-point of release interval * 59 64 ! * 60 65 !***************************************************************************** … … 68 73 69 74 integer :: numpartmax,i,j,id1,it1,id2,it2,specnum_rel,idum,stat 75 integer,parameter :: num_min_discrete=100 70 76 real :: vsh(ni),fracth(ni),schmih(ni),releaserate,xdum,cun 71 real(kind=dp) :: jul1,jul2,jul date77 real(kind=dp) :: jul1,jul2,julm,juldate 72 78 character(len=50) :: line 73 79 logical :: old … … 277 283 dryvel(i)=dryvel(i)*0.01 ! conversion to m/s 278 284 285 286 279 287 ! Check if wet deposition or OH reaction shall be calculated 280 288 !*********************************************************** 281 289 if (weta(i).gt.0.) then 282 290 WETDEP=.true. 283 write (*,*) 'Wetdeposition switched on: ',weta(i),i 284 endif 291 !write (*,*) 'Wetdeposition switched on: ',weta(i),i 292 write (*,*) 'Wet deposition switched on' 293 write (*,*) 'Below-cloud scavenging coefficients: ',weta(i),i 294 endif 295 296 ! NIK 31.01.2013 297 if (weta_in(i).gt.0.) then 298 write (*,*) 'In-cloud scavenging coefficients: ',weta_in(i),wetb_in(i), wetc_in(i), wetd_in(i),i 299 endif 300 285 301 if (ohreact(i).gt.0) then 286 302 OHREA=.true. … … 376 392 jul1=juldate(id1,it1) 377 393 jul2=juldate(id2,it2) 394 julm=(jul1+jul2)/2. 378 395 if (jul1.gt.jul2) then 379 396 write(*,*) 'FLEXPART MODEL ERROR' … … 391 408 stop 392 409 endif 393 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 394 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 410 if (npart(numpoint).gt.num_min_discrete) then 411 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 412 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 413 else 414 ireleasestart(numpoint)=int((julm-bdate)*86400.) 415 ireleaseend(numpoint)=int((julm-bdate)*86400.) 416 endif 395 417 else if (ldirect.eq.-1) then 396 418 if ((jul1.lt.edate).or.(jul2.gt.bdate)) then … … 401 423 stop 402 424 endif 403 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 404 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 425 if (npart(numpoint).gt.num_min_discrete) then 426 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 427 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 428 else 429 ireleasestart(numpoint)=int((julm-bdate)*86400.) 430 ireleaseend(numpoint)=int((julm-bdate)*86400.) 431 endif 405 432 endif 406 433 endif
Note: See TracChangeset
for help on using the changeset viewer.