Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handmerge feature/pcolarco/#1-gocart2g-updates into develop #68

Merged
Merged
Show file tree
Hide file tree
Changes from 71 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
1467930
Not checking rc for NIthermo. Temporary work around for bad rc value …
gmao-esherman Mar 9, 2021
788fde0
added monochromatic_aerosol_optics call back for GAAS refactor
gmao-esherman Mar 9, 2021
5444475
added callback get_mixR, and cleaned up some .rc files
gmao-esherman Mar 26, 2021
e1b0fc5
fixes diagnostic mie table bug
gmao-esherman Apr 5, 2021
179223d
removed .swp file
gmao-esherman Apr 5, 2021
0bd2568
removed prints in NI. Fixed RC bug in RPMARES.
gmao-esherman Apr 6, 2021
df755e7
removed diagnostic print statements
gmao-esherman Apr 6, 2021
4e32c3e
deleted i,j declaration. fixed
gmao-esherman Apr 6, 2021
66848e9
Merge branch 'develop' into feature/esherman/gocart2g_develop_v2
gmao-esherman Apr 7, 2021
c4084be
Update CHANGELOG.md
gmao-esherman Apr 7, 2021
14b4059
Update NI_GridCompMod.F90
gmao-esherman Apr 7, 2021
002fb9e
chagned BOh to BOP
gmao-esherman Apr 7, 2021
8bbfac6
removed more prints
gmao-esherman Apr 7, 2021
f46dedd
fixed misspelled word. zero-diff change
gmao-esherman Apr 9, 2021
a4b0b02
fixed bug in get_mixR for CA2G_GridComp.
gmao-esherman Apr 9, 2021
2e7d9ce
generalized the get_mixR callback. It's now called get_mixRatioSum an…
gmao-esherman Apr 9, 2021
afa5af6
New Phys for Dust and Carbons.
gmao-esherman Apr 19, 2021
7dfc688
Fixed K14 dust emissions bug
gmao-esherman Apr 20, 2021
0ce4dfe
added updated dust rc files to other emissions scenarios
gmao-esherman Apr 21, 2021
6a84f34
Updated Chem_Settling, SU, and NI to latest physics
gmao-esherman Apr 23, 2021
d6e5a73
updated coefficient
gmao-esherman Apr 23, 2021
7b4e11b
Merged AERO_ACI conents into AERO
gmao-esherman Apr 26, 2021
177d74a
removed last AERO_ACI stuff
gmao-esherman Apr 26, 2021
f46dd9d
added Chem_SettlingSimple
gmao-esherman Apr 27, 2021
2b5019d
removed .GOCART2G_Process.F90.swp
gmao-esherman Apr 27, 2021
cd768f0
Updated wavelength parameters in GOCART2G_GridComp.rc
gmao-esherman Apr 27, 2021
21aed0d
updated DU2G_GridComp/DU2G_GridComp_DU.rc parameter values
gmao-esherman Apr 27, 2021
fe40610
Removed print statements
gmao-esherman Apr 28, 2021
8d9ed2a
removed print
gmao-esherman Apr 28, 2021
62ee381
Update GOCART2G_GridComp.rc
gmao-esherman Apr 30, 2021
ba20d73
Update CA2G_GridComp_CA.br.rc
gmao-esherman Apr 30, 2021
7ae1d99
updated all aerosol rc files in subdirectories
gmao-esherman Apr 30, 2021
a20061d
Renamed aerosol *.rc files. Fixed bug in GAAS
gmao-esherman May 4, 2021
18152ca
updated NH3 Henrys law scavenging parameter
gmao-esherman May 4, 2021
5636352
Renamed GA_GridComp to GA_Environment. Zero-diff change
gmao-esherman May 5, 2021
c292d48
This script will generate GOCART2G restarts from a Legacy GOCART restart
gmao-esherman May 6, 2021
d66f9e6
updated formatting for user prompts
gmao-esherman May 6, 2021
e1f4bb5
removed numpy
gmao-esherman May 7, 2021
075b423
CA components now will skip reading point emissions file if it does n…
gmao-esherman May 12, 2021
bf292ab
Dust point emissions will skip file if it does not exist
gmao-esherman May 12, 2021
e69e70f
fixed memory leak
gmao-esherman May 18, 2021
ab1598a
Fixed CA.xx.data bug
gmao-esherman May 19, 2021
2025ccc
fixed a zero-diff bug with TOTEXTTAU
gmao-esherman May 26, 2021
0667141
changed parameter values
gmao-esherman Jun 8, 2021
5c5de06
fixes pom_brc_ratio bug
gmao-esherman Jun 9, 2021
c05a042
update CA pom_ca_ratio implementation
gmao-esherman Jun 11, 2021
ca00725
modified CAPSOA for OC
gmao-esherman Jun 15, 2021
0cd8463
fixed alarm bug with replay
gmao-esherman Jun 23, 2021
be72507
added back in the point emission fix if no file is present
gmao-esherman Jun 23, 2021
76c5a84
Added fix for point emissions. Added fix so H2O2 isn't recycled twice…
gmao-esherman Jun 24, 2021
d74d396
removed GMI parms from SU2G. Fixed cdt bug in OC
gmao-esherman Jun 28, 2021
bf16a9b
fixed bug with kan1, kan2, kan3 for seasalts
gmao-esherman Jun 28, 2021
9371c8f
prc: incorporate Sampa stratospheric AOD, StratChem->GOCART2G coupling
pcolarco Jul 30, 2021
ca1a9ca
Merge branch 'develop' into feature/pcolarco/#1-gocart2g-updates
mathomp4 Aug 4, 2021
730dea5
Fix up Dust merge
mathomp4 Aug 4, 2021
047186d
Fix missed conflict
mathomp4 Aug 4, 2021
7b51518
Remove unneeded print
mathomp4 Aug 4, 2021
f57132a
Fix up Dust merge again
mathomp4 Aug 4, 2021
4d02294
Remove unneeded print 2
mathomp4 Aug 4, 2021
9579732
Clarify Variable
mathomp4 Aug 4, 2021
c3ec76f
More cleanup
mathomp4 Aug 4, 2021
bc7e73b
Fix up DU2G_StateSpecs.rc
mathomp4 Aug 4, 2021
34754b6
Fix up case indentation
mathomp4 Aug 4, 2021
688418f
Move call to match Pete
mathomp4 Aug 4, 2021
e25370d
Make states to match Pete
mathomp4 Aug 4, 2021
e6af954
Remove unneeded enumerator
mathomp4 Aug 4, 2021
d9420d8
Restore CF names
mathomp4 Aug 4, 2021
e0fedfc
Fix up dust emission_scheme
mathomp4 Aug 4, 2021
d927048
Fix dup states
mathomp4 Aug 4, 2021
0580b92
Fix getpointer
mathomp4 Aug 4, 2021
c66c311
Rename sub-directory aerosol rc files to instance
mathomp4 Aug 4, 2021
28e5589
Add schemes
mathomp4 Aug 5, 2021
c317d89
Add back print and check in SetServices
mathomp4 Aug 5, 2021
4b18dde
You can't have multi-line asserts with GNU
mathomp4 Aug 5, 2021
ae6ae43
Bring over FENGSHA settings
mathomp4 Aug 5, 2021
58af774
Add more scheme-specific blocks and statespecs
mathomp4 Aug 6, 2021
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Added callbacks needed for GAAS2G. Removed diagnostic prints statements. Fixed bug with
the creation of Diagnostic Mie tables.

- Updated `CODEOWNERS` to reflect changes in staffing
- Updated `components.yaml`
- Added fixture block
Expand Down
1 change: 1 addition & 0 deletions ESMF/Aerosol_GridComp/Aerosol_StateSpecs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ category: IMPORT
#FRLAKE | 1 | xy | N | | fraction_of_lake
#WET1 | 1 | xy | N | | surface_soil_wetness
#LWI | 1 | xy | N | | land-ocean-ice_mask
#TROPP | Pa | xy | N | | tropopause_pressure_based_on_blended_estimate
#U10M | m s-1 | xy | N | | 10-meter_eastward_wind
#V10M | m s-1 | xy | N | | 10-meter_northward_wind
#AREA | m^2 | xy | N | | agrid_cell_area
Expand Down
274 changes: 196 additions & 78 deletions ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_GridCompMod.F90

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ climOCSV002 'kg m-2 s-1' Y N 0 0.0 1.0
# ORGANIC CARBON
# ---------------
# Biomass burning -- QFED-v2.x
OC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none none biomass ExtData/PIESA/sfc/QFED/NRT/v2.5r1_0.1_deg/Y%y4/M%m2/qfed2.emis_oc.006.%y4%m2%d2.nc4

# Terpene emission
OC_TERPENE NA Y Y %y4-%m2-%d2t12:00:00 none none terpene ExtData/PIESA/sfc/geia.terpene_biogenic.x144_y91_t12.1971.nc
OC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none 0.778 biomass /dev/null

# Biofuel Source -- Included in AeroCom anthropogenic emissions
OC_BIOFUEL NA Y Y %y4-%m2-%d2t12:00:00 none none biofuel /dev/null
Expand All @@ -63,7 +60,7 @@ pSOA_ANTHRO_VOC NA Y Y %y4-%m2-%d2t12:00:00 none none biofuel /dev/null
# BLACK CARBON
# ------------
# QFED v2.x
BC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none none biomass ExtData/PIESA/sfc/QFED/NRT/v2.5r1_0.1_deg/Y%y4/M%m2/qfed2.emis_bc.006.%y4%m2%d2.nc4
BC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none 0.778 biomass ExtData/PIESA/sfc/QFED/NRT/v2.5r1_0.1_deg/Y%y4/M%m2/qfed2.emis_bc.006.%y4%m2%d2.nc4

# Biofuel Source -- Included in AeroCom anthropogenic emissions
BC_BIOFUEL NA Y Y %y4-%m2-%d2t12:00:00 none none biofuel /dev/null
Expand All @@ -84,7 +81,7 @@ BC_AVIATION_CRS NA Y Y %y4-%m2-%d2t12:00:00 none none bc_aviation ExtData/PIESA
# BROWN CARBON
# ------------
# Biomass burning -- QFED-v2.x
BRC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none none biomass ExtData/PIESA/sfc/QFED/NRT/v2.5r1_0.1_deg/Y%y4/M%m2/qfed2.emis_oc.006.%y4%m2%d2.nc4
BRC_BIOMASS NA N Y %y4-%m2-%d2t12:00:00 none 0.778 biomass ExtData/PIESA/sfc/QFED/NRT/v2.5r1_0.1_deg/Y%y4/M%m2/qfed2.emis_oc.006.%y4%m2%d2.nc4

# Terpene emission
BRC_TERPENE NA Y Y %y4-%m2-%d2t12:00:00 none none terpene /dev/null
Expand Down
16 changes: 11 additions & 5 deletions ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_StateSpecs.rc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ category: IMPORT
FROCEAN | 1 | xy | N | | fraction_of_ocean
FRACI | 1 | xy | N | | ice_covered_fraction_of_tile
LWI | 1 | xy | N | | land-ocean-ice_mask
TROPP | Pa | xy | N | | tropopause_pressure_based_on_blended_estimate
U10M | m s-1 | xy | N | | 10-meter_eastward_wind
V10M | m s-1 | xy | N | | 10-meter_northward_wind
USTAR | m s-1 | xy | N | | surface_velocity_scale
Expand All @@ -35,7 +36,10 @@ category: IMPORT
pSOA_BIOB_VOC | kg m-3 s-1 | xyz | C | | SOA from Anthropogenic and biomass burning VOC
#........................................................................................
OC_BIOMASS | 1 | xy | N | | biomass burning emissions
OC_TERPENE | 1 | xy | N | | terpene emissions
OC_ISOPRENE | 1 | xy | N | | source species
OC_MTPA | 1 | xy | N | | source species
OC_MTPO | 1 | xy | N | | source species
OC_LIMO | 1 | xy | N | | source species
OC_BIOFUEL | 1 | xy | N | | biofuel emissions
OC_ANTEOC1 | 1 | xy | N | | anthropogenic BF emissions
OC_ANTEOC2 | 1 | xy | N | | anthropogenic FF emissions
Expand Down Expand Up @@ -69,8 +73,8 @@ category: EXPORT
#----------------------------------------------------------------------------------------
CAMASS* | kg kg-1 | xyz | C | | Carbonaceous Aerosol Mass Mixing Ratio
CACONC* | kg m-3 | xyz | C | | Carbonaceous Aerosol Mass Concentration
CAEXTCOEF* | m-1 | xyz | C | size(self%wavelengths_profile) | Carbonaceous Aerosol Extinction Coefficient [550 nm]
CASCACOEF* | m-1 | xyz | C | size(self%wavelengths_profile) | Carbonaceous Aerosol Scattering Coefficient [550 nm]
CAEXTCOEF* | m-1 | xyz | C | size(self%wavelengths_profile) | Carbonaceous Aerosol Extinction Coefficient
CASCACOEF* | m-1 | xyz | C | size(self%wavelengths_profile) | Carbonaceous Aerosol Scattering Coefficient
#...........|............|.....|.....|.......|............................................
CAEM* | kg m-2 s-1 | xy | N | nbins | Carbonaceous Aerosol Emission (Bin %d)
CASD* | kg m-2 s-1 | xy | N | nbins | Carbonaceous Aerosol Sedimentation (Bin %d)
Expand All @@ -85,8 +89,10 @@ category: EXPORT
CAPSOA* | kg m-2 s-1 | xy | N | | Carbonaceous Aerosol SOA Production
CASMASS* | kg m-3 | xy | N | | Carbonaceous Aerosol Surface Mass Concentration
CACMASS* | kg m-2 | xy | N | | Carbonaceous Aerosol Column Mass Density
CAEXTTAU* | 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Extinction AOT [550 nm]
CASCATAU* | 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Scattering AOT [550 nm]
CAEXTTAU* | 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Extinction AOT
CASTEXTTAU*| 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Extinction AOT Stratosphere
CASCATAU* | 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Scattering AOT
CASTSCATAU*| 1 | xy | N | size(self%wavelengths_vertint) | Carbonaceous Aerosol Scattering AOT Stratosphere
CAANGSTR* | 1 | xy | N | | Carbonaceous Aerosol Angstrom parameter [470-870 nm]
CAFLUXU* | kg m-1 s-1 | xy | N | | Carbonaceous Aerosol column u-wind mass flux
CAFLUXV* | kg m-1 s-1 | xy | N | | Carbonaceous Aerosol column v-wind mass flux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Resource file for BR parameters.
#


aerosol_radBands_optics_file: ExtData/MERRA2/x/opticsBands_BRC.v1_5.RRTMG.nc
aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_BRC.v1_5.nc

Expand All @@ -13,7 +12,7 @@ aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3
terpene_emission_fraction: 0.1

# Ratio of POM/BRC -> convert source masses from carbon to POM
pom_brc_ratio: 1.4
pom_ca_ratio: 1.8

# Initially hydrophobic portion
hydrophobic_fraction: 0.5
Expand All @@ -35,9 +34,6 @@ molecular_weight: 0.18 0.18
# Number of particles per kg mass
fnum: 9.76e17 9.76e17

# Number median radius [um]
particle_radius_number: 0.0212 0.0212

# Sigma of lognormal number distribution
sigma: 2.20 2.20

Expand Down
43 changes: 43 additions & 0 deletions ESMF/GOCART2G_GridComp/CA2G_GridComp/CA2G_instance_CA.oc.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Resource file for Organic Carbon parameters.
#

aerosol_radBands_optics_file: ExtData/MERRA2/x/opticsBands_OC.v1_3.RRTMG.nc
aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_OC.v1_3.nc

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3

# Fraction of biogenic VOCs emissions for SOA production
monoterpenes_emission_fraction: 0.05
isoprene_emission_fraction: 0.03

# Ratio of POM/OC -> convert source masses from carbon to POM
pom_ca_ratio: 1.8

# particle radius
particle_radius_microns: 0.35 0.35

rhFlag: 0

# Initially hydrophobic portion
hydrophobic_fraction: 0.5

# Scavenging efficiency per bin [km-1] (NOT USED UNLESS RAS IS CALLED)
fscav: 0.0 0.4

# Dry particle density [kg m-3]
particle_density: 1800 1800

# Molecular weight of species [kg mole-1]
molecular_weight: 0.18 0.18

# Number of particles per kg mass
fnum: 9.76e17 9.76e17

# Sigma of lognormal number distribution
sigma: 2.20 2.20

pressure_lid_in_hPa: 0.01

nbins: 2

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
nbins: 2

aerosol_radBands_optics_file: ExtData/MERRA2/x/opticsBands_BC.v1_3.RRTMG.nc

aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_BC.v1_3.nc
aerosol_monochromatic_optics_wavelength: 4.7e-7 5.5e-7 6.7e-7 8.7e-7 ! units: nm
n_channels: 4

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3
Expand All @@ -20,7 +17,7 @@ hydrophobic_fraction: 0.8
fscav: 0.0 0.4

# Dry particle density [kg m-3]
particle_density: 1000 1000
particle_density: 1800 1800

# Molecular weight of species [kg mole-1]
molecular_weight: 0.18 0.18
Expand All @@ -29,9 +26,10 @@ molecular_weight: 0.18 0.18
fnum: 1.50e19 1.50e19

# Number median radius [um]
particle_radius_microns: 0.0118 0.0118
particle_radius_microns: 0.35 0.35

rhFlag: 0
particle_density: 1800 1800

# Sigma of lognormal number distribution
sigma: 2.0 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
# Resource file for BR parameters.
#


aerosol_radBands_optics_file: ExtData/MERRA2/x/opticsBands_BRC.v1_5.RRTMG.nc

aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_BRC.v1_5.nc
aerosol_monochromatic_optics_wavelength: 470 550 670 870 ! units: nm
n_channels: 4
r_channels: 4.7e-7 5.5e-7 6.7e-7 8.7e-7

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3
Expand All @@ -17,7 +12,7 @@ aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3
terpene_emission_fraction: 0.1

# Ratio of POM/BRC -> convert source masses from carbon to POM
pom_brc_ratio: 1.4
pom_brc_ratio: 1.8

# Initially hydrophobic portion
hydrophobic_fraction: 0.5
Expand All @@ -26,7 +21,7 @@ hydrophobic_fraction: 0.5
fscav: 0.0 0.4

# particle radius
particle_radius_microns: 0.0212 0.0212
particle_radius_microns: 0.35 0.35

rhFlag: 0

Expand All @@ -42,4 +37,6 @@ fnum: 9.76e17 9.76e17
# Sigma of lognormal number distribution
sigma: 2.20 2.20

pressure_lid_in_hPa: 0.01

nbins: 2
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@ aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_OC.v1_3.nc
# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3

# Fraction of terpene emissions for SOA production
terpene_emission_fraction: 0.1
# Fraction of biogenic VOCs emissions for SOA production
monoterpenes_emission_fraction: 0.05
isoprene_emission_fraction: 0.03

# Ratio of POM/OC -> convert source masses from carbon to POM
pom_oc_ratio: 1.4

# particle radius
particle_radius_microns: 0.35 0.35

particle_density: 1800 1800

rhFlag: 0

# Initially hydrophobic portion
Expand All @@ -41,6 +40,4 @@ sigma: 2.20 2.20

pressure_lid_in_hPa: 0.01

#point_emissions_srcfilen: /gpfsm/dnb32/esherman/gocartRefactor/RC/CA2G_point_src_test.rc

nbins: 2

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
nbins: 2

aerosol_radBands_optics_file: ExtData/MERRA2/x/opticsBands_BC.v1_3.RRTMG.nc

aerosol_monochromatic_optics_file: ExtData/AeroCom/x/optics_BC.v1_3.nc
aerosol_monochromatic_optics_wavelength: 4.7e-7 5.5e-7 6.7e-7 8.7e-7 ! units: nm
n_channels: 4

# Heights [m] of LTO, CDS and CRS aviation emissions layers
aviation_vertical_layers: 0.0 100.0 9.0e3 10.0e3
Expand All @@ -20,7 +17,7 @@ hydrophobic_fraction: 0.8
fscav: 0.0 0.4

# Dry particle density [kg m-3]
particle_density: 1000 1000
particle_density: 1800 1800

# Molecular weight of species [kg mole-1]
molecular_weight: 0.18 0.18
Expand All @@ -29,9 +26,10 @@ molecular_weight: 0.18 0.18
fnum: 1.50e19 1.50e19

# Number median radius [um]
particle_radius_microns: 0.0118 0.0118
particle_radius_microns: 0.35 0.35

rhFlag: 0
particle_density: 1800 1800

# Sigma of lognormal number distribution
sigma: 2.0 2.0
Expand Down
Loading