Number of names in the DERIVED diagnostic catalog (vorticity_z,
ke_total, mld_density, … — rdb_ocean_diag_derived’s static
table, opt-in via &ocean_diag_nml diags). No handle required:
this is build-time information, reachable before create().
function rdb_ocean_derived_catalog_size() result(n) & bind(c, name="rdb_ocean_derived_catalog_size") !! Number of names in the DERIVED diagnostic catalog (vorticity_z, !! ke_total, mld_density, ... — `rdb_ocean_diag_derived`'s static !! table, opt-in via `&ocean_diag_nml diags`). No handle required: !! this is build-time information, reachable before `create()`. integer(c_int) :: n n = int(derived_catalog_size(), c_int) end function rdb_ocean_derived_catalog_size