Is your feature request related to a problem? Please describe.
Surfaced when retrying thetao/so on the regridded ocean_1x1deg source (#192 masks this on native ocean, since thetao/so never get this far there).
CMOR requires vertical levels to carry bounds; fremor builds them itself via create_lev_bnds(bound_these=lev, with_these=ds['z_i']) — pairing each z_l layer-center value with its two neighboring z_i interface values, a legitimate, standard approach when both coordinates are present. The problem is narrower than a coding oversight: z_i simply isn't in these files. Checked directly — z_i does exist elsewhere in this archive, but only in two unrelated diagnostics (KHTH_u, KHTH_v, horizontal-diffusivity fields reported on interface levels for their own reasons), never alongside any z_l-bearing tracer field.
Unlike #192's nv bug, there's no missing line to add here — the fix would need either this postprocessing stream to retain z_i alongside z_l for 3-D tracer output, or fremor to fall back to a known, fixed set of standard level-interface values for this vertical grid when the file doesn't carry them.
Current error:
KeyError: 'CMOR requires the input data have vertical level boundaries (bnds)'
at cmor_mixer.py:377, from IndexError: z_i not found in /
Describe the feature you'd like
CMORize these files including the required vertical bounds.
Additional context
Add any other notes, context, information, etc. about the feature here.
Is your feature request related to a problem? Please describe.
Surfaced when retrying
thetao/soon the regriddedocean_1x1degsource (#192 masks this on nativeocean, sincethetao/sonever get this far there).CMOR requires vertical levels to carry bounds; fremor builds them itself via
create_lev_bnds(bound_these=lev, with_these=ds['z_i'])— pairing eachz_llayer-center value with its two neighboringz_iinterface values, a legitimate, standard approach when both coordinates are present. The problem is narrower than a coding oversight:z_isimply isn't in these files. Checked directly —z_idoes exist elsewhere in this archive, but only in two unrelated diagnostics (KHTH_u,KHTH_v, horizontal-diffusivity fields reported on interface levels for their own reasons), never alongside anyz_l-bearing tracer field.Unlike #192's nv bug, there's no missing line to add here — the fix would need either this postprocessing stream to retain
z_ialongsidez_lfor 3-D tracer output, or fremor to fall back to a known, fixed set of standard level-interface values for this vertical grid when the file doesn't carry them.Current error:
Describe the feature you'd like
CMORize these files including the required vertical bounds.
Additional context
Add any other notes, context, information, etc. about the feature here.