rdb_ocean_canonical_catalog_size Function

public function rdb_ocean_canonical_catalog_size() result(n) bind(c, name="rdb_ocean_canonical_catalog_size")

Number of names in the CANONICAL diagnostic catalog (SSH, temperature, salinity, u, v, KE, … — the set register_default_diags MAY register at setup; some entries are gated by another namelist group, e.g. temperature needs &ocean_thermo_nml enable_thermodynamics). No handle required. Use rdb_ocean_get_diag_count/rdb_ocean_list_diags on a live handle to see what actually registered.

Arguments

None

Return Value integer(kind=c_int)


Calls

proc~~rdb_ocean_canonical_catalog_size~~CallsGraph proc~rdb_ocean_canonical_catalog_size rdb_ocean_canonical_catalog_size proc~canonical_diag_catalog_size canonical_diag_catalog_size proc~rdb_ocean_canonical_catalog_size->proc~canonical_diag_catalog_size

Source Code

   function rdb_ocean_canonical_catalog_size() result(n) &
      bind(c, name="rdb_ocean_canonical_catalog_size")
      !! Number of names in the CANONICAL diagnostic catalog (SSH,
      !! temperature, salinity, u, v, KE, ... — the set
      !! `register_default_diags` MAY register at setup; some entries
      !! are gated by another namelist group, e.g. `temperature` needs
      !! `&ocean_thermo_nml enable_thermodynamics`). No handle required.
      !! Use `rdb_ocean_get_diag_count`/`rdb_ocean_list_diags` on a
      !! live handle to see what actually registered.
      integer(c_int) :: n
      n = int(canonical_diag_catalog_size(), c_int)
   end function rdb_ocean_canonical_catalog_size