diff --git a/CHANGELOG.md b/CHANGELOG.md index 0197baf0..c32eb575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated version of volcanic sulfur emissions for AMIP configuration to v202601 - Update aerosol optics bands files to default to RRTMGP bands, rather than RRTMG (as GEOSgcm v12 has switched to RRTMGP) - NOTE: This means users needing RRTMG bands will need to update at run time. See https://github.com/GEOS-ESM/GEOSgcm_App/pull/878 for changes needed at run-time for GEOSgcm +- fraction of PM2.5 bin calculation to use radius from optics file instead of RC file +- Application of the Maring correction to only bins 4 and 5 for dust - Update components: ESMA_env v5.26.0, ESMA_cmake v4.51.0, GMAO_Shared v3.0.3 - CI: removed standalone GOCART builds (GitHub Actions and CircleCI, including the GEOS-like and UFS-like variants), keeping the GEOSgcm builds; added `workflow_dispatch` trigger and a spack refs note to the GitHub Actions workflow @@ -38,7 +40,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initialize `eCO_bioburn_` to `0.0` to prevent use of uninitialized data when `diurnal_bb` is false - Guard `DEALLOCATE` of `ier` with an `ALLOCATED` check - Add local `ios` variable in `CO_Emission` to prevent host-association aliasing under optimization +- nsubsteps bug in the UFS Setting Solver +### Added +- setZeroKlid for non-radiatively active tracers in Run0 +- diagnostics for PM2.5 using an aerodynamic diameter and RH=35% +- diagnostics for fine mode vertical profile of mixing rations for dust and sea salt +- ability to use rUp and rLow from optics files through Mie Query ## [v2.6.8] - 2026-10-01 ### Fixed diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/AMIP/CA2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/CA2G_GridComp/AMIP/CA2G_GridComp_ExtData.yaml index 058e0f35..efe42d52 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/AMIP/CA2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/AMIP/CA2G_GridComp_ExtData.yaml @@ -95,9 +95,9 @@ Exports: sample: CA2G_sample_2 variable: biofuel BC_BIOMASS: - - {starting: "1960-01-16T12:00", collection: CA2G_hfed.emis_bc.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2000-03-01T00:00", collection: CA2G_qfed2.emis_bc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2023-03-01T00:00", collection: CA2G_qfed_emis_x3600y1800_bc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "1960-01-16T12:00", collection: CA2G_hfed.emis_bc.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2000-03-01T00:00", collection: CA2G_qfed2.emis_bc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2023-03-01T00:00", collection: CA2G_qfed_emis_x3600y1800_bc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} BC_SHIP: - {starting: "1979-01-15T12:00", collection: CA2G_BC-em-anthro_CMIP_CEDS_gn_shipping.x2304_y1441_t12.%y4.nc4, sample: CA2G_sample_1, regrid: CONSERVE, variable: bc_shipping} - {starting: "2019-12-15T12:00", collection: CA2G_BC-em-anthro_CMIP_CEDS_gn_shipping.x2304_y1441_t12.%y4.nc4, regrid: CONSERVE, sample: CA2G_sample_3, variable: bc_shipping} @@ -137,9 +137,9 @@ Exports: sample: CA2G_sample_2 variable: biofuel BRC_BIOMASS: - - {starting: "1960-01-16T12:00", collection: CA2G_hfed.emis_oc.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2000-03-01T00:00", collection: CA2G_qfed2.emis_oc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2023-03-01T00:00", collection: CA2G_qfed_emis_x3600y1800_oc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "1960-01-16T12:00", collection: CA2G_hfed.emis_oc.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2000-03-01T00:00", collection: CA2G_qfed2.emis_oc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2023-03-01T00:00", collection: CA2G_qfed_emis_x3600y1800_oc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} BRC_SHIP: collection: /dev/null regrid: CONSERVE @@ -183,7 +183,7 @@ Exports: collection: /dev/null linear_transformation: - 0.0 - - 0.778 + - 1.2 regrid: CONSERVE sample: CA2G_sample_1 variable: biomass diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridCompMod.F90 index 1a1caab0..88d664c6 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridCompMod.F90 @@ -1204,7 +1204,7 @@ subroutine Run2 (GC, import, export, clock, RC) wavelengths_profile=self%wavelengths_profile*1.0e-9, & wavelengths_vertint=self%wavelengths_vertint*1.0e-9, aerosol=int_arr, grav=MAPL_GRAV, & tmpu=t, rhoa=airdens, rh=rh2, u=u, v=v, delp=delp, ple=ple, tropp=tropp, & - sfcmass=SMASS, colmass=CMASS, mass=MASS,& + sfcmass=SMASS, sfcmass25aerodynRH35=SMASS25ARH35, colmass=CMASS, mass=MASS,& exttau=EXTTAU,stexttau=STEXTTAU, scatau=SCATAU, stscatau=STSCATAU,& fluxu=FLUXU, fluxv=FLUXV, & conc=CONC, extcoef=EXTCOEF, scacoef=SCACOEF, bckcoef=BCKCOEF, angstrom=ANGSTR,& diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridComp_ExtData.yaml index 4b8f5212..fd4c9e30 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridComp_ExtData.yaml @@ -96,9 +96,9 @@ Exports: sample: CA2G_sample_2 variable: biofuel BC_BIOMASS: - - {starting: "2014-12-01T12:00", collection: CA2G_qfed2.emis_bc.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2021-11-01T12:00", collection: CA2G_qfed2.emis_bc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2026-02-01T12:00", collection: CA2G_qfed_emis_x3600y1800_bc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2014-12-01T12:00", collection: CA2G_qfed2.emis_bc.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2021-11-01T12:00", collection: CA2G_qfed2.emis_bc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2026-02-01T12:00", collection: CA2G_qfed_emis_x3600y1800_bc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} BC_SHIP: - {starting: "1979-01-15T12:00", collection: CA2G_BC-em-anthro_CMIP_CEDS_gn_shipping.x2304_y1441_t12.%y4.nc4, sample: CA2G_sample_1, regrid: CONSERVE, variable: bc_shipping} - {starting: "2019-12-15T12:00", collection: CA2G_BC-em-anthro_CMIP_CEDS_gn_shipping.x2304_y1441_t12.%y4.nc4, regrid: CONSERVE, sample: CA2G_sample_3, variable: bc_shipping} @@ -138,9 +138,9 @@ Exports: sample: CA2G_sample_2 variable: biofuel BRC_BIOMASS: - - {starting: "2014-12-01T12:00", collection: CA2G_qfed2.emis_oc.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2021-11-01T12:00", collection: CA2G_qfed2.emis_oc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} - - {starting: "2026-02-01T12:00", collection: CA2G_qfed_emis_x3600y1800_oc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2014-12-01T12:00", collection: CA2G_qfed2.emis_oc.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2021-11-01T12:00", collection: CA2G_qfed2.emis_oc.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} + - {starting: "2026-02-01T12:00", collection: CA2G_qfed_emis_x3600y1800_oc.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: CA2G_sample_1, variable: biomass} BRC_SHIP: collection: /dev/null regrid: CONSERVE @@ -184,7 +184,7 @@ Exports: collection: /dev/null linear_transformation: - 0.0 - - 0.778 + - 1.2 regrid: CONSERVE sample: CA2G_sample_1 variable: biomass diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_StateSpecs.rc index 36c5bc0d..18bba4b0 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_StateSpecs.rc @@ -100,6 +100,7 @@ category: EXPORT *HYPHIL | kg m-2 s-1 | xy | N | | * Aerosol Hydrophobic to Hydrophilic *PSOA | kg m-2 s-1 | xy | N | | * Aerosol SOA Production *SMASS | kg m-3 | xy | N | | * Aerosol Surface Mass Concentration + *SMASS25ARH35 | kg m-3 | xy | N | | * Aerosol Surface Mass Concentration at RH=35% *CMASS | kg m-2 | xy | N | | * Aerosol Column Mass Density *EXTTAU | 1 | xy | N | size(self%wavelengths_vertint) | * Aerosol Optical Depth *STEXTTAU | 1 | xy | N | size(self%wavelengths_vertint) | * Stratospheric Aerosol Optical Thickness diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.bc.rc b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.bc.rc index 7f4c7cec..db4501fd 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.bc.rc +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.bc.rc @@ -2,8 +2,8 @@ # Resource file for Black Carbon parameters. # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_BC.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_BC.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_BC.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_BC.v2.2.1.nc4 # Aircraft emission factor: convert input unit to kg C aircraft_fuel_emission_factor: 1.0000 diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.br.rc b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.br.rc index 8a2c8648..614e4abf 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.br.rc +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.br.rc @@ -2,8 +2,8 @@ # Resource file for Brown Carbon parameters. # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_BR.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_BR.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_BR.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_BR.v2.2.1.nc4 # Aircraft emission factor: convert input unit to kg C aircraft_fuel_emission_factor: 1.0000 diff --git a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.oc.rc b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.oc.rc index e73151c6..8eb1ac29 100644 --- a/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.oc.rc +++ b/ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.oc.rc @@ -2,8 +2,8 @@ # Resource file for Organic Carbon parameters. # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_OC.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_OC.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_OC.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_OC.v2.2.1.nc4 # Aircraft emission factor: convert input unit to kg C aircraft_fuel_emission_factor: 1.0000 diff --git a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_GridCompMod.F90 index 21d25b12..daeef2b0 100644 --- a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_GridCompMod.F90 @@ -66,6 +66,7 @@ module DU2G_GridCompMod real :: Ch_DU_res(NHRES) ! resolutions used for Ch_DU real :: Ch_DU ! dust emission tuning coefficient [kg s2 m-5]. logical :: maringFlag=.false. ! maring settling velocity correction + real :: shape_factor ! shape factor used to convert to aerodynamic diameter integer :: day_save = -1 character(len=:), allocatable :: emission_scheme ! emission scheme selector integer :: clayFlag ! clay and silt term in K14 @@ -164,6 +165,7 @@ subroutine SetServices (GC, RC) call ESMF_ConfigGetAttribute (cfg, self%Ch_DU_res, label='Ch_DU:', __RC__) call ESMF_ConfigGetAttribute (cfg, self%rlow, label='radius_lower:', __RC__) call ESMF_ConfigGetAttribute (cfg, self%rup, label='radius_upper:', __RC__) + call ESMF_ConfigGetAttribute (cfg, self%shape_factor, label='shape_factor:', __RC__) ! Choose Emission Scheme !----------------------- @@ -378,7 +380,7 @@ subroutine Initialize (GC, import, export, clock, RC) type (ESMF_Clock), intent(inout) :: clock ! The clock integer, optional, intent( out) :: RC ! Error code -! !DESCRIPTION: This initializes DU's Grid Component. It primaryily fills +! !DESCRIPTION: This initializes DU's Grid Component. It primarily fills ! GOCART's AERO states with its dust fields. ! !REVISION HISTORY: @@ -1115,15 +1117,16 @@ subroutine Run2 (GC, import, export, clock, RC) self%wavelengths_vertint*1.0e-9, DU, MAPL_GRAV, t, airdens, & rh2, u, v, delp, ple,tropp, & DUSMASS, DUCMASS, DUMASS, DUEXTTAU, DUSTEXTTAU, DUSCATAU,DUSTSCATAU, & + DUSMASS25, DUSMASS25A, DUSMASS25ARH35, DUCMASS25, DUMASS25, DUMASSFM, DUEXTT25, DUSCAT25, & DUSMASS25, DUCMASS25, DUMASS25, DUMASSFM, DUEXTT25, DUSCAT25, & DUFLUXU, DUFLUXV, DUCONC, DUEXTCOEF, DUSCACOEF, & - DUBCKCOEF,DUEXTTFM, DUSCATFM, DUANGSTR, DUAERIDX, NO3nFlag=.false., __RC__ ) - + DUBCKCOEF,DUEXTTFM, DUSCATFM, DUANGSTR, DUAERIDX, NO3nFlag=.false., BinFracFlag=.true., shapefactor=self%shape_factor, __RC__ ) + i1 = lbound(RH2, 1); i2 = ubound(RH2, 1) j1 = lbound(RH2, 2); j2 = ubound(RH2, 2) km = ubound(RH2, 3) - + allocate(RH20(i1:i2,j1:j2,km), __STAT__) allocate(RH80(i1:i2,j1:j2,km), __STAT__) @@ -1404,6 +1407,7 @@ subroutine miephot_(mie, nbins, wavelength, q, rh, bext_s, bssa_s, bpmom_s, rc) real :: bssa (size(ext_s,1),size(ext_s,2),size(ext_s,3)) ! SSA real :: pmom (size(ext_s,1),size(ext_s,2),size(ext_s,3),size(pmom_s,4),6) + __Iam__('DU2G::aerosol_optics::miephot_') bext_s = 0.0d0 diff --git a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_StateSpecs.rc index 43248b48..9cc8f9f9 100644 --- a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_StateSpecs.rc @@ -78,7 +78,9 @@ category: EXPORT DUSTEXTTAU | 1 | xy | N | size(self%wavelengths_vertint) | Dust Stratospheric Aerosol Optical Thickness DUSCATAU | 1 | xy | N | size(self%wavelengths_vertint) | Dust Aerosol Optical Depth Due to Scattering DUSTSCATAU | 1 | xy | N | size(self%wavelengths_vertint) | Dust Stratospheric Aerosol Optical Thickness Due to Scattering - DUSMASS25 | kg m-3 | xy | N | | Dust Surface Mass Concentration of Particulate Matter < 2.5 microns (PM 2.5) + DUSMASS25 | kg m-3 | xy | N | | Dust Surface Mass Concentration of Particulate Matter < geometric 2.5 microns (PM 2.5) + DUSMASS25A | kg m-3 | xy | N | | Dust Surface Mass Concentration of Particulate Matter < aerodynamic 2.5 microns (PM 2.5) + DUSMASS25ARH35 | kg m-3 | xy | N | | Dust Surface Mass Concentration of Particulate Matter < aerodynamic 2.5 microns (PM 2.5) at RH=35% DUCMASS25 | kg m-2 | xy | N | | Dust Column Mass Density of Particulate Matter < 2.5 microns (PM 2.5) DUEXTT25 | 1 | xy | N | size(self%wavelengths_vertint) | Dust Aerosol Optical Depth from Particulate Matter < 2.5 microns (PM2.5) DUSCAT25 | 1 | xy | N | size(self%wavelengths_vertint) | Dust Aerosol Optical Depth Due to Scattering from Particulate Matter < 2.5 microns (PM2.5) diff --git a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_instance_DU.rc b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_instance_DU.rc index b8c04df5..b3fbe15f 100644 --- a/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_instance_DU.rc +++ b/ESMF/GOCART2G_GridComp/DU2G_GridComp/DU2G_instance_DU.rc @@ -2,8 +2,8 @@ # Resource file Dust parameters. # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_DU.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_DU.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_DU.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_DU.v2.2.1.nc4 particle_radius_microns: 0.73 1.4 2.4 4.5 8.0 @@ -11,6 +11,8 @@ radius_lower: 0.1 1.0 1.8 3.0 6.0 radius_upper: 1.0 1.8 3.0 6.0 10.0 +shape_factor: 1.4 + # units [kg/m-3] particle_density: 2500. 2650. 2650. 2650. 2650. diff --git a/ESMF/GOCART2G_GridComp/GOCART2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/GOCART2G_GridCompMod.F90 index 4c728902..ea483df4 100644 --- a/ESMF/GOCART2G_GridComp/GOCART2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/GOCART2G_GridCompMod.F90 @@ -579,7 +579,7 @@ subroutine Run2 (GC, import, export, clock, RC) real, pointer, dimension(:,:,:,:) :: duscacoefrh20, duscacoefrh80 real, pointer, dimension(:,:,:,:) :: dubckcoef real, pointer, dimension(:,:) :: duangstr, dusmass, & - dusmass25 + dusmass25, dusmass25a, dusmass25arh35 real, pointer, dimension(:,:,:) :: ssexttau, ssstexttau, & ssscatau, ssstscatau, & ssextt25, ssscat25, & @@ -589,7 +589,7 @@ subroutine Run2 (GC, import, export, clock, RC) real, pointer, dimension(:,:,:,:) :: ssscacoefrh20, ssscacoefrh80 real, pointer, dimension(:,:,:,:) :: ssbckcoef real, pointer, dimension(:,:) :: ssangstr, sssmass, & - sssmass25 + sssmass25, sssmass25a, sssmass25arh35 real, pointer, dimension(:,:,:) :: niexttau, nistexttau, & niscatau, nistscatau, & niextt25, niscat25, & @@ -599,7 +599,7 @@ subroutine Run2 (GC, import, export, clock, RC) real, pointer, dimension(:,:,:,:) :: niscacoefrh20, niscacoefrh80 real, pointer, dimension(:,:,:,:) :: nibckcoef real, pointer, dimension(:,:) :: niangstr, nismass, & - nismass25 + nismass25, nismass25arh35 real, pointer, dimension(:,:) :: nh4smass real, pointer, dimension(:,:,:) :: suexttau, sustexttau, & suscatau, sustscatau @@ -607,25 +607,25 @@ subroutine Run2 (GC, import, export, clock, RC) real, pointer, dimension(:,:,:,:) :: suextcoefrh20, suextcoefrh80 real, pointer, dimension(:,:,:,:) :: suscacoefrh20, suscacoefrh80 real, pointer, dimension(:,:,:,:) :: subckcoef - real, pointer, dimension(:,:) :: suangstr, so4smass + real, pointer, dimension(:,:) :: suangstr, so4smass, so4smassrh35 real, pointer, dimension(:,:,:) :: bcexttau, bcstexttau, bcscatau, bcstscatau real, pointer, dimension(:,:,:,:) :: bcextcoef, bcscacoef real, pointer, dimension(:,:,:,:) :: bcextcoefrh20, bcextcoefrh80 real, pointer, dimension(:,:,:,:) :: bcscacoefrh20, bcscacoefrh80 real, pointer, dimension(:,:,:,:) :: bcbckcoef - real, pointer, dimension(:,:) :: bcangstr, bcsmass + real, pointer, dimension(:,:) :: bcangstr, bcsmass, bcsmass25arh35 real, pointer, dimension(:,:,:) :: ocexttau, ocstexttau, ocscatau, ocstscatau real, pointer, dimension(:,:,:,:) :: ocextcoef, ocscacoef real, pointer, dimension(:,:,:,:) :: ocextcoefrh20, ocextcoefrh80 real, pointer, dimension(:,:,:,:) :: ocscacoefrh20, ocscacoefrh80 real, pointer, dimension(:,:,:,:) :: ocbckcoef - real, pointer, dimension(:,:) :: ocangstr, ocsmass + real, pointer, dimension(:,:) :: ocangstr, ocsmass, ocsmass25arh35 real, pointer, dimension(:,:,:) :: brexttau, brstexttau, brscatau, brstscatau real, pointer, dimension(:,:,:,:) :: brextcoef, brscacoef real, pointer, dimension(:,:,:,:) :: brextcoefrh20, brextcoefrh80 real, pointer, dimension(:,:,:,:) :: brscacoefrh20, brscacoefrh80 real, pointer, dimension(:,:,:,:) :: brbckcoef - real, pointer, dimension(:,:) :: brangstr, brsmass + real, pointer, dimension(:,:) :: brangstr, brsmass, brsmass25arh35 real, pointer, dimension(:,:,:) :: pso4 real, allocatable :: tau1(:,:), tau2(:,:) real, allocatable :: backscat_mol(:,:,:) @@ -708,6 +708,8 @@ subroutine Run2 (GC, import, export, clock, RC) if(associated(totabcksfc)) totabcksfc = 0. if(associated(pm)) pm(:,:) = 0. if(associated(pm25)) pm25(:,:) = 0. + if(associated(pm25a)) pm25a(:,:) = 0. + if(associated(pm25arh35)) pm25arh35(:,:) = 0. if(associated(pm_rh35)) pm_rh35(:,:) = 0. if(associated(pm25_rh35)) pm25_rh35(:,:) = 0. if(associated(pm_rh50)) pm_rh50(:,:) = 0. @@ -801,8 +803,12 @@ subroutine Run2 (GC, import, export, clock, RC) call MAPL_GetPointer (gex(self%DU%instances(n)%id), dusmass, 'DUSMASS', __RC__) call MAPL_GetPointer (gex(self%DU%instances(n)%id), dusmass25, 'DUSMASS25', __RC__) + call MAPL_GetPointer (gex(self%DU%instances(n)%id), dusmass25a, 'DUSMASS25A', __RC__) + call MAPL_GetPointer (gex(self%DU%instances(n)%id), dusmass25arh35, 'DUSMASS25ARH35', __RC__) if(associated(pm) .and. associated(dusmass)) pm = pm + dusmass if(associated(pm25) .and. associated(dusmass25)) pm25 = pm25 + dusmass25 + if(associated(pm25a) .and. associated(dusmass25a)) pm25a = pm25a + dusmass25a + if(associated(pm25arh35) .and. associated(dusmass25arh35)) pm25arh35 = pm25arh35 + dusmass25arh35 if(associated(pm_rh35) .and. associated(dusmass)) pm_rh35 = pm_rh35 + dusmass if(associated(pm25_rh35) .and. associated(dusmass25)) pm25_rh35 = pm25_rh35 + dusmass25 if(associated(pm_rh50) .and. associated(dusmass)) pm_rh50 = pm_rh50 + dusmass @@ -859,8 +865,12 @@ subroutine Run2 (GC, import, export, clock, RC) call MAPL_GetPointer (gex(self%SS%instances(n)%id), sssmass, 'SSSMASS', __RC__) call MAPL_GetPointer (gex(self%SS%instances(n)%id), sssmass25, 'SSSMASS25', __RC__) + call MAPL_GetPointer (gex(self%SS%instances(n)%id), sssmass25a, 'SSSMASS25A', __RC__) + call MAPL_GetPointer (gex(self%SS%instances(n)%id), sssmass25arh35, 'SSSMASS25ARH35', __RC__) if(associated(pm) .and. associated(sssmass)) pm = pm + sssmass if(associated(pm25) .and. associated(sssmass25)) pm25 = pm25 + sssmass25 + if(associated(pm25a) .and. associated(sssmass25a)) pm25a = pm25a + sssmass25a + if(associated(pm25arh35) .and. associated(sssmass25arh35)) pm25arh35 = pm25arh35 + sssmass25arh35 if(associated(pm_rh35) .and. associated(sssmass)) pm_rh35 = pm_rh35 + 1.86*sssmass if(associated(pm25_rh35) .and. associated(sssmass25)) pm25_rh35 = pm25_rh35 + 1.86*sssmass25 if(associated(pm_rh50) .and. associated(sssmass)) pm_rh50 = pm_rh50 + 2.42*sssmass @@ -918,8 +928,11 @@ subroutine Run2 (GC, import, export, clock, RC) call MAPL_GetPointer (gex(self%NI%instances(n)%id), nismass, 'NISMASS', __RC__) call MAPL_GetPointer (gex(self%NI%instances(n)%id), nismass25, 'NISMASS25', __RC__) call MAPL_GetPointer (gex(self%NI%instances(n)%id), nh4smass, 'NH4SMASS', __RC__) + call MAPL_GetPointer (gex(self%NI%instances(n)%id), nismass25arh35, 'NISMASS25ARH35', __RC__) if(associated(pm) .and. associated(nismass) .and. associated(nh4smass)) pm = pm + nismass + nh4smass if(associated(pm25) .and. associated(nismass25) .and. associated(nh4smass)) pm25 = pm25 + nismass25 + nh4smass + if(associated(pm25a) .and. associated(nismass25) .and. associated(nh4smass)) pm25a = pm25a + nismass25 + nh4smass + if(associated(pm25arh35) .and. associated(nismass25arh35) .and. associated(nh4smass)) pm25arh35 = pm25arh35 + nismass25arh35 + nh4smass if(associated(pm_rh35) .and. associated(nismass) .and. associated(nh4smass)) pm_rh35 = pm_rh35 + 1.33*(nismass + nh4smass) if(associated(pm25_rh35) .and. associated(nismass25) .and. associated(nh4smass)) pm25_rh35 = pm25_rh35 + 1.33*(nismass25 + nh4smass) if(associated(pm_rh50) .and. associated(nismass) .and. associated(nh4smass)) pm_rh50 = pm_rh50 + 1.51*(nismass + nh4smass) @@ -979,9 +992,12 @@ subroutine Run2 (GC, import, export, clock, RC) if(associated(pso4tot) .and. associated(pso4)) pso4tot = pso4tot + pso4 call MAPL_GetPointer (gex(self%SU%instances(n)%id), so4smass, 'SO4SMASS', __RC__) + call MAPL_GetPointer (gex(self%SU%instances(n)%id), so4smassrh35, 'SO4SMASSRH35', __RC__) if(associated(so4smass)) then if(associated(pm) ) pm = pm + nifactor*so4smass if(associated(pm25) ) pm25 = pm25 + nifactor*so4smass + if(associated(pm25a) ) pm25a = pm25a + nifactor*so4smass + if(associated(pm25arh35)) pm25arh35 = pm25arh35 + nifactor*so4smassrh35 if(associated(pm_rh35) ) pm_rh35 = pm_rh35 + 1.33*nifactor*so4smass if(associated(pm25_rh35)) pm25_rh35 = pm25_rh35 + 1.33*nifactor*so4smass if(associated(pm_rh50) ) pm_rh50 = pm_rh50 + 1.51*nifactor*so4smass @@ -1037,8 +1053,11 @@ subroutine Run2 (GC, import, export, clock, RC) end do call MAPL_GetPointer (gex(self%CA%instances(n)%id), bcsmass, 'CA.bcSMASS', __RC__) + call MAPL_GetPointer (gex(self%CA%instances(n)%id), bcsmass25arh35, 'CA.bcSMASS25ARH35', __RC__) if(associated(pm) .and. associated(bcsmass)) pm = pm + bcsmass if(associated(pm25) .and. associated(bcsmass)) pm25 = pm25 + bcsmass + if(associated(pm25a) .and. associated(bcsmass)) pm25a = pm25a + bcsmass + if(associated(pm25arh35) .and. associated(bcsmass25arh35)) pm25arh35 = pm25arh35 + bcsmass25arh35 if(associated(pm_rh35) .and. associated(bcsmass)) pm_rh35 = pm_rh35 + bcsmass if(associated(pm25_rh35) .and. associated(bcsmass)) pm25_rh35 = pm25_rh35 + bcsmass if(associated(pm_rh50) .and. associated(bcsmass)) pm_rh50 = pm_rh50 + bcsmass @@ -1087,8 +1106,11 @@ subroutine Run2 (GC, import, export, clock, RC) end do call MAPL_GetPointer (gex(self%CA%instances(n)%id), ocsmass, 'CA.ocSMASS', __RC__) + call MAPL_GetPointer (gex(self%CA%instances(n)%id), ocsmass25arh35, 'CA.ocSMASS25ARH35', __RC__) if(associated(pm) .and. associated(ocsmass)) pm = pm + ocsmass if(associated(pm25) .and. associated(ocsmass)) pm25 = pm25 + ocsmass + if(associated(pm25a) .and. associated(ocsmass)) pm25a = pm25a + ocsmass + if(associated(pm25arh35) .and. associated(ocsmass25arh35)) pm25arh35 = pm25arh35 + ocsmass25arh35 if(associated(pm_rh35) .and. associated(ocsmass)) pm_rh35 = pm_rh35 + 1.16*ocsmass ! needs to be revisited: OCpho + 1.16 OCphi if(associated(pm25_rh35) .and. associated(ocsmass)) pm25_rh35 = pm25_rh35 + 1.16*ocsmass ! if(associated(pm_rh50) .and. associated(ocsmass)) pm_rh50 = pm_rh50 + 1.24*ocsmass ! needs to be revisited: OCpho + 1.24 OCphi @@ -1137,8 +1159,11 @@ subroutine Run2 (GC, import, export, clock, RC) end do call MAPL_GetPointer (gex(self%CA%instances(n)%id), brsmass, 'CA.brSMASS', __RC__) + call MAPL_GetPointer (gex(self%CA%instances(n)%id), brsmass25arh35, 'CA.brSMASS25ARH35', __RC__) if(associated(pm) .and. associated(brsmass)) pm = pm + brsmass if(associated(pm25) .and. associated(brsmass)) pm25 = pm25 + brsmass + if(associated(pm25a) .and. associated(brsmass)) pm25a = pm25a + brsmass + if(associated(pm25arh35) .and. associated(brsmass25arh35)) pm25arh35 = pm25arh35 + brsmass25arh35 if(associated(pm_rh35) .and. associated(brsmass)) pm_rh35 = pm_rh35 + 1.16*brsmass ! needs to be revisited: OCpho + 1.16 OCphi if(associated(pm25_rh35) .and. associated(brsmass)) pm25_rh35 = pm25_rh35 + 1.16*brsmass ! if(associated(pm_rh50) .and. associated(brsmass)) pm_rh50 = pm_rh50 + 1.24*brsmass ! needs to be revisited: OCpho + 1.24 OCphi diff --git a/ESMF/GOCART2G_GridComp/GOCART2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/GOCART2G_StateSpecs.rc index 7a7cbe90..5705ea3b 100644 --- a/ESMF/GOCART2G_GridComp/GOCART2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/GOCART2G_StateSpecs.rc @@ -42,7 +42,9 @@ category: EXPORT PM | kg m-3 | xy | N | | Total Reconstructed Dry Particulate Matter PM_RH35 | kg m-3 | xy | N | | Total Reconstructed Particulate Matter at 35% Relative Humidity PM_RH50 | kg m-3 | xy | N | | Total Reconstructed Particulate Matter at 50% Relative Humidity - PM25 | kg m-3 | xy | N | | Total Reconstructed Dry Particulate Matter < 2.5 microns (PM2.5) + PM25 | kg m-3 | xy | N | | Total Reconstructed Dry Particulate Matter < geometric 2.5 microns (PM2.5) + PM25A | kg m-3 | xy | N | | Total Reconstructed Dry Particulate Matter < aerodynamic 2.5 microns (PM2.5) + PM25ARH35 | kg m-3 | xy | N | | Total Reconstructed Dry Particulate Matter < aerodynamic 2.5 microns (PM2.5) PM25_RH35 | kg m-3 | xy | N | | Total Reconstructed Particulate Matter < 2.5 microns (PM2.5) at 35% Relative Humidity PM25_RH50 | kg m-3 | xy | N | | Total Reconstructed Particulate Matter < 2.5 microns (PM2.5) at 50% Relative Humidity diff --git a/ESMF/GOCART2G_GridComp/NI2G_GridComp/AMIP/NI2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/NI2G_GridComp/AMIP/NI2G_GridComp_ExtData.yaml index 19bfb36a..d2a3718b 100644 --- a/ESMF/GOCART2G_GridComp/NI2G_GridComp/AMIP/NI2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/NI2G_GridComp/AMIP/NI2G_GridComp_ExtData.yaml @@ -45,9 +45,9 @@ Exports: sample: NI2G_sample_2 variable: nh3_emis EMI_NH3_BB: - - {starting: "1960-01-16T12:00", collection: NI2G_hfed.emis_nh3.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} - - {starting: "2000-03-01T00:00", collection: NI2G_qfed2.emis_nh3.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} - - {starting: "2023-03-01T00:00", collection: NI2G_qfed_emis_x3600y1800_nh3.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "1960-01-16T12:00", collection: NI2G_hfed.emis_nh3.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "2000-03-01T00:00", collection: NI2G_qfed2.emis_nh3.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "2023-03-01T00:00", collection: NI2G_qfed_emis_x3600y1800_nh3.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} EMI_NH3_EN: - {starting: "1979-01-15T12:00", collection: NI2G_NH3-em-anthro_CMIP_CEDS_gn.x2304_y1441_t12.%y4.nc4, sample: NI2G_sample_1, regrid: CONSERVE, variable: nh3} - {starting: "2019-12-15T12:00", collection: NI2G_NH3-em-anthro_CMIP_CEDS_gn.x2304_y1441_t12.%y4.nc4, regrid: CONSERVE, sample: NI2G_sample_4, variable: nh3} diff --git a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90 index 5666dd23..01cddf6d 100644 --- a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90 @@ -1067,9 +1067,9 @@ subroutine Run2 (GC, import, export, clock, RC) wavelengths_vertint=self%wavelengths_vertint*1.0e-9, & aerosol=aerosol, grav=MAPL_GRAV, tmpu=t, rhoa=airdens, rh=rh2, u=u, v=v, & delp=delp, ple=ple, tropp=tropp,& - sfcmass=NISMASS25, colmass=NICMASS25, mass=NIMASS25, conc=NICONC25, & + sfcmass=NISMASS25, sfcmass25aerodynRH35=NISMASS25ARH35, colmass=NICMASS25, mass=NIMASS25, conc=NICONC25, & exttau25=NIEXTT25, scatau25=NISCAT25, exttaufm=NIEXTTFM, scataufm=NISCATFM, & - NO3nFlag=.true., __RC__) + NO3nFlag=.true., __RC__) ! Save local copy of HNO3 for first pass through run method regardless aerosol(:,:,:,1) = NO3an1 diff --git a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridComp_ExtData.yaml index 3dbec464..1b54b692 100644 --- a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridComp_ExtData.yaml @@ -47,9 +47,9 @@ Exports: sample: NI2G_sample_2 variable: nh3_emis EMI_NH3_BB: - - {starting: "2014-12-01T12:00", collection: NI2G_qfed2.emis_nh3.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} - - {starting: "2021-11-01T12:00", collection: NI2G_qfed2.emis_nh3.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} - - {starting: "2026-02-01T12:00", collection: NI2G_qfed_emis_x3600y1800_nh3.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "2014-12-01T12:00", collection: NI2G_qfed2.emis_nh3.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "2021-11-01T12:00", collection: NI2G_qfed2.emis_nh3.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} + - {starting: "2026-02-01T12:00", collection: NI2G_qfed_emis_x3600y1800_nh3.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: NI2G_sample_1, variable: biomass} EMI_NH3_EN: - {starting: "1979-01-15T12:00", collection: NI2G_NH3-em-anthro_CMIP_CEDS_gn.x2304_y1441_t12.%y4.nc4, sample: NI2G_sample_1, regrid: CONSERVE, variable: nh3} - {starting: "2019-12-15T12:00", collection: NI2G_NH3-em-anthro_CMIP_CEDS_gn.x2304_y1441_t12.%y4.nc4, regrid: CONSERVE, sample: NI2G_sample_4, variable: nh3} diff --git a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_StateSpecs.rc index 5370632f..73927165 100644 --- a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_StateSpecs.rc @@ -93,6 +93,7 @@ category: EXPORT NH4SMASS | kg m-3 | xy | N | | Ammonium Surface Mass Concentration NISMASS | kg m-3 | xy | N | | Nitrate Surface Mass Concentration NISMASS25 | kg m-3 | xy | N | | Nitrate Surface Mass Concentration of Particulate Matter < 2.5 microns (PM2.5) + NISMASS25ARH35 | kg m-3 | xy | N | | Nitrate Surface Mass Concentration of Particulate Matter < aerodynamic 2.5 microns (PM2.5) at RH=35% HNO3CMASS | kg m-3 | xy | N | | Nitric Acid Column Mass Density NH3CMASS | kg m-3 | xy | N | | Ammonia Column Mass Density NH4CMASS | kg m-3 | xy | N | | Ammonium Column Mass Density diff --git a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_instance_NI.rc b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_instance_NI.rc index af46d317..a9f955f4 100644 --- a/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_instance_NI.rc +++ b/ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_instance_NI.rc @@ -4,8 +4,8 @@ nbins: 5 -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_NI.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_NI.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_NI.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_NI.v2.2.1.nc4 # Scavenging efficiency per bin [km-1] fscav: 0.0 0.4 0.4 0.4 0.4 diff --git a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90 index afbeec0b..ba6a43a3 100644 --- a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90 @@ -53,6 +53,7 @@ module SS2G_GridCompMod integer :: emission_scheme real :: emission_scale ! global scaling factor real :: emission_scale_res(NHRES) ! global scaling factor + real :: shape_factor ! shape factor used to convert geometric to aerodynamic diameter end type SS2G_GridComp type wrap_ @@ -139,6 +140,7 @@ subroutine SetServices ( GC, RC ) call ESMF_ConfigGetAttribute (cfg, self%rlow, label='radius_lower:', __RC__) call ESMF_ConfigGetAttribute (cfg, self%rup, label='radius_upper:', __RC__) call ESMF_ConfigGetAttribute (cfg, self%rmed, label='particle_radius_number:', __RC__) + call ESMF_ConfigGetAttribute (cfg, self%shape_factor, label='shape_factor:', __RC__) ! Is SS data driven? ! ------------------ @@ -940,9 +942,10 @@ subroutine Run2 (GC, import, export, clock, RC) self%rup, self%wavelengths_profile*1.0e-9, & self%wavelengths_vertint*1.0e-9, SS, MAPL_GRAV, t, airdens,rh2, u, v, & delp, ple, tropp,SSSMASS, SSCMASS, SSMASS, SSEXTTAU,SSSTEXTTAU, SSSCATAU,SSSTSCATAU, & + SSSMASS25, SSSMASS25A, SSSMASS25ARH35, SSCMASS25, SSMASS25, SSMASSFM, SSEXTT25, SSSCAT25, & SSSMASS25, SSCMASS25, SSMASS25, SSMASSFM, SSEXTT25, SSSCAT25, & SSFLUXU, SSFLUXV, SSCONC, SSEXTCOEF, SSSCACOEF, SSBCKCOEF, & - SSEXTTFM, SSSCATFM ,SSANGSTR, SSAERIDX, NO3nFlag=.false.,__RC__) + SSEXTTFM, SSSCATFM ,SSANGSTR, SSAERIDX, NO3nFlag=.false., BinFracFlag=.true., shapefactor=self%shape_factor , __RC__) i1 = lbound(RH2, 1); i2 = ubound(RH2, 1) j1 = lbound(RH2, 2); j2 = ubound(RH2, 2) diff --git a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_StateSpecs.rc index 23cbda16..b4b7deae 100644 --- a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_StateSpecs.rc @@ -65,7 +65,9 @@ category: EXPORT SSSTEXTTAU | 1 | xy | N | size(self%wavelengths_vertint) | Sea Salt Stratospheric Aerosol Optical Thickness SSSCATAU | 1 | xy | N | size(self%wavelengths_vertint) | Sea Salt Aerosol Optical Depth Due to Scattering SSSTSCATAU | 1 | xy | N | size(self%wavelengths_vertint) | Sea Salt Stratospheric Aerosol Optical Thickness Due to Scattering - SSSMASS25 | kg m-3 | xy | N | | Sea Salt Surface Mass Concentration of Particulate Matter < 2.5 microns (PM2.5) + SSSMASS25 | kg m-3 | xy | N | | Sea Salt Surface Mass Concentration of Particulate Matter < geometric 2.5 microns (PM2.5) + SSSMASS25A | kg m-3 | xy | N | | Sea Salt Surface Mass Concentration of Particulate Matter < aerodynamic 2.5 microns (PM2.5) + SSSMASS25ARH35 | kg m-3 | xy | N | | Sea Salt Surface Mass Concentration of Particulate Matter < aerodynamic 2.5 microns (PM2.5) at RH=35% SSCMASS25 | kg m-2 | xy | N | | Sea Salt Column Mass Density of Particulate Matter < 2.5 microns (PM2.5) SSEXTT25 | 1 | xy | N | size(self%wavelengths_vertint) | Sea Salt Aerosol Optical Depth from Particulate Matter < 2.5 microns (PM2.5) SSSCAT25 | 1 | xy | N | size(self%wavelengths_vertint) | Sea Salt Aerosol Optical Depth Due to Scattering from Particulate Matter < 2.5 microns (PM2.5) diff --git a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_instance_SS.rc b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_instance_SS.rc index 1c62b5ea..0dc6581b 100644 --- a/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_instance_SS.rc +++ b/ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_instance_SS.rc @@ -2,8 +2,8 @@ # Resource file Sea Salt parameters # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_SS.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_SS.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_SS.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_SS.v2.2.1.nc4 particle_radius_microns: 0.079 0.316 1.119 2.818 7.772 @@ -13,6 +13,8 @@ radius_upper: 0.1 0.5 1.5 5.0 10.0 particle_density: 2200. 2200. 2200. 2200. 2200. +shape_factor: 1 + # Wet Removal Scheme Option | gocart, ufs wet_removal_scheme: gocart ! default value diff --git a/ESMF/GOCART2G_GridComp/SU2G_GridComp/AMIP/SU2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/SU2G_GridComp/AMIP/SU2G_GridComp_ExtData.yaml index 5020dda5..de048408 100644 --- a/ESMF/GOCART2G_GridComp/SU2G_GridComp/AMIP/SU2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/SU2G_GridComp/AMIP/SU2G_GridComp_ExtData.yaml @@ -76,9 +76,9 @@ Exports: sample: SU2G_sample_2 variable: so2_aviation SU_BIOMASS: - - {starting: "1960-01-16T12:00", collection: SU2G_hfed.emis_so2.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} - - {starting: "2000-03-01T00:00", collection: SU2G_qfed2.emis_so2.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} - - {starting: "2023-03-01T00:00", collection: SU2G_qfed_emis_x3600y1800_so2.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "1960-01-16T12:00", collection: SU2G_hfed.emis_so2.x576_y361.%y4%m2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "2000-03-01T00:00", collection: SU2G_qfed2.emis_so2.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "2023-03-01T00:00", collection: SU2G_qfed_emis_x3600y1800_so2.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} SU_DMSO: collection: SU2G_DMSclim_sfcconcentration.x360_y181_t12.Lana2011.nc4 regrid: CONSERVE diff --git a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridCompMod.F90 b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridCompMod.F90 index b2c4b68b..f477dd4b 100644 --- a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridCompMod.F90 +++ b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridCompMod.F90 @@ -1349,7 +1349,7 @@ subroutine Run2 (GC, import, export, clock, RC) SO2SMASS, SO2CMASS, & SO4SMASS, SO4CMASS, & SUEXTTAU, SUSTEXTTAU,SUSCATAU,SUSTSCATAU, SO4MASS, SUCONC, SUEXTCOEF, & - SUSCACOEF, SUBCKCOEF,SUANGSTR, SUFLUXU, SUFLUXV, SO4SAREA, SO4SNUM, SO4REFF, __RC__) + SUSCACOEF, SUBCKCOEF,SUANGSTR, SUFLUXU, SUFLUXV, SO4SAREA, SO4SNUM, SO4REFF, SO4SMASSRH35, __RC__) if(associated(SO4SAREA)) then nullify(int_ptr) diff --git a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridComp_ExtData.yaml b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridComp_ExtData.yaml index c21a3c01..5ffff014 100644 --- a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridComp_ExtData.yaml +++ b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_GridComp_ExtData.yaml @@ -77,9 +77,9 @@ Exports: sample: SU2G_sample_2 variable: so2_aviation SU_BIOMASS: - - {starting: "2014-12-01T12:00", collection: SU2G_qfed2.emis_so2.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} - - {starting: "2021-11-01T12:00", collection: SU2G_qfed2.emis_so2.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} - - {starting: "2026-02-01T12:00", collection: SU2G_qfed_emis_x3600y1800_so2.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 0.778], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "2014-12-01T12:00", collection: SU2G_qfed2.emis_so2.006.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "2021-11-01T12:00", collection: SU2G_qfed2.emis_so2.061.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} + - {starting: "2026-02-01T12:00", collection: SU2G_qfed_emis_x3600y1800_so2.v3_2_2.%y4%m2%d2.nc4, linear_transformation: [0.0, 1.2], regrid: CONSERVE, sample: SU2G_sample_1, variable: biomass} SU_DMSO: collection: SU2G_DMSclim_sfcconcentration.x360_y181_t12.Lana2011.nc4 regrid: CONSERVE diff --git a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_StateSpecs.rc b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_StateSpecs.rc index ba311467..467732e4 100644 --- a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_StateSpecs.rc +++ b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_StateSpecs.rc @@ -81,6 +81,7 @@ category: EXPORT SO2SMASS | kg m-3 | xy | N | | SO2 Surface Mass Concentration SO2CMASS | kg m-2 | xy | N | | SO2 Column Mass Density SO4SMASS | kg m-3 | xy | N | | SO4 Surface Mass Concentration + SO4SMASSRH35 | kg m-3 | xy | N | | SO4 Surface Mass Concentration at RH=35% SO4CMASS | kg m-2 | xy | N | | SO4 Column Mass Density DMSSMASS | kg m-3 | xy | N | | DMS Surface Mass Concentration DMSCMASS | kg m-2 | xy | N | | DMS Column Mass Density diff --git a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_instance_SU.rc b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_instance_SU.rc index 748d1ff3..00170e08 100644 --- a/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_instance_SU.rc +++ b/ESMF/GOCART2G_GridComp/SU2G_GridComp/SU2G_instance_SU.rc @@ -2,8 +2,8 @@ # Resource file for Sulfur parameters. # -aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_SU.v2.1.0.RRTMGP.nc4 -aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_SU.v2.1.0.nc4 +aerosol_radBands_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/opticsBands_SU.v2.2.1.RRTMGP.nc4 +aerosol_monochromatic_optics_file: ExtData/chemistry/AerosolOptics/v2.x.x/x/optics_SU.v2.2.1.nc4 nbins: 4 diff --git a/Process_Library/GOCART2G_MieMod.F90 b/Process_Library/GOCART2G_MieMod.F90 index 9206528c..a83e4665 100644 --- a/Process_Library/GOCART2G_MieMod.F90 +++ b/Process_Library/GOCART2G_MieMod.F90 @@ -55,6 +55,8 @@ module GOCART2G_MieMod real, pointer :: wavelengths(:) => Null() ! (c) wavelengths [m] real, pointer :: rh(:) => Null() ! (r) RH values [fraction] real, pointer :: reff(:,:) => Null() ! (r,b) effective radius [m] + real, pointer :: rUp(:,:) => Null() ! (r,b) radius upper bound [m] + real, pointer :: rLow(:,:) => Null() ! (r,b) radius lower bound [m] real, pointer :: bext(:,:,:) => Null() ! (r,c,b) bext values [m2 kg-1] real, pointer :: bsca(:,:,:) => Null() ! (r,c,b) bsca values [m2 kg-1] real, pointer :: bbck(:,:,:) => Null() ! (r,c,b) bbck values [m2 kg-1] @@ -145,6 +147,7 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc integer :: nch_table, nrh_table, nbin_table, nmom_table, nPol_table real, allocatable :: channels_table(:), rh_table(:), reff_table(:,:), & + rUp_table(:,:), rLow_table(:,:), & bext_table(:,:,:), bsca_table(:,:,:), & bbck_table(:,:,:), g_table(:,:,:), & pmom_table(:,:,:,:,:),pback_table(:,:,:,:), & @@ -228,6 +231,8 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc allocate(channels_table(nch_table), __NF_STAT__) allocate(rh_table(nrh_table), __NF_STAT__) allocate(reff_table(nrh_table,nbin_table), __NF_STAT__) + allocate(rUp_table(nrh_table,nbin_table), __NF_STAT__) + allocate(rLow_table(nrh_table,nbin_table), __NF_STAT__) allocate(bext_table(nrh_table,nch_table,nbin_table), __NF_STAT__) allocate(bsca_table(nrh_table,nch_table,nbin_table), __NF_STAT__) allocate(bbck_table(nrh_table,nch_table,nbin_table), __NF_STAT__) @@ -336,6 +341,23 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc NF_VERIFY_(nf90_get_var(ncid,ivarid,area_table)) endif +! rUp + rc = nf90_inq_varid(ncid,'rUp',ivarid) + if(rc .ne. NF90_NOERR) then ! not in table, fill in dummy variable + rUp_table = reff_table + else + NF_VERIFY_(nf90_get_var(ncid,ivarid,rUp_table)) + endif + + ! rLow + rc = nf90_inq_varid(ncid,'rLow',ivarid) + if(rc .ne. NF90_NOERR) then ! not in table, fill in dummy variable + rLow_table = reff_table + else + NF_VERIFY_(nf90_get_var(ncid,ivarid,rLow_table)) + endif + + ! Close the table file ! ------------------------------------- NF_VERIFY_(nf90_close(ncid)) @@ -351,6 +373,8 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc allocate (this%rh(this%nrh), __NF_STAT__) allocate (this%reff(this%nrh,this%nbin), __NF_STAT__) + allocate (this%rUp(this%nrh,this%nbin), __NF_STAT__) + allocate (this%rLow(this%nrh,this%nbin), __NF_STAT__) allocate (this%bext(this%nrh,this%nch,this%nbin), __NF_STAT__) allocate (this%bsca(this%nrh,this%nch,this%nbin), __NF_STAT__) allocate (this%bbck(this%nrh,this%nch,this%nbin), __NF_STAT__) @@ -376,6 +400,12 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc ! Insert rEff (moist effective radius) this%reff = reff_table +! Insert rUp + this%rUp = rUp_table + +! Insert rLow + this%rLow = rLow_table + ! Insert growth factor this%gf = gf_table diff --git a/Process_Library/GOCART2G_Process.F90 b/Process_Library/GOCART2G_Process.F90 index 83d3af4b..fc90a944 100644 --- a/Process_Library/GOCART2G_Process.F90 +++ b/Process_Library/GOCART2G_Process.F90 @@ -1506,7 +1506,7 @@ subroutine Chem_SettlingSimple ( km, klid, mie, bin, cdt, grav, & real, pointer, dimension(:,:) :: hsurf real(kind=DP), dimension(:,:), allocatable :: cmass_before, cmass_after real, allocatable :: dz(:,:,:) - real, dimension(:,:,:), allocatable :: radius, rhop, qa + real, dimension(:,:,:), allocatable :: radius, rhop, qa, rUp real, dimension(:,:,:), allocatable :: vsettle ! fall speed [m s-1] real :: ONE_OVER_G integer :: status @@ -1523,7 +1523,7 @@ subroutine Chem_SettlingSimple ( km, klid, mie, bin, cdt, grav, & hsurf => hghte(i1:i2,j1:j2,km) - allocate(dz(i2,j2,km), radius(i2,j2,km), rhop(i2,j2,km), vsettle(i2,j2,km), qa(i2,j2,km), source=0.0) + allocate(dz(i2,j2,km), radius(i2,j2,km), rUp(i2,j2,km), rhop(i2,j2,km), vsettle(i2,j2,km), qa(i2,j2,km), source=0.0) allocate(cmass_before(i2,j2), cmass_after(i2,j2), source=0.0_DP) qa = int_qa @@ -1557,9 +1557,9 @@ subroutine Chem_SettlingSimple ( km, klid, mie, bin, cdt, grav, & enddo ! Find radius and density of the wet particle - call mie%Query(550e-9,bin, & + call mie%Query(550e-9, bin, & qa*delp/grav, & - rh, reff=radius, rhop=rhop, __RC__) + rh, reff=radius, rUp=rUp, rhop=rhop, __RC__) ! Settling velocity of the wet particle do k = klid, km do j = j1, j2 @@ -1570,8 +1570,11 @@ subroutine Chem_SettlingSimple ( km, klid, mie, bin, cdt, grav, & end do end do +! Maring 2003 (https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2002JD002536) indicates that a correction is needed for dust particles with a diameter of 7.3 microns if(present(correctionMaring)) then - if (correctionMaring) then + if (correctionMaring .and. rUp(1,1,1)*1e6 >= 3.65) then + !if (correctionMaring) then + print *, "Maring correction applied for bin ", bin, " and radius ", rUp(1,1,1)*1e6 vsettle = max(1.0e-9, vsettle - v_upwardMaring) endif endif @@ -2030,7 +2033,7 @@ subroutine SettlingSolverUFS(i1, i2, j1, j2, km, cdt, delp, dz, vs, qa) if (dt_cfl >= cdt) then ! no need for time sub-splitting - nSubSteps = 0 + nSubSteps = 1 dt = cdt else nSubSteps = max(1, ceiling(cdt / dt_cfl)) @@ -4372,10 +4375,11 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & wavelengths_profile, wavelengths_vertint, aerosol, & grav, tmpu, rhoa, rh, u, v, delp, ple,tropp, & sfcmass, colmass, mass, exttau, stexttau, scatau, stscatau,& + sfcmass25, sfcmass25aerodyn, sfcmass25aerodynRH35, colmass25, mass25, mass1, exttau25, scatau25, & sfcmass25, colmass25, mass25, mass1, exttau25, scatau25, & fluxu, fluxv, conc, extcoef, scacoef, bckcoef,& exttaufm, scataufm, angstrom, aerindx, NO3nFlag, & - sarea, reff, rc ) + sarea, reff, BinFracFlag, shapefactor, rc ) ! !USES: @@ -4400,6 +4404,8 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & real, pointer, dimension(:,:,:), intent(in) :: ple ! level edge air pressure [Pa] real, pointer, dimension(:,:), intent(in) :: tropp ! tropopause pressure [Pa] logical, optional, intent(in) :: NO3nFlag + logical, optional, intent(in) :: BinFracFlag + real, optional, intent(in) :: shapefactor ! used to convert geometric to aerodynamic ! !OUTPUT PARAMETERS: ! Total mass @@ -4413,6 +4419,8 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & real, optional, dimension(:,:,:), intent(inout) :: scatau ! sct. AOT at 550 nm real, optional, dimension(:,:,:), intent(inout) :: stscatau ! stratospheric sct. AOT at 550 nm real, optional, dimension(:,:), intent(inout) :: sfcmass25 ! sfc mass concentration kg/m3 (pm2.5) + real, optional, dimension(:,:), intent(inout) :: sfcmass25aerodyn ! sfc mass concentration kg/m3 computed with an aerodynamic diameter (pm2.5) + real, optional, dimension(:,:), intent(inout) :: sfcmass25aerodynRH35 ! sfc mass concentration kg/m3 computed with aerodynamic diameter at ambient RH, water removed for RH>35% (pm2.5) real, optional, dimension(:,:), intent(inout) :: colmass25 ! col mass density kg/m2 (pm2.5) real, optional, dimension(:,:,:), intent(inout) :: mass25 ! 3d mass mixing ratio kg/kg (pm2.5) real, optional, dimension(:,:,:), intent(inout) :: mass1 ! 3d mass mixing ratio kg/kg (pm1) @@ -4440,6 +4448,7 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & ! 16APR2004, Colarco ! 11MAR2010, Nowottnick ! 11AUG2020, E.Sherman - refactored to work for multiple aerosols +! 22SEP2026, Collow - added aerodynamic PM2.5, PM2.5 using radius from optics files, and fine column mass ! !Local Variables character(len=*), parameter :: myname = 'Aero_Compute_Diags' @@ -4447,13 +4456,26 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & integer :: i1 =1, i2, j1=1, j2 integer :: ilam470, ilam870 real, allocatable, dimension(:,:,:) :: tau, ssa, bck, area, tarea, pref, pref0 -! real :: fPMfm(nbins) ! fraction of bin with particles diameter < 1.0 um -! real :: fPM25(nbins) ! fraction of bin with particles diameter < 2.5 um real, dimension(:), allocatable :: fPMfm ! fraction of bin with particles diameter < 1.0 um - real, dimension(:), allocatable :: fPM25 ! fraction of bin with particles diameter < 2.5 um + real, dimension(:), allocatable :: fPM25 ! fraction of bin with particles geometric diameter < 2.5 um + real, dimension(:), allocatable :: fPM25aerodyn ! fraction of bin with particles aerodynamic diameter < 2.5 um logical :: do_angstrom real, dimension(:,:), allocatable :: tau470, tau870 logical :: NO3nFlag_ !local version of the input + logical :: BinFracFlag_ !local version of the input + real, dimension(:), allocatable :: local_rUp, local_rLow, local_rhop, rUpaerodyn, rLowaerodyn + real, dimension(1) :: RH0, temp_rUp, temp_rLow, temp_rhop, dummy_mass + real, parameter :: RH_THRESHOLD = 0.35 ! 35% RH threshold + real, parameter :: RHOW = 997.0 ! water density kg m-3 + real, dimension(:,:,:), allocatable :: rEff_wet, rEff_dry, rEff_35rh + real, dimension(:,:), allocatable :: growthfactor_ambient, growthfactor_35rh + real, dimension(:,:), allocatable :: waterfactor_excess + real, dimension(:,:,:), allocatable :: rh_35 + real, dimension(:,:,:), allocatable :: rLow_wet, rUp_wet + real, dimension(:), allocatable :: fPM25aerodyn_wet_1d + real, dimension(:), allocatable :: rLow_wet_aerodyn, rUp_wet_aerodyn + real :: rhod_local + integer :: ij, npts !EOP !------------------------------------------------------------------------- @@ -4464,6 +4486,11 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & else NO3nFlag_ = .false. end if + if( present(BinFracFlag) ) then + BinFracFlag_ = BinFracFlag + else + BinFracFlag_ = .false. + end if ! Initialize local variables ! -------------------------- @@ -4471,6 +4498,8 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & j2 = size(rhoa,2) allocate(fPMfm(nbins),source=0.0) allocate(fPM25(nbins),source=0.0) + allocate(fPM25aerodyn(nbins),source=0.0) + allocate(local_rUp(nbins), local_rLow(nbins), local_rhop(nbins), rUpaerodyn(nbins), rLowaerodyn(nbins), source=0.0) ! Get the wavelength indices ! -------------------------- @@ -4496,11 +4525,54 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & end if end if -! Compute the fine mode (sub-micron) and PM2.5 bin-wise fractions -! ------------------------------------ - if (present(rlow) .and. present(rup)) then - call Aero_Binwise_PM_Fractions(fPMfm, 0.50, rlow, rup, nbins) ! 2*r < 1.0 um - call Aero_Binwise_PM_Fractions(fPM25, 1.25, rlow, rup, nbins) ! 2*r < 2.5 um + +! Get rUp and rLow if needed + RH0(1)=0.0 + dummy_mass(1)=1.0e-12 + + ! Query into the specific bin index of our local arrays + do n = nbegin, nbins + temp_rUp(1) = 1.0 + temp_rLow(1) = 0.0 + temp_rhop(1) = 1000.0 + call mie%Query(550e-9, n, & + dummy_mass, & + RH0, rUp=temp_rUp, rLow=temp_rLow, rhop=temp_rhop, __RC__) + + local_rUp(n) = temp_rUp(1) + local_rLow(n) = temp_rLow(1) + local_rhop(n) = temp_rhop(1) + end do + + if( BinFracFlag_ ) then + ! Compute the fine mode (sub-micron) and PM2.5 bin-wise fractions if needed + ! This is not needed for species with dry diameters smaller than the threshold + ! because the species PM2.5 diag is not written out and *SMASS is used for the + ! total PM2.5 calculation + ! units for radius must be converted to microns + call Aero_Binwise_PM_Fractions(fPMfm, 0.50, local_rLow * 1e6, local_rUp * 1e6, nbins) ! 2*r < 1.0 um + call Aero_Binwise_PM_Fractions(fPM25, 1.25, local_rLow * 1e6, local_rUp * 1e6, nbins) ! 2*r < 2.5 um + + ! Compute aerodynamic diameter for each bin + do n = nbegin, nbins + if (present(shapefactor)) then + ! Ensure shapefactor is strictly > 0.0 to prevent Div by Zero + if (shapefactor > 1.0e-12 .and. local_rhop(n) > 1.0e-12) then + rUpaerodyn(n) = local_rUp(n) * SQRT(local_rhop(n)*0.001/shapefactor) + rLowaerodyn(n) = local_rLow(n) * SQRT(local_rhop(n)*0.001/shapefactor) + else + rUpaerodyn(n) = local_rUp(n) + rLowaerodyn(n) = local_rLow(n) + end if + else + ! Fallback if shapefactor isn't passed + rUpaerodyn(n) = local_rUp(n) + rLowaerodyn(n) = local_rLow(n) + end if + end do + + ! Now calculate PM2.5 aerodynamic fractions with the computed aerodynamic radii + call Aero_Binwise_PM_Fractions(fPM25aerodyn, 1.25, rLowaerodyn * 1e6, rUpaerodyn * 1e6, nbins) end if if (present(aerindx)) aerindx = 0.0 ! for now @@ -4516,6 +4588,9 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & + aerosol(i1:i2,j1:j2,km,n)*rhoa(i1:i2,j1:j2,km) end do endif + + +! Calculate PM2.5 surface mass concentration (geometric diameter) if( present(sfcmass25) ) then sfcmass25(i1:i2,j1:j2) = 0. do n = nbegin, nbins @@ -4524,7 +4599,176 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & + aerosol(i1:i2,j1:j2,km,n)*rhoa(i1:i2,j1:j2,km)*fPM25(n) end do endif - + +! Calculate PM2.5 surface mass concentration (aerodynamic diameter) + if( present(sfcmass25aerodyn) ) then + sfcmass25aerodyn(i1:i2,j1:j2) = 0. + do n = nbegin, nbins + sfcmass25aerodyn(i1:i2,j1:j2) & + = sfcmass25aerodyn(i1:i2,j1:j2) & + + aerosol(i1:i2,j1:j2,km,n)*rhoa(i1:i2,j1:j2,km)*fPM25aerodyn(n) + end do + endif + +! Calculate PM2.5 aerodynamic diameter at 35% RH (water removed for RH>35%) + if( present(sfcmass25aerodynRH35) ) then + ! Allocate working arrays - need 3D arrays for mie%Query + allocate(rEff_wet(i1:i2,j1:j2,1), __STAT__) + allocate(rEff_dry(i1:i2,j1:j2,1), __STAT__) + allocate(rEff_35rh(i1:i2,j1:j2,1), __STAT__) + allocate(growthfactor_ambient(i1:i2,j1:j2), __STAT__) + allocate(growthfactor_35rh(i1:i2,j1:j2), __STAT__) + allocate(waterfactor_excess(i1:i2,j1:j2), __STAT__) + allocate(rh_35(i1:i2,j1:j2,1), __STAT__) + allocate(rLow_wet(i1:i2,j1:j2,1), __STAT__) + allocate(rUp_wet(i1:i2,j1:j2,1), __STAT__) + + sfcmass25aerodynRH35(i1:i2,j1:j2) = 0. + + ! Number of spatial points + npts = (i2-i1+1) * (j2-j1+1) + + do n = nbegin, nbins + ! Get particle density + rhod_local = local_rhop(n) ! from earlier calculation + + ! Default initializations to prevent NaNs if mie%Query bypasses population + rEff_wet = 1.0 + rEff_dry = 1.0 + rEff_35rh = 1.0 + + ! Get wet effective radius at ambient RH + call mie%Query(550e-9, n, & + aerosol(i1:i2,j1:j2,km:km,n)*delp(i1:i2,j1:j2,km:km)/grav, & + rh(i1:i2,j1:j2,km:km), rEff=rEff_wet, __RC__) + + ! Get dry effective radius at 0% RH + rh_35(:,:,1) = 0.0 + call mie%Query(550e-9, n, & + aerosol(i1:i2,j1:j2,km:km,n)*delp(i1:i2,j1:j2,km:km)/grav, & + rh_35, rEff=rEff_dry, __RC__) + + ! Get effective radius at 35% RH + rh_35(:,:,1) = RH_THRESHOLD + call mie%Query(550e-9, n, & + aerosol(i1:i2,j1:j2,km:km,n)*delp(i1:i2,j1:j2,km:km)/grav, & + rh_35, rEff=rEff_35rh, __RC__) + + ! Calculate hygroscopic growth factor at ambient RH (mass_wet/mass_dry) + ! Safely check against zero denominators + do j = j1, j2 + do i = i1, i2 + if (rEff_dry(i,j,1) > 1.0e-12 .and. rhod_local > 1.0e-12) then + growthfactor_ambient(i,j) = 1.0 + & + (((rEff_wet(i,j,1) / rEff_dry(i,j,1))**3 - 1.0) * & + (RHOW / rhod_local)) + growthfactor_35rh(i,j) = 1.0 + & + (((rEff_35rh(i,j,1) / rEff_dry(i,j,1))**3 - 1.0) * & + (RHOW / rhod_local)) + else + growthfactor_ambient(i,j) = 1.0 + growthfactor_35rh(i,j) = 1.0 + end if + end do + end do + + ! Calculate the fraction of EXCESS water (water above 35% RH) + ! This is: (mass_ambient - mass_35rh) / mass_ambient + do j = j1, j2 + do i = i1, i2 + if (rh(i,j,km) > RH_THRESHOLD .and. growthfactor_ambient(i,j) > 1.0e-12) then + waterfactor_excess(i,j) = & + (growthfactor_ambient(i,j) - growthfactor_35rh(i,j)) / & + growthfactor_ambient(i,j) + ! Ensure value remains bounded >= 0 + waterfactor_excess(i,j) = max(0.0, waterfactor_excess(i,j)) + else + waterfactor_excess(i,j) = 0.0 + end if + end do + end do + + ! Calculate fPM25 for aerodynamic diameter at ambient humidity + if( BinFracFlag_ ) then + ! Seed rUp/rLow incase mie%Query bypasses them + rUp_wet = 1.0 + rLow_wet = 0.0 + + ! Get wet bin boundaries at ambient RH + call mie%Query(550e-9, n, & + aerosol(i1:i2,j1:j2,km:km,n)*delp(i1:i2,j1:j2,km:km)/grav, & + rh(i1:i2,j1:j2,km:km), rUp=rUp_wet, rLow=rLow_wet, __RC__) + + ! Allocate arrays for aerodynamic radii + allocate(rLow_wet_aerodyn(npts), __STAT__) + allocate(rUp_wet_aerodyn(npts), __STAT__) + allocate(fPM25aerodyn_wet_1d(npts), __STAT__) + + rLow_wet_aerodyn = 0.0 + rUp_wet_aerodyn = 1.0 + fPM25aerodyn_wet_1d = 0.0 + + ! Calculate wet aerodynamic radii + ij = 0 + do j = j1, j2 + do i = i1, i2 + ij = ij + 1 + if (present(shapefactor)) then + if (shapefactor > 1.0e-12 .and. rhod_local > 1.0e-12) then + rLow_wet_aerodyn(ij) = rLow_wet(i,j,1) * 1.0e6 * & + SQRT(rhod_local * 0.001 / shapefactor) + rUp_wet_aerodyn(ij) = rUp_wet(i,j,1) * 1.0e6 * & + SQRT(rhod_local * 0.001 / shapefactor) + else + rLow_wet_aerodyn(ij) = rLow_wet(i,j,1) * 1.0e6 + rUp_wet_aerodyn(ij) = rUp_wet(i,j,1) * 1.0e6 + end if + else + rLow_wet_aerodyn(ij) = rLow_wet(i,j,1) * 1.0e6 + rUp_wet_aerodyn(ij) = rUp_wet(i,j,1) * 1.0e6 + end if + end do + end do + + ! Call Aero_Binwise_PM_Fractions to calculate PM2.5 fraction + call Aero_Binwise_PM_Fractions(fPM25aerodyn_wet_1d, 1.25, & + rLow_wet_aerodyn, rUp_wet_aerodyn, npts) + + ! Reshape back to 2D and add PM2.5 mass + ij = 0 + do j = j1, j2 + do i = i1, i2 + ij = ij + 1 + sfcmass25aerodynRH35(i,j) = & + sfcmass25aerodynRH35(i,j) + & + aerosol(i,j,km,n) * rhoa(i,j,km) * & + fPM25aerodyn_wet_1d(ij) * growthfactor_ambient(i,j) * & + (1.0 - waterfactor_excess(i,j)) + end do + end do + + deallocate(rLow_wet_aerodyn, rUp_wet_aerodyn, fPM25aerodyn_wet_1d) + + else + ! If BinFracFlag is false, fPM25aerodyn_wet = 1.0 + do j = j1, j2 + do i = i1, i2 + sfcmass25aerodynRH35(i,j) = & + sfcmass25aerodynRH35(i,j) + & + aerosol(i,j,km,n) * rhoa(i,j,km) * & + 1.0 * growthfactor_ambient(i,j) * & + (1.0 - waterfactor_excess(i,j)) + end do + end do + end if + + end do + + ! Deallocate working arrays + deallocate(rEff_wet, rEff_dry, rEff_35rh, growthfactor_ambient, growthfactor_35rh, waterfactor_excess, rh_35, rLow_wet, rUp_wet) + + endif + ! Calculate the aerosol column loading if( present(colmass) ) then colmass(i1:i2,j1:j2) = 0. @@ -4581,7 +4825,8 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & = mass1(i1:i2,j1:j2,1:km) & + aerosol(i1:i2,j1:j2,1:km,n)*fPMfm(n) end do - endif + endif + ! Calculate the column mass flux in x direction if( present(fluxu) ) then @@ -4795,6 +5040,7 @@ subroutine Aero_Compute_Diags (mie, km, klid, nbegin, nbins, rlow, rup, & __RETURN__(__SUCCESS__) end subroutine Aero_Compute_Diags + !==================================================================== !BOP @@ -4811,10 +5057,10 @@ subroutine Aero_Binwise_PM_Fractions(fPM, rPM, r_low, r_up, nbins) real, dimension(:), intent(inout) :: fPM ! bin-wise PM fraction (r < rPM) ! !INPUT PARAMETERS: - real, intent(in) :: rPM ! PM radius + real, intent(in) :: rPM ! PM radius in microns integer, intent(in) :: nbins ! number of bins - real, dimension(:), intent(in) :: r_low ! bin radii - low bounds - real, dimension(:), intent(in) :: r_up ! bin radii - upper bounds + real, dimension(:), intent(in) :: r_low ! bin radii - low bounds in microns + real, dimension(:), intent(in) :: r_up ! bin radii - upper bounds in microns ! !Local Variables @@ -4837,7 +5083,6 @@ subroutine Aero_Binwise_PM_Fractions(fPM, rPM, r_low, r_up, nbins) endif endif enddo - end subroutine Aero_Binwise_PM_Fractions !====================================================================================== @@ -7966,7 +8211,7 @@ subroutine SU_Compute_Diags ( km, klid, rhop, grav, pi, nSO4, mie, & so2sfcmass, so2colmass, & so4sfcmass, so4colmass, & exttau, stexttau,scatau, stscatau,so4mass, so4conc, extcoef, & - scacoef, bckcoef, angstrom, fluxu, fluxv, sarea, snum, reff, rc ) + scacoef, bckcoef, angstrom, fluxu, fluxv, sarea, snum, reff, so4sfcmass25RH35,rc ) ! !USES: implicit NONE @@ -8018,6 +8263,7 @@ subroutine SU_Compute_Diags ( km, klid, rhop, grav, pi, nSO4, mie, & real, optional, dimension(:,:,:), intent(inout) :: sarea ! Sulfate surface area density [m2 m-3] real, optional, dimension(:,:,:), intent(inout) :: snum ! Sulfate number density [# m-2] real, optional, dimension(:,:,:), intent(inout) :: reff ! Sulfate effective radius [m] + real, optional, dimension(:,:), intent(inout) :: so4sfcmass25RH35 ! sfc mass concentration kg/m3 (pm2.5 at 35% RH) integer, optional, intent(out) :: rc ! Error return code: ! 0 - all is well ! 1 - @@ -8037,6 +8283,12 @@ subroutine SU_Compute_Diags ( km, klid, rhop, grav, pi, nSO4, mie, & integer :: ilam470, ilam870 logical :: do_angstrom real :: rh_, gf, rwet, svol + real, parameter :: RH_THRESHOLD = 0.35 ! 35% RH threshold + real, parameter :: RHOW = 997.0 ! water density kg m-3 + real, dimension(:,:,:), allocatable :: rEff_wet_sfc, rEff_dry_sfc, rEff_35rh_sfc + real, dimension(:,:), allocatable :: growthfactor_ambient_sfc, growthfactor_35rh_sfc + real, dimension(:,:), allocatable :: waterfactor_excess_sfc + real, dimension(:,:,:), allocatable :: rh_35_sfc !EOP @@ -8286,6 +8538,74 @@ subroutine SU_Compute_Diags ( km, klid, rhop, grav, pi, nSO4, mie, & reff=reff, __RC__) endif +! Calculate PM2.5 surface mass at 35% RH (sulfate with excess water removed for RH>35%) +! Note: Sulfate particles do not swell larger than 2.5 microns, so all sulfate +! is PM2.5 and we don't need aerodynamic diameter or bin fraction calculations + if( present(so4sfcmass25RH35) ) then + + ! Allocate working arrays - need 3D arrays for mie%Query + allocate(rEff_wet_sfc(i1:i2,j1:j2,1), __STAT__) + allocate(rEff_dry_sfc(i1:i2,j1:j2,1), __STAT__) + allocate(rEff_35rh_sfc(i1:i2,j1:j2,1), __STAT__) + allocate(growthfactor_ambient_sfc(i1:i2,j1:j2), __STAT__) + allocate(growthfactor_35rh_sfc(i1:i2,j1:j2), __STAT__) + allocate(waterfactor_excess_sfc(i1:i2,j1:j2), __STAT__) + allocate(rh_35_sfc(i1:i2,j1:j2,1), __STAT__) + + ! Get wet effective radius at ambient RH (surface level only) + call mie%Query(550e-9, 1, & + SO4(i1:i2,j1:j2,km:km)*delp(i1:i2,j1:j2,km:km)/grav, & + rh(i1:i2,j1:j2,km:km), & + rEff=rEff_wet_sfc, __RC__) + + ! Get dry effective radius at 0% RH + rh_35_sfc(:,:,1) = 0.0 + call mie%Query(550e-9, 1, & + SO4(i1:i2,j1:j2,km:km)*delp(i1:i2,j1:j2,km:km)/grav, & + rh_35_sfc, & + rEff=rEff_dry_sfc, __RC__) + + ! Get effective radius at 35% RH + rh_35_sfc(:,:,1) = RH_THRESHOLD + call mie%Query(550e-9, 1, & + SO4(i1:i2,j1:j2,km:km)*delp(i1:i2,j1:j2,km:km)/grav, & + rh_35_sfc, & + rEff=rEff_35rh_sfc, __RC__) + + ! Calculate hygroscopic growth factor at ambient RH (mass_wet/mass_dry) + ! Extract from 3D to 2D arrays + growthfactor_ambient_sfc(i1:i2,j1:j2) = 1.0 + & + (((rEff_wet_sfc(i1:i2,j1:j2,1) / rEff_dry_sfc(i1:i2,j1:j2,1))**3 - 1.0) * & + (RHOW / rhop)) + + ! Calculate hygroscopic growth factor at 35% RH (mass_at_35rh/mass_dry) + growthfactor_35rh_sfc(i1:i2,j1:j2) = 1.0 + & + (((rEff_35rh_sfc(i1:i2,j1:j2,1) / rEff_dry_sfc(i1:i2,j1:j2,1))**3 - 1.0) * & + (RHOW / rhop)) + + ! Calculate the fraction of EXCESS water (water above 35% RH) + where (rh(i1:i2,j1:j2,km) > RH_THRESHOLD) + waterfactor_excess_sfc(i1:i2,j1:j2) = & + (growthfactor_ambient_sfc(i1:i2,j1:j2) - growthfactor_35rh_sfc(i1:i2,j1:j2)) / & + growthfactor_ambient_sfc(i1:i2,j1:j2) + elsewhere + waterfactor_excess_sfc(i1:i2,j1:j2) = 0.0 + end where + + ! Calculate surface mass concentration at 35% RH + so4sfcmass25RH35(i1:i2,j1:j2) = 0. + so4sfcmass25RH35(i1:i2,j1:j2) = & + SO4(i1:i2,j1:j2,km) * rhoa(i1:i2,j1:j2,km) * & + growthfactor_ambient_sfc(i1:i2,j1:j2) * & + (1.0 - waterfactor_excess_sfc(i1:i2,j1:j2)) + + ! Deallocate working arrays + deallocate(rEff_wet_sfc, rEff_dry_sfc, rEff_35rh_sfc) + deallocate(growthfactor_ambient_sfc, growthfactor_35rh_sfc) + deallocate(waterfactor_excess_sfc, rh_35_sfc) + + endif + ! To implement if desired: if(present(snum)) then @@ -8334,7 +8654,7 @@ subroutine SulfateChemDriver (km, klid, cdt, PI, radToDeg, von_karman, & real, dimension(:,:), intent(in) :: latRad ! model grid lat [radians] real, dimension(:,:,:), intent(inout) :: dms ! dimethyl sulfide [kg/kg] real, dimension(:,:,:), intent(inout) :: so2 ! sulfer dioxide [kg/kg] - real, dimension(:,:,:), intent(inout) :: so4 ! sulfate aerosol [kg/kg] + real, dimension(:,:,:), intent(inout) :: so4 ! sulfate sol [kg/kg] real, pointer, dimension(:,:,:), intent(inout) :: msa ! methanesulphonic acid [kg/kg] integer, intent(in) :: nDMS, nSO2, nSO4, nMSA ! index position of sulfates real, dimension(:,:,:), intent(in) :: delp ! pressure thickness [Pa] diff --git a/Process_Library/MieQuery.H b/Process_Library/MieQuery.H index 3207f742..32421c73 100644 --- a/Process_Library/MieQuery.H +++ b/Process_Library/MieQuery.H @@ -29,7 +29,7 @@ subroutine SUBCHANNEL_ ( this, channel , bin, q_mass, rh, & tau, ssa, gasym, bext, bsca, bbck, & - reff, pmom, p11, p22, gf, rhop, rhod, & + reff, rUp, rLow, pmom, p11, p22, gf, rhop, rhod, & vol, area, refr, refi, rc ) ! !INPUT PARAMETERS: @@ -49,6 +49,8 @@ real, optional, intent(out) :: bsca (__DIMS__) ! mass scattering efficiency [m2 (kg dry mass)-1] real, optional, intent(out) :: bbck (__DIMS__) ! mass backscatter efficiency [m2 (kg dry mass)-1] real, optional, intent(out) :: reff (__DIMS__) ! effective radius (micron) + real, optional, intent(out) :: rLow (__DIMS__) ! radius lower bound (micron) + real, optional, intent(out) :: rUp (__DIMS__) ! radius upper bound (micron) real, optional, intent(out) :: pmom (:,:,__DIMS__) ! moments of phase function real, optional, intent(out) :: p11 (__DIMS__) ! P11 phase function at backscatter real, optional, intent(out) :: p22 (__DIMS__) ! P22 phase function at backscatter @@ -118,6 +120,14 @@ rEff = __RHINTERP2__(this%rEff, irh, arh, bin, rEff) endif + if(present(rUp)) then + rUp = __RHINTERP2__(this%rUp, irh, arh, bin, rUp) + endif + + if(present(rLow)) then + rLow = __RHINTERP2__(this%rLow, irh, arh, bin, rLow) + endif + if(present(rhop)) then rhop = __RHINTERP2__(this%rhop, irh, arh, bin, rhop) endif @@ -185,7 +195,7 @@ subroutine SUBWAVELENGTH_ ( this, wavelength, bin, q_mass, rh, & tau, ssa, gasym, bext, bsca, bbck, & - reff, pmom, p11, p22, gf, rhop, rhod, & + reff, rUp, rLow, pmom, p11, p22, gf, rhop, rhod, & vol, area, refr, refi, rc ) ! !INPUT PARAMETERS: @@ -205,6 +215,8 @@ real, optional, intent(out) :: bsca (__DIMS__) ! mass scattering efficiency [m2 (kg dry mass)-1] real, optional, intent(out) :: bbck (__DIMS__) ! mass backscatter efficiency [m2 (kg dry mass)-1] real, optional, intent(out) :: reff (__DIMS__) ! effective radius (micron) + real, optional, intent(out) :: rUp (__DIMS__) ! radius upper bound (micron) + real, optional, intent(out) :: rLow (__DIMS__) ! radius lower bound (micron) real, optional, intent(out) :: pmom (:,:,__DIMS__) ! moments of phase function real, optional, intent(out) :: p11 (__DIMS__) ! P11 phase function at backscatter real, optional, intent(out) :: p22 (__DIMS__) ! P22 phase function at backscatter @@ -248,7 +260,7 @@ call this%Query(channel, bin, q_mass, rh, & tau, ssa, gasym, bext, bsca, bbck, & - reff, pmom, p11, p22, gf, rhop, rhod, & + reff, rUp, rLow, pmom, p11, p22, gf, rhop, rhod, & vol, area, refr, refi, rc ) end subroutine SUBWAVELENGTH_