Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7822b1e
feat(recom): Update REcoM routines for FESOM 2.7
ogurses Dec 9, 2025
fb3f61b
ci(recom): REcoM CI test
ogurses Dec 9, 2025
8257a88
ci(recom): Build REcoM CI test
ogurses Dec 9, 2025
4b6a258
ci(recom): Add REcoM namelist templates for CI recom test
ogurses Dec 9, 2025
6a7cf46
fix(recom): Enable atmospheric pressure forcing for REcoM CO2 flux
ogurses Dec 10, 2025
d88e1e4
ci(recom): Enable atmospheric pressure forcing by patching namelist.f…
ogurses Dec 10, 2025
d424440
add namelist.recom enable_ options
Dec 12, 2025
04be86d
chore (recom): Add missing or corrected namelist parameters
ogurses Dec 18, 2025
ff65025
fix(recom): Eliminate segmentation fault in 2p1z1d case
ogurses Dec 19, 2025
e1ecee8
style(recom): Remove d0 from namelist.recom
ogurses Jan 23, 2026
0a1af2b
style(recom): Organize output

ogurses Jan 23, 2026
b52dbea
feat(recom): add DOCt as a tracer
ogurses Jan 23, 2026
4351cee
fix(recom): Add missing iceberg settings
ogurses Jan 26, 2026
ddfb797
fix(recom): Increase allowed number of restart files
ogurses Feb 2, 2026
83d86d1
feat(recom): Correct DIC budget calculations and add new diags
ogurses Feb 3, 2026
acf2348
feat(recom): Add calculation of nitrogen removal via benthic denitrif…
ogurses Feb 18, 2026
4647f53
chore(recom): Remove 3p3z2d namelist
ogurses Feb 27, 2026
855e84e
feat(recom): add AWICM forcing
ogurses Mar 23, 2026
905ed4a
chore(recom): Add enable_R2OMIP option for river input
ogurses Apr 1, 2026
72103ff
refac(recom): Set recom_sinking_tracer_id dynamically

Update initial…
ogurses Apr 7, 2026
433f036
chore(recom): correct units and comments
ogurses Apr 7, 2026
48a88c4
Add output variable list in a text file
ogurses Apr 7, 2026
ec4e797
feat(recom): Add DIC remineralization as a new tracer
ogurses Apr 9, 2026
2b0b79e
Re-established some albedo IO-optimizations from #400
Apr 21, 2026
776fafc
Merge pull request #885 from FESOM/fesom2.7-recom3.1_dev_albedo
svenharig Apr 22, 2026
ee900ea
Added the flag ENABLE_ALBEDO_INTELMPI_WORKAROUNDS into the environmen…
Apr 23, 2026
733f796
Fix zooplankton comments in namelist.recom
JudithHauck May 5, 2026
6f57f29
Fix zooplankton comments in namelist.recom
JudithHauck May 5, 2026
c31cd5c
Fix zooplankton comments in namelist.recom
JudithHauck May 5, 2026
6cffefa
Merge origin/main into fesom2.7-recom3.1 - resolve conflicts
Copilot May 5, 2026
9363d33
ci(recom): Add REcoM CI workflow
Copilot May 5, 2026
4f84f2b
ci(recom): Add explicit GITHUB_TOKEN permissions to REcoM workflow
Copilot May 5, 2026
c2fa9c4
Merge branch 'main' into fesom2.7-recom3.1
ogurses May 12, 2026
2a3c599
Update gen_ic3d.F90
ogurses May 12, 2026
788d0a3
io: restore 0D scalar-stream infrastructure dropped in merge resolution
May 13, 2026
c2b4213
recom: rename enable_AWICM -> recom_coupled_to_atmosphere, move decl …
May 13, 2026
71ba55a
recom: guard gen_ic3d.F90 'use recom_config' for non-recom builds; dr…
May 13, 2026
8fa0c4b
io: restore rtime_om_* timer counters dropped in merge resolution
May 13, 2026
d3c68c5
io: add no-op print_per_stream_costs stub to satisfy linker
May 13, 2026
b2d1c29
fix(fesom): allocate and set density_sigma0 in oce_setup_step.F90
ogurses Jun 16, 2026
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
29 changes: 15 additions & 14 deletions .github/workflows/fesom2_recom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- reopened
branches:
- main
# Minimal permissions for the GITHUB_TOKEN
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
general_test:
Expand All @@ -26,31 +29,29 @@ jobs:
- name: Git safe directory
run: |
git config --global --add safe.directory ${PWD}

- name: Compile model with REcoM
run: |
./configure.sh ubuntu -DRECOM_COUPLED=ON

- name: Create REcoM test run
run: |
mkrun recom test_pi_recom -m docker

- name: Add REcoM namelists
run: |
# mkrun doesn't create namelist.recom, so copy from config and patch
# Using 2p3z2d (30 tracers) - more complete/tested than 2p1z1d
cp config/bin_2p3z2d/namelist.recom work_recom/
cp config/bin_2p3z2d/namelist.tra work_recom/
# Patch namelist.recom

# Patch file paths in namelists to use local files
cd work_recom

# Remove nam_rsbc section (not used by code, causes parsing errors)
sed -i '/^&nam_rsbc/,/^\//d' namelist.recom

# Set REcoM_restart to false for initialization from climatology
sed -i "s|REcoM_restart.*=.*\.true\.|REcoM_restart =.false.|" namelist.recom

# Patch tracer file list in namelist.tra
sed -i "s|fe_pisces_opa_eq_init_3D_changed_name\.nc|fe5deg.nc|" namelist.tra
sed -i "s|woa18_all_o00_01_mmol_fesom2\.nc|oxy5deg.nc|" namelist.tra
Expand All @@ -59,18 +60,18 @@ jobs:
sed -i "s|GLODAPv2\.2016b\.TCO2_fesom2_mmol_fix_z_Fillvalue\.nc|tco2_5deg.nc|" namelist.tra
sed -i "s|woa13_all_n00_01_fesom2\.nc|din5deg.nc|" namelist.tra
sed -i "s|phc3\.0_winter\.nc|woa18_netcdf_5deg.nc|g" namelist.tra

# Enable atmospheric pressure forcing for REcoM CO2 flux calculation
sed -i "s|l_mslp *= *\.false\.|l_mslp=.true.|" namelist.forcing

echo "--- Verifying patches ---"
echo "REcoM restart: $(grep 'REcoM_restart' namelist.recom)"
echo "Atmospheric pressure: $(grep 'l_mslp' namelist.forcing)"
cd ..

# Copy REcoM input data files
cp test/input/recom/*.nc work_recom/

# Create dust file with expected name in the source directory
# (code reads from ClimateDataPath, not work directory)
cd test/input/recom
Expand All @@ -81,14 +82,14 @@ jobs:
cp test/input/global/*.1948.nc work_recom/
cp test/input/global/runoff.nc work_recom/
cp test/input/global/PHC2_salx.nc work_recom/

- name: FESOM2 REcoM test run
run: |
cd work_recom
echo "--- Running REcoM test (32 timesteps, 1 day) ---"
chmod +x job_docker_new
./job_docker_new

- name: Check REcoM results
run: |-
cd work_recom
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ lib/*.so
Makefile.in
mesh_part/build
test/output_pi
src/cvmix_driver/CVMix-*
finished_config.yaml
.claude/
Loading
Loading