Skip to content

Update streams and namelist options for ismip7_run - #993

Merged
matthewhoffman merged 15 commits into
MPAS-Dev:mainfrom
trhille:landice/update_ismip7_streams
Sep 26, 2026
Merged

matthewhoffman merged 15 commits into
MPAS-Dev:mainfrom
trhille:landice/update_ismip7_streams

Conversation

@trhille

@trhille trhille commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Update streams and namelist options in ismip7_run to reflect production configuration.

Checklist

  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@trhille trhille changed the title Landice/update ismip7 streams Update streams and namelist options for ismip7_run Sep 21, 2026
@trhille trhille added this to the ISMIP7 milestone Sep 22, 2026
@matthewhoffman
matthewhoffman requested a lite review from Copilot September 25, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Two critical configuration issues remain unresolved, involving calving-mask and strain-rate scaling inputs.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 2 High severity · 2 Low severity

Open (4)
What changed in this PR

Updates ISMIP7 AIS and GrIS production streams, namelist settings, optional calving inputs, and AIS OCX forcing metadata.

Changes:

  • Adds melt, damage-threshold, and strain-rate scaling streams.
  • Updates AIS/GrIS setup, configuration, and production namelists.
  • Changes AIS OCX ocean forcing to version v2.
File Summary
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​streams.landice.template Adds GrIS melt parameter streams.
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​streams.calving_strain_rate_scaling Defines the strain-rate scaling input stream.
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​set_up_experiment.py Handles scaling input setup.
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​namelist.landice Updates GrIS production options. Critical: the data source may be selected without an available scaling stream.
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​ismip7_gris.cfg Adds scaling-file configuration. Nit (1 vote): document the new option.
compass/​landice/​tests/​ismip7_run/​ismip7_gris/​ismip7_gris_test.cfg Adds test scaling-file configuration.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​streams.landice.template Adds AIS melt streams.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​streams.damage_calving_threshold Defines the damage-threshold input stream.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​set_up_experiment.py Handles damage-threshold input setup.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​namelist.landice Updates AIS production options. Critical (3 votes): config_apply_calving_mask can request a missing mask input.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​ismip7_ais.cfg Adds threshold-field configuration. Nit (2 votes): document the new options and required inputs.
compass/​landice/​tests/​ismip7_run/​ismip7_ais/​ismip7_ais_test.cfg Adds test threshold-field configuration.
compass/​landice/​ismip7/​ice_sheet_params.py Changes AIS OCX ocean data to version v2. Nit (2 votes): update the User’s Guide documentation.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread compass/landice/tests/ismip7_run/ismip7_ais/namelist.landice
Comment thread compass/landice/tests/ismip7_run/ismip7_gris/namelist.landice Outdated
Comment thread compass/landice/ismip7/ice_sheet_params.py Outdated
Comment thread compass/landice/tests/ismip7_run/ismip7_ais/ismip7_ais.cfg Outdated
trhille and others added 5 commits September 25, 2026 11:29
…arams

For AIS:
- Add damageCalvingThreshold input stream with conditional configuration
- Add ISMIP7 melt parameter stream (ismip7shelfMelt_K, ismip7shelfMelt_basin)
- Rename existing melt stream from ismip7_params to ismip6_melt_params for clarity

For GrIS:
- Add calvingStrainRateScaling input stream with conditional configuration
- Add ISMIP6 melt parameter stream (ismip6shelfMelt_deltaT, _basin, _gamma0)

All new streams are conditionally added via config flags and follow existing
patterns for symlink creation and stream template replacement.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add configuration options with defaults for:
- AIS: use_damage_calving and damage_calving_threshold_path
- GrIS: use_calving_strain_rate_scaling and calving_strain_rate_scaling_path

All options default to false/NotAvailable to maintain backward compatibility.
Updated both production and test config files.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove use_damage_calving and use_calving_strain_rate_scaling config
options. Streams are now added automatically when valid file paths are
provided (not 'NotAvailable' and file exists). Actual activation of
these features is controlled through MALI namelist options, simplifying
the compass configuration.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
AIS changes:
- Use FCT advection with 3rd order and coefficient 1.0
- Set calving to crevasse_depth with mask and damage settings
- Enable Runge-Kutta time integration (order 3)
- Change sub-shelf melt from ISMIP6 to ISMIP7

GrIS changes:
- 3rd-order FCT with RK2 time stepping
- Add config_calving_strainrate_scaling_source = 'data'
- Change sub-shelf melt from 'none' to ISMIP6

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@trhille
trhille force-pushed the landice/update_ismip7_streams branch from a68c31b to ab9f0d8 Compare September 25, 2026 18:38
@trhille
trhille force-pushed the landice/update_ismip7_streams branch from 4f0d13b to 2d807f2 Compare September 25, 2026 18:45
matthewhoffman and others added 9 commits September 25, 2026 13:25
- Fix E501 line length violations by splitting long lines
- Remove unused variable use_damage_calving (F841)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Smaller file size while retaining fields needed for paraview/mosaic viz
* Remove cellProcID field from both ice sheet output streams.  It has no
  time-dependence so it's not a big field, but it seemed like an easy
  target for pruning
* Add geoidChange field to AIS output stream.  This is only needed if
  GIA is active, which is not currently the case, but but I'm adding it
  anyway so we don't forget to do so later.
Switch back to scalar calving parameters for
AIS config_damage_calving_threshold_source
and GIS config_calving_strainrate_scaling_source.

Also disable restore-calving for AIS now that calving is active.
Rather than support cfg variants for these options, let's hardcode the
choice of calving law and its options in the namelist and streams.
The settings hardcoded in nl and streams are what are used
Update albany_input.yaml files to use nonlinear budd friction,
MOLHO solver, and grounding-line parameterization.
@matthewhoffman
matthewhoffman self-requested a review September 26, 2026 21:01
@matthewhoffman
matthewhoffman merged commit d055365 into MPAS-Dev:main Sep 26, 2026
5 checks passed
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.

3 participants