Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions physics/aerclm_def.F
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module aerclm_def
use machine , only : kind_phys
use machine , only : kind_phys, kind_io4
implicit none

integer, parameter :: levsaer=72, ntrcaerm=15, timeaer=12
Expand All @@ -10,13 +10,13 @@ module aerclm_def

real (kind=kind_phys), allocatable, dimension(:) :: aer_lat
real (kind=kind_phys), allocatable, dimension(:) :: aer_lon
real (kind=kind_phys), allocatable, dimension(:,:,:,:) :: aer_pres
real (kind=kind_phys), allocatable, dimension(:,:,:,:,:) :: aerin
real (kind=kind_io4), allocatable, dimension(:,:,:,:) :: aer_pres
real (kind=kind_io4), allocatable, dimension(:,:,:,:,:) :: aerin

data aer_time/15.5, 45., 74.5, 105., 135.5, 166., 196.5,
& 227.5, 258., 288.5, 319., 349.5, 380.5/

data specname /'DU001','DU002','DU003','DU004','DU005',
data specname /'DU001','DU002','DU003','DU004','DU005',
& 'SS001','SS002','SS003','SS004','SS005','SO4',
& 'BCPHOBIC','BCPHILIC','OCPHOBIC','OCPHILIC'/

Expand Down
2 changes: 1 addition & 1 deletion physics/aerinterp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ SUBROUTINE read_aerdataf (iamin, iamax, jamin, jamax, &
endif
do i = iamin, iamax
aerin(i,j,k,ii,imon) = 1.d0*buffx(i,j,klev,1)
if(aerin(i,j,k,ii,imon) < 0 .or. aerin(i,j,k,ii,imon) > 1.) then
if(aerin(i,j,k,ii,imon) < 0. .or. aerin(i,j,k,ii,imon) > 1.) then
aerin(i,j,k,ii,imon) = 1.e-15
endif
enddo !i-loop (lon)
Expand Down