@@ -2645,7 +2645,7 @@ subroutine CARMA_CreateOpticsFile_Fixed(carma, igroup, rc)
26452645 do irh = 1 , nrh
26462646
26472647 ! Determine the wet radius.
2648- call getwetr(carma, igroup, mie_rh(irh), r(ibin), rwet, rho(ibin), rhopwet, rc)
2648+ call getwetr(carma, igroup, ibin, mie_rh(irh), r(ibin), rwet, rho(ibin), rhopwet, rc)
26492649 if (rc < 0 ) call endrun(' carma_CreateOpticsFile::wetr failed.' )
26502650
26512651 ! Calculate at each wavelength.
@@ -2992,7 +2992,7 @@ subroutine CARMA_CreateOpticsFile_Sulfate(carma, igroup, rc)
29922992 ! NOTE: Weight percent is normal a result of the getwetr calculation. To build the
29932993 ! table based upon weight percent, we need to pass in the desired value and a
29942994 ! reference temperature. In that case, the RH is ignored.
2995- call getwetr(carma, igroup, mie_rh(1 ), r(ibin), rwet, rho(ibin), rhopwet, rc, wgtpct= mie_wtp(iwtp)* 100._f , temp= 270._f )
2995+ call getwetr(carma, igroup, ibin, mie_rh(1 ), r(ibin), rwet, rho(ibin), rhopwet, rc, wgtpct= mie_wtp(iwtp)* 100._f , temp= 270._f )
29962996 if (rc < 0 ) call endrun(' carma_CreateOpticsFile::wetr failed.' )
29972997
29982998 ! This is not in Yu (2015), but rather than using the refractive
@@ -3922,7 +3922,7 @@ subroutine carma_get_wet_radius(state, igroup, ibin, rwet, rhopwet, rc)
39223922 !
39233923 if (irhswell == I_WTPCT_H2SO4) then
39243924
3925- call getwetr(carma, igroup, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc, &
3925+ call getwetr(carma, igroup, ibin, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc, &
39263926 h2o_mass= watcon, h2o_vp= wvpres, temp= state% t(icol,iz))
39273927 if (rc/= RC_OK) then
39283928 call endrun(' carma_get_wet_radius ERROR5: rc = ' ,rc) ! <======
@@ -3935,15 +3935,15 @@ subroutine carma_get_wet_radius(state, igroup, ibin, rwet, rhopwet, rc)
39353935 call endrun(' carma_get_wet_radius carma_get_kappa ERROR: rc = ' ,rc)
39363936 end if
39373937
3938- call getwetr(carma, igroup, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc, &
3938+ call getwetr(carma, igroup, ibin, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc, &
39393939 h2o_mass= watcon, h2o_vp= wvpres, temp= state% t(icol,iz), kappa= kappa(icol,iz))
39403940 if (rc/= RC_OK) then
39413941 call endrun(' carma_get_wet_radius ERROR6: rc = ' ,rc)
39423942 end if
39433943
39443944 else ! I_GERBER and I_FITZGERALD
39453945
3946- call getwetr(carma, igroup, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc )
3946+ call getwetr(carma, igroup, ibin, relhum, dryrad, rwet(icol, iz), dryden, rhopwet(icol,iz), rc )
39473947 if (rc/= RC_OK) then
39483948 call endrun(' carma_get_wet_radius ERROR7: rc = ' ,rc)
39493949 end if
0 commit comments