Skip to content

Add geoidchange as a field passed back to MALI - #12

Merged
hollyhan merged 2 commits into
mainfrom
matthewhoffman/pass-geoid-to-mali
Jun 15, 2026
Merged

Add geoidchange as a field passed back to MALI#12
hollyhan merged 2 commits into
mainfrom
matthewhoffman/pass-geoid-to-mali

Conversation

@matthewhoffman

Copy link
Copy Markdown

This commit modifies the main sl_solver routine to optionally pass back a geoidchange field. This allows it to be passed to MALI when run in coupled mode.

This commit modifies the main sl_solver routine to optionally pass back
a geoidchange field.  This allows it to be passed to MALI when run in
coupled mode.
@matthewhoffman

Copy link
Copy Markdown
Author

This PR was created to support this update in MALI: MALI-Dev/E3SM#180

@hollyhan hollyhan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@matthewhoffman , thanks for making these changes!
I made a couple of comments before approving.

Comment thread sl_model_mod.f90 Outdated
! this is the information passed to the ice sheet model
!call write_sl(topoxy_m1(:,:)-topoxy(:,:), 'bedrock', folder_coupled)
slchange = topoxy_m1(:,:)-topoxy(:,:)
geoidchange = deltaslxy(:,:)+rr(:,:,nfiles)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A couple of comments:

  1. In the current form of the code, the decomposition of deltaslxy (total sea-level change) into rr (solid Earth elevation change) and gg (geoid change) only happens when calcRG is turned on. So including geoidchange = deltaslxy(:,:)+rr(:,:,nfiles) under if (coupling) statement will fail unless calcRG is turned on at the same time. If we are making the passing of geoidchange we should make sure to freeze the calcRG option tbe always true on namelist.sealevel

  2. it can just be geoidchange = gg(:,:,nfiles)

@hollyhan
hollyhan merged commit 5f21b54 into main Jun 15, 2026
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.

2 participants