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

Modern diag manager breaks ocean component with lack of scalar_axis dimension #37

Open
GFDL-Eric opened this issue Jun 12, 2024 · 0 comments

Comments

@GFDL-Eric
Copy link

The ocean component for CM4 (the default model configuration for gfdlvitals) relies on the util/extract_ocean_scalar.mom6 routine to grab data from the ocean_scalar_annual.nc file.

The line here:

if len(fdata.variables[varname].shape) == 2:

assumes that the output from ocean_scalar_annual.nc will have 2 dimensions (implicitly, time and scalar_axis). Now that scalar_axis is no longer produced for the modern diag manager, the util/extract_ocean_scalar.mom6 routine needs a way to handle the one dimensional output.

@GFDL-Eric GFDL-Eric changed the title Modern diag manager breaks ocean component with lack of scalar_axis Modern diag manager breaks ocean component with lack of scalar_axis dimension Jun 12, 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

No branches or pull requests

1 participant