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

Disable land ice frazil salinity #91

Conversation

cbegeman
Copy link
Collaborator

@cbegeman cbegeman commented Apr 12, 2024

The option to have non-zero land ice frazil salinity was not fully supported. Here, we remove that option. This is BFB when land ice frazil salinity is zero, which has been the case in every configuration I am aware of.

This PR is to be merged after E3SM-Project#6229.

@cbegeman
Copy link
Collaborator Author

This PR has been tested on chrys, intel-impi with the IcosWISC compass standalone test.

@xylar
Copy link
Collaborator

xylar commented Apr 12, 2024

@cbegeman, there are some more places that the namelist option needs to be removed:

add_default($nl, 'config_frazil_land_ice_reference_salinity');

<config_frazil_land_ice_reference_salinity>0.0</config_frazil_land_ice_reference_salinity>

<entry id="config_frazil_land_ice_reference_salinity" type="real"
category="frazil_ice" group="frazil_ice">
assumed salinity of frazil ice under land ice.
Valid values: Any non-negative real number.
Default: Defined in namelist_defaults.xml
</entry>

add_default($nl, 'config_frazil_land_ice_reference_salinity');

And the following needs to match Registry:
<entry id="config_frazil_sea_ice_reference_salinity" type="real"
category="frazil_ice" group="frazil_ice">
assumed salinity of frazil ice in the open ocean.
Valid values: Any positive real number.
Default: Defined in namelist_defaults.xml
</entry>

Once those are updated, I think this looks great and will be ready to go to E3SM!

@cbegeman
Copy link
Collaborator Author

@xylar Thanks for all the links! That made the fixup really easy! Changes here: 4f3eead

@cbegeman cbegeman force-pushed the ocn/fixup-land-ice-frazil-salinity branch from 4f3eead to 4811c15 Compare May 2, 2024 20:24
@darincomeau
Copy link
Collaborator

well that just made this a whole lot harder to review, I shouldn't have waited so long :D!

But I think with that last commit I agree this looks good. I can do a proper review on the real PR.

@xylar xylar changed the base branch from master to alternate May 3, 2024 21:58
@xylar xylar changed the base branch from alternate to master May 3, 2024 21:58
@xylar
Copy link
Collaborator

xylar commented May 3, 2024

@darincomeau, it should be back to sanity...

@xylar
Copy link
Collaborator

xylar commented May 3, 2024

@cbegeman, it sounds like this can move to E3SM, then.

@cbegeman
Copy link
Collaborator Author

cbegeman commented May 4, 2024

Migrated to E3SM-Project#6397

@cbegeman cbegeman closed this May 4, 2024
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