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

Change start index from 1 to 2 on activeTracerVerticalAdvectionTopFlux #165

Merged

Conversation

mark-petersen
Copy link
Contributor

Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean surface, so is always zero. It was using some uninitialized values when using k=1, so start loop at k=2.

@mark-petersen
Copy link
Contributor Author

E3SM with this change passes

SMS_D.T62_oQU120_ais20.MPAS_LISIO_TEST.cori-knl_gnu

It was failing that before, in the monthly time average calculation.

@mark-petersen
Copy link
Contributor Author

@vanroekel could you give this a quick visual sanity check?

Copy link
Contributor

@vanroekel vanroekel left a comment

Choose a reason for hiding this comment

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

yes, looks good by visual inspection.

@mark-petersen mark-petersen merged commit 0077ec2 into MPAS-Dev:ocean/develop Feb 26, 2019
mark-petersen added a commit that referenced this pull request Feb 26, 2019
Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when
using k=1, so start loop at k=2.
@mark-petersen mark-petersen deleted the ocean/index1_flux_analysis branch February 26, 2019 21:47
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Feb 27, 2019
)

Update mpas-source submodule to pick up indexing fix

This PR brings in a new mpas-source submodule that fixes an indexing issue on an
array that was causing debug tests to fail in the online time-averaging mpas
analysis. Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when using
k=1, so start loop at k=2.
See [MPAS-Model PR #165](MPAS-Dev/MPAS-Model#165)

Fixes #2768

[BFB]
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Feb 27, 2019
Update mpas-source submodule to pick up indexing fix

This PR brings in a new mpas-source submodule that fixes an indexing issue on an
array that was causing debug tests to fail in the online time-averaging mpas
analysis. Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when using
k=1, so start loop at k=2.
See [MPAS-Model PR #165](MPAS-Dev/MPAS-Model#165)

Fixes #2768

[BFB]
jonbob added a commit to E3SM-Project/E3SM that referenced this pull request Feb 28, 2019
Update mpas-source submodule to pick up indexing fix

This PR brings in a new mpas-source submodule that fixes an indexing issue on an
array that was causing debug tests to fail in the online time-averaging mpas
analysis. Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when using
k=1, so start loop at k=2.
See [MPAS-Model PR #165](MPAS-Dev/MPAS-Model#165)

Fixes #2768

[BFB]
mark-petersen added a commit that referenced this pull request Jul 12, 2019
Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when
using k=1, so start loop at k=2.

PR #165 was originally into ocean/develop, I'm just repeating into
e3sm/maint-1.0
ashwathsv pushed a commit to ashwathsv/MPAS-Model that referenced this pull request Jul 21, 2020
Vertical index k=1 on activeTracerVerticalAdvectionTopFlux is the ocean
surface, so is always zero. It was using some uninitialized values when
using k=1, so start loop at k=2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants