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

ice fraction needs to be truncated to values < 1.0 #38

Closed
DeniseWorthen opened this issue Jan 9, 2020 · 1 comment
Closed

ice fraction needs to be truncated to values < 1.0 #38

DeniseWorthen opened this issue Jan 9, 2020 · 1 comment

Comments

@DeniseWorthen
Copy link
Collaborator

When running in coupled mode, the ice fraction imported from the mediator can be greater than 1. This is non-physical and results in a seg fault when the (1-fice) is used to calculate the surface stress3.

In atmos_model, the imported ice fraction needs to be bounded to be strictly between zero and one:

IPD_Data(nb)%Coupling%ficein_cpl(ix) = max(zero,min(datar8(i,j),one))

This is a bugfix and is expected to change answers in the coupled model but have no impact on standalone.

@junwang-noaa
Copy link
Collaborator

Code is committed, close issue.

climbfuji added a commit to climbfuji/fv3atm that referenced this issue Apr 10, 2020
climbfuji pushed a commit to climbfuji/fv3atm that referenced this issue Jun 29, 2020
…_dev_emc_20200625

Update gsd/develop from develop 2020/06/25 and mods to MYNN sfc and PBL for fractional/coupled
LarissaReames-NOAA pushed a commit to LarissaReames-NOAA/fv3atm that referenced this issue Nov 17, 2023
Merge dev/emc branch from upstream (NOAA-GFDL/GFDL_atmos_cubed_sphere)
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

No branches or pull requests

2 participants