Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a circular ice sheet test for the coupled MALI-Sea level model #748

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

hollyhan
Copy link
Contributor

@hollyhan hollyhan commented Dec 21, 2023

Checklist

  • User's Guide has been updated
  • Developer's Guide has been updated
  • API documentation in the Developer's Guide (api.rst) has any new or modified class, method and/or functions listed
  • Documentation has been built locally and changes look as expected
  • The E3SM-Project submodule has been updated with relevant E3SM changes
  • The MALI-Dev submodule has been updated with relevant MALI changes
  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes
  • New tests have been added to a test suite

@hollyhan hollyhan added land ice in progress This PR is not ready for review or merging labels Dec 21, 2023
Copy link
Member

@matthewhoffman matthewhoffman left a comment

Choose a reason for hiding this comment

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

@hollyhan and @xylar , I did a quick pass through this PR and don't see any concerns with the overall structure. @hollyhan , this is great work, and I am very happy we have this idealized setup fully automated within compass! Once this is complete, I will think about how to add a version of this to our full_integration suite to be sure we are testing SLM with every PR.

I added a number of comments as I went - I'm sure you are aware of many of these clean up items, but I figured I might as well flag them as I went. There are a few slightly more significant items I mention - feel free if you want to discuss any of them. And like we talked about, for anything that seems beyond what you actually care about, let me know and I am happy to contribute. Xylar and I can do a more thorough review once the docs are ready and any other details are finalized.

compass/landice/tests/slm/circ_icesheet/__init__.py Outdated Show resolved Hide resolved
compass/landice/tests/slm/circ_icesheet/__init__.py Outdated Show resolved Hide resolved
compass/landice/tests/slm/circ_icesheet/__init__.py Outdated Show resolved Hide resolved
compass/landice/tests/slm/circ_icesheet/circ_icesheet.cfg Outdated Show resolved Hide resolved

# other constants used in the fuction
# pi = 3.1415926535898 # pi value used in the SLM
rhoi = 910.0 # ice density
Copy link
Member

Choose a reason for hiding this comment

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

May want to get this from namelist or cfg to be safe. Could be added later

smbfile.close()


def _build_mapping_files(config, logger, res, nglv, mali_mesh_file):
Copy link
Member

Choose a reason for hiding this comment

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

Is this identical (or very similar) to the version in the ISMIP6-2300 SLM test case PR (#749)? If so, we should move this to a compass landice framework module and call it from both places. That does not need to need to be in the scope of your revisions - I can do that in a follow up PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good - I'll leave this comment unresolved so you can follow up with it.

# adjust the lat-lon values
args = ['set_lat_lon_fields_in_planar_grid.py',
'--file', mali_mesh_file,
'--proj', 'ais-bedmap2-sphere']
Copy link
Member

Choose a reason for hiding this comment

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

Flagging again that we need to add this in an MPAS-Tools PR. (Already mentioned in #749)

@xylar
Copy link
Collaborator

xylar commented Jul 7, 2024

@hollyhan and @matthewhoffman, I just wanted to check in on this one. What's the status?

matthewhoffman and others added 23 commits August 31, 2024 11:48
This is largely copied from the dome smoke test and has stretches of
code from the test left in place as an example.
MPE: mean percentage error
SLC: sea-level change

Also enable the SLM output class to take in an assigned number of time
indices of outputs to be analyzied
@hollyhan hollyhan force-pushed the hollyhan/compass/landice/slm_circ_icesheet branch from 77d6c8a to 27ad364 Compare August 31, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress This PR is not ready for review or merging land ice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants