Skip to content

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

@GFDL-Eric

Description

@GFDL-Eric

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions