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

Bug fixes for interpolate_output routines #658

Merged
merged 3 commits into from
Oct 27, 2022

Conversation

nusbaume
Copy link
Collaborator

@nusbaume nusbaume commented Sep 23, 2022

This Pull Request contains a few bug fixes for the interpolate_output option for the SE dycore. Specifically, it allows for single-precision (e.g. ndens = 2) interpolated output, and allows for variables with missing values (e.g. AODVIS) to be output correctly in the standard monthly average (h0) files, at least for certain SE-CSLAM grids.

Please note however that variables with missing values may still have "bad" values at the missing value margins when either using very high resolution grids or outputting at high frequencies (e.g. every hour or every time step). To fix this issue completely will potentially require a much larger set of code modifications, which might be beneficial to do in conjunction with future developments (e.g. the creation of a dycore-agnostic interpolation routine), hence why I am creating this smaller PR now.

Fixes #644
Partially addresses #564

Was reviewed in #659

@nusbaume nusbaume added BFB bit for bit tag bug-fix This PR was created to fix a specific bug. labels Sep 23, 2022
@nusbaume nusbaume self-assigned this Sep 23, 2022
@peverwhee peverwhee mentioned this pull request Oct 25, 2022
@peverwhee peverwhee merged commit d5114ef into ESCOMP:cam_development Oct 27, 2022
@peverwhee
Copy link
Collaborator

closing this PR - was included in cam6_3_081 ( #680 )

@nusbaume nusbaume deleted the interpolate_output_fix branch May 23, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB bit for bit tag bug-fix This PR was created to fix a specific bug.
Projects
Status: Tag
Development

Successfully merging this pull request may close these issues.

2 participants