Skip to content

Commit b8b8bdb

Browse files
cfrankenclaude
andcommitted
Lin-Rood advection, vertical remap, GCHP hybrid PE, visualization + diagnostics
Accumulated changes from vertical remap and Lin-Rood development: - Advection exports for hybrid PE, Lin-Rood, and vertical remap functions - Lin-Rood fv_tp_2d cross-term advection (cubed_sphere_fvtp2d.jl) - Vertical remap with GCHP-style PE computation variants (vertical_remap.jl) - PPM divergence damping for cubed-sphere (cubed_sphere_mass_flux_ppm.jl) - LinRoodWorkspace + VerticalRemapWorkspace allocation (simulation_state.jl) - Run helpers for advection dispatch and physics wiring (run_helpers.jl) - Configuration support for linrood/vertical_remap/mass_fixer options - CATRINE 7-day configs (linrood + vremap_diff variants) - Visualization scripts for GeosChem comparison animations - MCP diagnostic script for panel boundary wave detection - GCHP vs AtmosTransport advection comparison documentation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8a73551 commit b8b8bdb

14 files changed

Lines changed: 1714 additions & 67 deletions

config/runs/catrine_geosit_c180_linrood_7d.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ half_life = 330350.4
6565
type = "composite"
6666

6767
[advection]
68-
scheme = "ppm"
69-
ppm_order = 7
70-
damp_coeff = 0.02
71-
linrood = true
72-
mass_fixer = true
68+
scheme = "ppm"
69+
ppm_order = 7
70+
damp_coeff = 0.02
71+
linrood = true
72+
vertical_remap = true
73+
mass_fixer = true
74+
75+
[metadata]
76+
dry_correction = true
77+
remap_pressure_fix = true
7378

7479
[convection]
7580
type = "ras"
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# ===========================================================================
2+
# CATRINE D7.1 — GEOS-IT C180 (Lin-Rood + vertical remap + diffusion, 7 days)
3+
#
4+
# Lin-Rood cross-term advection with vertical remap (FV3-style) + PBL diffusion.
5+
# No convection. For comparison with GEOS-Chem.
6+
# ===========================================================================
7+
8+
[architecture]
9+
use_gpu = true
10+
float_type = "Float32"
11+
12+
[grid]
13+
type = "cubed_sphere"
14+
met_source = "geosfp"
15+
Nc = 180
16+
17+
[met_data]
18+
driver = "geosfp_cs"
19+
product = "geosit_c180"
20+
netcdf_dir = "~/data/geosit_c180_catrine"
21+
preprocessed_dir = "/temp2/catrine-runs/met/geosit_c180"
22+
surface_data_bin_dir = "/temp1/catrine/met/geosit_c180/surface_bin"
23+
coord_file = "~/code/gitHub/AtmosTransportModel/data/grids/cs_c180_gridspec.nc"
24+
start_date = "2021-12-01"
25+
end_date = "2021-12-08"
26+
dt = 300
27+
met_interval = 3600
28+
mass_flux_dt = 450
29+
Hp = 3
30+
31+
[initial_conditions]
32+
co2.file = "~/data/AtmosTransport/catrine/InitialConditions/startCO2_202112010000.nc"
33+
co2.variable = "CO2"
34+
sf6.file = "~/data/AtmosTransport/catrine/InitialConditions/startSF6_202112010000.nc"
35+
sf6.variable = "SF6"
36+
37+
[tracers.co2]
38+
emission = "lmdz_co2"
39+
file = "~/data/AtmosTransport/catrine/preprocessed_c180/lmdz_co2_cs_c180_float32.bin"
40+
species = "co2"
41+
flux_var = "flux_apos"
42+
start_date = "2021-12-01"
43+
end_date = "2023-12-31"
44+
45+
[tracers.fossil_co2]
46+
emission = "gridfed"
47+
file = "~/data/AtmosTransport/catrine/preprocessed_c180/gridfed_fossil_co2_cs_c180_float32.bin"
48+
species = "fossil_co2"
49+
year = 2021
50+
51+
[tracers.sf6]
52+
emission = "edgar_sf6"
53+
file = "~/data/AtmosTransport/catrine/preprocessed_c180/edgar_sf6_cs_c180_float32.bin"
54+
noaa_growth_file = "~/data/AtmosTransport/catrine/Emissions/sf6_gr_gl.txt"
55+
year = 2022
56+
scale_year = 2022
57+
58+
[tracers.rn222]
59+
emission = "zhang_rn222"
60+
file = "~/data/AtmosTransport/catrine/preprocessed_c180/zhang_rn222_cs_c180_float32.bin"
61+
chemistry = "decay"
62+
half_life = 330350.4
63+
64+
[chemistry]
65+
type = "composite"
66+
67+
[advection]
68+
scheme = "ppm"
69+
ppm_order = 7
70+
damp_coeff = 0.02
71+
linrood = true
72+
vertical_remap = true
73+
mass_fixer = true
74+
75+
# NO convection
76+
77+
[diffusion]
78+
type = "nonlocal_pbl"
79+
beta_h = 15.0
80+
Kz_bg = 0.1
81+
Kz_min = 0.01
82+
Kz_max = 500.0
83+
fak = 8.5
84+
sffrac = 0.1
85+
86+
[metadata]
87+
dry_correction = true
88+
remap_pressure_fix = true
89+
90+
[output]
91+
filename = "/temp2/catrine-runs/output/catrine_vremap_diff_7d"
92+
format = "binary"
93+
split = "daily"
94+
interval = 10800
95+
96+
[output.fields]
97+
sf6_3d = {type = "full_3d", species = "sf6"}
98+
fossil_co2_3d = {type = "full_3d", species = "fossil_co2"}
99+
co2_3d = {type = "full_3d", species = "co2"}
100+
rn222_3d = {type = "full_3d", species = "rn222"}
101+
sf6_column_mass = {type = "column_mass", species = "sf6"}
102+
fco2_column_mass = {type = "column_mass", species = "fossil_co2"}
103+
co2_column_mass = {type = "column_mass", species = "co2"}
104+
rn222_column_mass = {type = "column_mass", species = "rn222"}
105+
sf6_emission = {type = "emission_flux", species = "sf6"}
106+
fco2_emission = {type = "emission_flux", species = "fossil_co2"}
107+
surface_pressure = "surface_pressure"
108+
pbl_height = "pbl_height"
109+
110+
[buffering]
111+
strategy = "double"

0 commit comments

Comments
 (0)