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

Fixes to formatting and config options for climatologyMapBSF #918

Merged
merged 5 commits into from
Oct 6, 2022

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Oct 5, 2022

#898 introduced some minor bugs and formatting issues that this merge aims to clean up.

This merge also fixes a slightly complicated issues with xarray. Previously, we needed to drop an index variable that was introduced by stacking. That index variable seems to have been introduced inadvertently and is no longer present in the latest xarray. However, dropping this now nonexistent variable causes problems. This merge introduces checks so that we only drop that variable if it is present.

@xylar xylar added the bug label Oct 5, 2022
@xylar xylar requested a review from milenaveneziani October 5, 2022 22:50
@xylar xylar self-assigned this Oct 5, 2022
@xylar
Copy link
Collaborator Author

xylar commented Oct 6, 2022

I'm seeing errors in 89 tasks and subtasks when I test this, the same as I was seeing in #915. Something with xarray? I'll continue to debug it tonight...

There seems to have been a bug fix in xarray and the spurious
nCells index variable no longer gets created.  We need to drop
it only if it is present (in older xarray).
@xylar
Copy link
Collaborator Author

xylar commented Oct 6, 2022

Testing

The Anvil test suite ran successfully. Results are here:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.xylar/analysis_testing/anvil/fix_bsf_bugs/

@xylar xylar merged commit 60fb813 into MPAS-Dev:develop Oct 6, 2022
@xylar xylar deleted the fix_bsf_bugs branch October 6, 2022 05:17
@xylar xylar removed the request for review from milenaveneziani October 6, 2022 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant