Skip to content

Development interactiv mesh awiesm3#1446

Open
JanStreffing wants to merge 513 commits intodevelopment_interactiv_meshfrom
development_interactiv_mesh_awiesm3
Open

Development interactiv mesh awiesm3#1446
JanStreffing wants to merge 513 commits intodevelopment_interactiv_meshfrom
development_interactiv_mesh_awiesm3

Conversation

@JanStreffing
Copy link
Contributor

Hey @ukrebska-hub, here I have:
a) made the print statements of the test.sh a bit more pretty
b) took out some hard coded things that prevented me from running the test.sh
c) merged the most recent awiesm3 development branch
d) included step 4, the modification of OpenIFS lsm according to PISM modified FESOM mesh via ocp-tools. I decided not to use the spherelab generated masks_cst.nc. It was generated with spherelab and is missing the cavity netcdf description that I added to the pyfesom2 version of that code a while ago, which ocp-tools relies upon. I did however make the pyfesom2 version of the ascii2netcdf algorithm 10x faster. So now it is about 4x faster than spherelab. We should probably switch the singularity container over to using pyfesom2 then: FESOM/pyfesom2#234 Also paging @pgierz

Please merge into your branch when you can run on here. I'll be around Monday morning to help if needed.

mandresm and others added 30 commits September 29, 2025 08:01
…entation

Started to improve the workflow documentation.
nwieters and others added 28 commits February 12, 2026 16:13
…p7output

Feat/awiesm3 v3.4 co2 xioscmip7output
…p7output

Adding additional monthly surface variables to OIFS CMIP7 spinup output.
…p7output

Corrected oifs remapping output resolution.
…statements

- Replace UKK0, UKK1, UKK13, UKK111, UKK999 debug markers with structured [TAG] messages
- Add [PISM2ESM], [BUILD_SUBMESH], [MESH_FLAGS], [ICEBERG_FORCING] prefixed output
- Improve mesh_flags.py print statements with progress indicators and data summaries
- Add test.sh improvements: clean option, portable paths, auto-copy grid files
- Add fallback for ice.griddes in COUPLE_DIR for test environments
- All improvements maintain backward compatibility
- Document new components: shell scripts, Python, and Fortran
- Include ASCII call tree showing execution flow
- Describe data flow from PISM through processing to FESOM
- List PISM mask values and their treatment
- Document workflow execution steps
- List HPC environment details
Implements ice-to-atmosphere coupling using ocp-tool for dynamic orography updates:

- New coupling function: coupling_ice2oifs.functions
  * Calls ocp-tool to regrid ice mask/thickness to OIFS spectral grid
  * Generates ICMGGINIUA file with orography anomalies
  * Supports both elev_lo (ECHAM) and PISM-based reference orography

- Environment setup: env_pism.py
  * Added OCP-tool environment variables (pool_dir, resolution, expid, etc.)
  * Automatically populated from ESM-Tools config

- Coupling updates: coupling_ice2fesomUKK.functions
  * Enhanced submesh generation for ocp-tool compatibility
  * Creates mesh.nc with proper node/element metadata

- Orography handling: coupling_pism2atmosphere.functions
  * Added orog_reference_pism flag (0=PISM-based, 1=elev_lo-based)
  * Supports different reference surfaces for anomaly calculation

- Test script: test.sh
  * Integrated ice2oifs coupling test
  * Hardcoded OCP-tool variables for standalone testing

- Setup config: awiesm3.yaml
  * Configuration updates for AWIESM3 setup

Tested with TCO95 OIFS resolution and CORE2 FESOM mesh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants