Changes from branches/FLEXPART_9.1.3/src/readreleases.f90 at r13 to trunk/src/readreleases.f90 at r4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/readreleases.f90
- Property svn:executable set to *
r13 r4 33 33 ! Update: 29 January 2001 * 34 34 ! Release altitude can be either in magl or masl * 35 ! Update: Aug 2013 IP*35 ! * 36 36 !***************************************************************************** 37 37 ! * … … 55 55 ! xpoint2,ypoint2 geograf. coordinates of upper right corner of release * 56 56 ! area * 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) * 57 ! weta, wetb parameters to determine the wet scavenging coefficient * 61 58 ! 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 *64 59 ! * 65 60 !***************************************************************************** … … 73 68 74 69 integer :: numpartmax,i,j,id1,it1,id2,it2,specnum_rel,idum,stat 75 integer,parameter :: num_min_discrete=10076 70 real :: vsh(ni),fracth(ni),schmih(ni),releaserate,xdum,cun 77 real(kind=dp) :: jul1,jul2,jul m,juldate71 real(kind=dp) :: jul1,jul2,juldate 78 72 character(len=50) :: line 79 73 logical :: old … … 283 277 dryvel(i)=dryvel(i)*0.01 ! conversion to m/s 284 278 285 286 287 279 ! Check if wet deposition or OH reaction shall be calculated 288 280 !*********************************************************** 289 281 if (weta(i).gt.0.) then 290 282 WETDEP=.true. 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 283 write (*,*) 'Wetdeposition switched on: ',weta(i),i 284 endif 301 285 if (ohreact(i).gt.0) then 302 286 OHREA=.true. … … 392 376 jul1=juldate(id1,it1) 393 377 jul2=juldate(id2,it2) 394 julm=(jul1+jul2)/2.395 378 if (jul1.gt.jul2) then 396 379 write(*,*) 'FLEXPART MODEL ERROR' … … 408 391 stop 409 392 endif 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 393 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 394 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 417 395 else if (ldirect.eq.-1) then 418 396 if ((jul1.lt.edate).or.(jul2.gt.bdate)) then … … 423 401 stop 424 402 endif 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 403 ireleasestart(numpoint)=int((jul1-bdate)*86400.) 404 ireleaseend(numpoint)=int((jul2-bdate)*86400.) 432 405 endif 433 406 endif
Note: See TracChangeset
for help on using the changeset viewer.